iot-lab-kiit / face_recognition_attendance

Automating attendance process by face recognition feature
0 stars 3 forks source link

Update requirements.txt #4

Open SaumyaRanjan-Dev opened 3 weeks ago

SaumyaRanjan-Dev commented 3 weeks ago

updated requirements.txt and regarding code main.py The error which you're facing while installing the face_recognition library due to the dlib installation issue is a common one. dlib can be tricky to install because it requires some dependencies, especially on Windows Sys. steps which can be done to fix or resolve the issue is

1) by installing/updating the latest vs build tools for windows

2) install cmake, because the dlib requires cmake to build, then check whether it has added to your system path or not (You can check this by typing cmake in the command prompt), if not then add it .

3) install precompiled dlib (Recmmd) you can install a precompiled version of dlib. This method is usually much faster and easier, especially for Windows users. (pip install dlib==19.8.1 or 19.24.6) then after ensuring dlib is installed properly, you should be able to install the face_recognition library: by pip install face_recognition

and regarding your compress image file you can use pil(Python Imaging Libary) to resize and compress the images.

SaumyaRanjan-Dev commented 3 weeks ago

updated