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

detect face no live video #11

Open
aleksbgs opened this issue Oct 1, 2016 · 2 comments
Open

detect face no live video #11

aleksbgs opened this issue Oct 1, 2016 · 2 comments

Comments

@aleksbgs
Copy link

aleksbgs commented Oct 1, 2016

Hi this is great job !!! it's possible to detect face in video in view ? not live cam video something like this https://www.assetstore.unity3d.com/en/#!/content/66602

@andreapiso
Copy link

Please note that this app does not detect faces. It "just" does landmarking. The face detection is done by the standard Apple library. To answer your question, of course you can do it with a static image, just change the doWork function to something that suits you and call it from a controller that makes sense.

@zweigraf
Copy link
Owner

You can use Dlib to detect faces in a static frame as well.

This is albeit very slow.

Check line 38 and 86 here:

detector = dlib::get_frontal_face_detector();

This is an old version of the app which uses Dlib face detection. It is far slower than using the apple provided one on a camera feed.

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

3 participants