- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
According to these docs:
An unrecognised user, should return -1.
I am getting an incremental UserID count from the same face being queried.
How is that possible?
Cheers
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Answering my own question here for anyone else.
The registration mode will determine how users are added to the database.
REGISTRATION_MODE_ON_DEMAND is what should be used to have control over when new users are added.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, scratch that - this appears to be just a bug?
Regardless of the setting, new registrations just occur automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok.
This issue probably falls under the category of logical bug, because of the member function naming convention used in the SDK.
Because the designers of the SDK have used a pattern whereby Interface instances are returned through method queries, both "PXCMFaceData.Face" and "PXCMFaceData.DetectionData" types (sharing the same Interface type of PXCMFaceData) support the member function named of QueryUserID.
PXCMFaceData.Face.QueryUserID actually returns a FaceIdentifier, which is not documented at all.
PXCMFaceData.DetectionData.QueryUserID return correctly the UserID.
Intel: The descriptive name of the member function is nothing to do with the result. This should be corrected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It was documented @https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/queryuserid_face_pxcfacedata.html, thanks!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page