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

Face Detection: replace OpenCV by dlib #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

docteurZ
Copy link

@docteurZ docteurZ commented Aug 5, 2017

Hello,

Given the high rate of false alarms, this PR proposes to replace OpenCV by dlib when detecting faces. Speed is also preserved. Further details/comments can be found in a dlib post.

Thanks for your work,

Hugo

@oarriaga
Copy link
Owner

oarriaga commented Aug 8, 2017

Sorry Hugo I have been busy (thesis). I will try to review the PR as soon as possible since I have no previous experience with dlib.

Thank you for your PR.

@mayank26saxena
Copy link

Replacing OpenCV with dlib will definitely improve the accuracy of the face detection model. It will also reduce the false positives which are being detected as faces right now. Looking forward to this PR being merged.

@bozzmob
Copy link

bozzmob commented Oct 31, 2017

Dlib should add huge value add. Both in terms of accuracy and speed.

@mirceaciu
Copy link

The gender_emotion demo runs a bit slower for me with dlib. OpenCv is good enough and runs fast.

Dlib is more accurate but a few filters can be added to opencv (minimum bounding box dimensions and tracking) to increase accuracy of face detection.

@stucksubstitute
Copy link

On my machine with a fairly fast CPU (and a GTX 1080 Ti GPU) the original OpenCV-based version uses ~45 % of all CPUs. The new proposed Version with Dlib uses a lot less resources - just one CPU. Works well 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

Successfully merging this pull request may close these issues.

6 participants