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

Import errors #17

Open
iamsome1 opened this issue Jul 26, 2019 · 1 comment
Open

Import errors #17

iamsome1 opened this issue Jul 26, 2019 · 1 comment

Comments

@iamsome1
Copy link

I cloned your code and installed all packages from your requirements.txt.
Tried "testing_webcam_livenessdetection" from your sample and getting following error:

F:\libfaceid-master\libfaceid-master>python testing_webcam_livenessdetection.py --detector 0 --encoder 0 --liveness 0 --webcam 0 --resolution 0
Traceback (most recent call last):
  File "testing_webcam_livenessdetection.py", line 6, in <module>
    from libfaceid.encoder     import FaceEncoderModels, FaceEncoder
  File "F:\libfaceid-master\libfaceid-master\libfaceid\encoder.py", line 6, in <module>
    from imutils import paths      # for FaceEncoderModels.LBPH
ImportError: No module named 'imutils'

'imutils' is installed but still this error is there when I run your sample code.

@colab1590
Copy link

pip install imutils its worked for me.

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

No branches or pull requests

2 participants