-
install python from there website [www.python.org] based of your operating system
-
cmake - to render the things >>> pip install cmake (if u have specific problems with it go to official website [www.cmake.org]and install according to your operating system)
-
dlib - a dependency to install face_recongition >>> pip install dlib (can be installed with conda package with ease)
-
face_recognition >>> pip install face_recognition (prone to error on first installation again use conda for ease )
-
numpy >>> pip install numpy
-
opencv >>> pip install opencv-python [www.opencv.org]
here u installed the necessary dependencies
now sit back and stare at the code for 2 min
it just defines how u input the video stream from webcam , if it is not recording it will pass the message ,
it process and takes look at the data and pre defined data
this part process the video incoding , i took default value as 30 fps for usage in mst devices
it does preety much everything , like the central unit of code it does match if the video encoding ackshully match the picture that was pre- defines in folder
create a Images folder wih capital I and enter the pictures in it