Steps to set up the project :
step 1 :
INSTALLING REQUIRED PACKAGES:
Open command prompt and install all three Packages :
- pip install opencv-python
- pip install numpy
- pip install face_recognition
Steps to install face-recognition pakages:
Prerequisites: Face Recognition module can only be installed for Python version 3.7 and 3.8.
Step 1: Install git for Windows https://git-scm.com/download/win
Step 2: Clone this repository and go inside the folder using the following commands git clone https://github.com/RvTechiNNovate/face_recog_dlib_file.gitcdface_recog_dlib_file
Step 3: Enter the following command to install dlib and cmake using pip Python 3.7: pip install dlib-19.19.0-cp37-cp37m-win_amd64.whl
Python 3.8:
pip install dlib-19.19.0-cp38-cp38-win_amd64.whl
pip install cmake
step 4 : Using pip to install Face Recognition Package Follow the below steps to install the Face Recognition package on Windows using pip:
Step 1: Install the latest Python3 in Windows
Step 2: Check if pip and python are correctly installed.
python --version
pip --version
Step 3: Upgrade your pip to avoid errors during installation.
pip install --upgrade pip
Step 4: Enter the following command to install Face Recognition using pip
pip install face-recognition
Step 2 : Download the face_recognition.zip file
Step 3: extract zib in your pc
Step 4 : Upload Photos of students( name of photo should be name of the person or student ) for the database in photos folder.
step 5 : Run the mp.py file.