- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone.
Could anybody provide example of approach for getting value of distance between camera and users face? I found post which has similar question but answer from there didn't help me.
I hope that somebody already managed it and could give helpful advice for best approach.
Will be really grateful.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may just use the depth value provided for each pixel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yuri,
If you detect the face using the IR stream, you can just read the depth stream directly at the face location, as they are the same camera.
If you use the color camera to detect the face, you have to project the depth camera into the color camera (the SDK allows you to do that easily) to get the depth values at the face location.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page