Skip to content

Added wrappers/dlib/face example - #4966

Merged
dorodnic merged 1 commit into
realsenseai:developmentfrom
maloel:dlib-examples
Oct 23, 2019
Merged

Added wrappers/dlib/face example#4966
dorodnic merged 1 commit into
realsenseai:developmentfrom
maloel:dlib-examples

Conversation

@maloel

@maloel maloel commented Oct 2, 2019

Copy link
Copy Markdown
Contributor
  • 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 realsenseai: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