In order to install required modules:
- Install Python 3.8
- Create a new folder in which you will save your project
- Open your Windows PowerShell
- Type "pip3 install virtualenv"
- Type "virtualenv 'myenvname'" # Creates a virtual enviroment
- Type "cd .\myenvname\Scripts.activate" # Activates virtual enviroment
- Go back to your project folder
- Type "pip3 install cmake"
- Type "pip3 install dlib"
- Type "pip3 install face_recognition"
The following code is not fully functional. If you want to detect a specific face, you need to save a picture with the given face (.jpg or .png) in a folder and then add its absolute path.
PS. If you want to run the code don't forget to activate the virtual enviroment.