Best facial recognition camera and software

I am thinking of using a camera to determine who has entered a room so that it fires a notification who it is that entered. What is the best software for this that is local,no cloud, and without a subscription fee? Are there specific cameras that are better for this?