-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
error: image not found #140
Comments
This means dlib was compiled with support for Intel MKL (Intel Math Kernel Library) but dlib can't find the MKL library at runtime. You either need to recompile dlib with MKL support disabled or you need to make sure dlib can find the libmkl_rt.dylib file on your system. |
Thank you for face_recognition project. Regards |
@satya415 Please file a new issue if you have a problem instead of posting on an unrelated issue. But the problem is that the faces in your image are small. The answer is use the face_recognition.face_locations(img, number_of_times_to_upsample=2) Here are the results I get with your image: >>> len(face_recognition.face_locations(img, number_of_times_to_upsample=1))
11
>>> len(face_recognition.face_locations(img, number_of_times_to_upsample=2))
30
>>> len(face_recognition.face_locations(img, number_of_times_to_upsample=3))
31 |
Thank you very much
…On 8 August 2017 at 22:20, Adam Geitgey ***@***.***> wrote:
@satya415 <https://github.com/satya415> Please file a new issue if you
have a problem instead of posting on an unrelated issue.
But the problem is that the faces in your image are small. The answer is
use the number_of_times_to_upsample parameter. That tells it to look for
smaller faces in a small image by scaling the image larger. For example:
face_recognition.face_locations(img, number_of_times_to_upsample=2)
Here are the results I get with your image:
>>> len(face_recognition.face_locations(img, number_of_times_to_upsample=1))11
>>> len(face_recognition.face_locations(img, number_of_times_to_upsample=2))30
>>> len(face_recognition.face_locations(img, number_of_times_to_upsample=3))31
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#140 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARCxydP3gEXqy2IuEPn2D917-BZzHZNRks5sWJHFgaJpZM4OtczQ>
.
|
Hi @ageitgey, thank you very much for the face_recognition project. I've played it for a while, and when I try to use the module, it keeps raising error like The following is my working environment: face_recognition version:1.0.0 I believe the error is related to its dependency dlib module. While I could use dlib, I can't find a way to gid rid of the face_recognition error, which is wired. You mentioned that I tried to set lib path using DYLD_xxx, but it seems not work at all ... Thank you in advance :) |
@ageitgey Agreed - looks great. How does one compile dlib without MKL support? |
Actually - fixed: For Anaconda 2, ContinuumIO/anaconda-issues#6423 or export LD_LIBRARY_PATH="/anaconda2/lib:$LD_LIBRARY_PATH" |
How to recompile dlib with MKL? |
First thank you for this great project.
I really like to play around with you Code but I have issues setting it up. If I try to run a example I get this error:
Would it be possible to explain how I can solve this issue?
All the best
Daniel
The text was updated successfully, but these errors were encountered: