- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I'm developing an app which change picture by Right-Eye-Center's World Coordinate(x, y, z).
It's not eye-gaze(x, y).
Now, i get Right-Eye-Center's World Coordinate by Color Stream.
But, i think that Color Stream runs slowly.
So, i will try to get it by Depth Stream or IR Stream.
Can i get Right-Eye-Center's World Coordinate(x, y, z) by Depth Stream or IR Stream(SR300)?
Getting World Coordinate(z) is special important.
Thank you.
Best regards.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wonder if using the QueryPoint instruction will get you what you need.
https://software.intel.com/en-us/forums/realsense/topic/610755 Is it possible to get only eye landmark points?
QueryPoint has a sub-instruction called LandmarkPoint, where you can get the world coordinate of a landmark in meters using the 'world' command.
https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/landmarkpoint_pxcfacedata.html LandmarkPoint (+JS,+UWP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply
If i change STREAM_TYPE_COLOR to STREAM_TYPE_DEPTH, can i get landmarks by DEPTH STREAM??
psm.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR, 640, 480, 60);
↓
psm.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_DEPTH, 640, 480, 60);
and,
// fdata is a PXCMFaceData instanceInt32 nfaces=fdata.QueryNumberOfDetectedFaces();for (Int32 i=0;i<</span>nfaces;i++) { // Retrieve the face landmark data instance PXCMFaceData.Face face=fdata.QueryFaceByIndex(i); PXCMFaceData.LandmarksData ldata=face.QueryLandmarks(); // get the landmark data PXCMFaceData.LandmarkPoint[] points; ldata.QueryPoints(out points);}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Looking at the documentation, it seems that your STREAM_TYPE_DEPTH line is the correct format.
https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/doc_essential_aligned_capturing.html Capturing Aligned Color and Depth Streams
As for the rest of the script ... my knowledge of stream programming is limited, but I'm sure one of the other people on here will be able to check it for you and let you know if it needs changes. Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi jazz_up_feeling_0809,
Do you still need assistance with this thread?
We'll be waiting for your response.
Regards,
-Sergio
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page