Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update requirements.txt #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SaumyaRanjan-Dev
Copy link
Contributor

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
Copy link
Contributor Author

updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant