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

Added wrappers/dlib/face example #4966

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

maloel
Copy link
Collaborator

@maloel maloel commented Oct 2, 2019

  • BUILD_DLIB_EXAMPLES boolean in CMake to enable
  • Requires installing dlib separately and pointing to it with DLIB_DIR
  • wrappers/dlib/face example is listed in examples/readme.md
  • Fixed typo in rs-measure readme

Tracked on: DSO-13630


This example demonstrates a very simple facial landmark detection using Dlib's machine learning algorithms, using depth data to implement basic anti-spoofing.

rs-face-dlib

Faces detected by the camera will show landmarks in either green or red:

Green landmarks indicate a "real" face with depth data corroborating expectations. E.g., the distance to the eyes should be greater than to the tip of the nose, etc.

Red landmarks indicate a "fake" face. E.g., a picture of a face, where the distance to each facial feature does not meet expectations

* BUILD_DLIB_EXAMPLES boolean in CMake to enable
* Requires installing dlib separately and pointing to it with DLIB_DIR
* wrappers/dlib/face example is listed in examples/readme.md
* Fixed typo in rs-measure readme
@dorodnic dorodnic merged commit 7abc35e into IntelRealSense:development Oct 23, 2019
@maloel maloel added the dlib label Dec 10, 2019
@maloel maloel deleted the dlib-examples branch March 25, 2021 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants