download a C++ compiler and install it
download visual studio(community edition) https://visualstudio.microsoft.com/downloads/ and install it
we will run it and select the ‘Desktop development with C++’
after completion restart the computer
download the pycharm (community edition) https://www.jetbrains.com/pycharm/download/#section=windows and install it
path file>settings>project>python interpretor>+ search the packages
cmake
dlib (recommended pip install dlib in the command prompt)
face_recognition (recommended pip install face-recognition in the command prompt )
numpy
opencv-python
First we will import the relevant libraries
import face_recognition
import os
import cv2
import numpy as np
====>Loading Images and Converting
====>Find Faces Locations and Encodings
====>Compare Faces & Find Distance
import cv2
import os
import numpy as np
import face_recognition
from datetime import datetime
===>Importing Images
===>Encode
===>while loop
===>Webcam Encodings
===>Find Matches
===>Attendance