- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to find an event when a person's face is detected in the database? (C#)
Example
if(?????????){
Messagebox....
}
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does this help?
// Retrieve the recognition data instance
recognitionData = face.QueryRecognition();
if (recognitionData.IsRegistered())
{
userId = Convert.ToString(recognitionData.QueryUserID());
}
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bryan Brown (Intel) wrote:
Does this help?
// Retrieve the recognition data instance
recognitionData = face.QueryRecognition();
if (recognitionData.IsRegistered())
{
userId = Convert.ToString(recognitionData.QueryUserID());}
-Bryan
Thank you Bryan Brown..
how if I want to change userId from 1. because by default userId starting from 100?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no such method to change the user ID, however there always workaround solutions to that matter:
1. You can make your own database which map the Intel RealSense user ID (100-based number) to your customized user ID in your application. By using this approach, you can change the user ID into any characthers (num/alpha).
2. If you the first approach is overkill for you, then you can just put 1 more line before displaying user ID in the UI of your apps: myUserID = realSenseUserID - 99; So that, the displayed user ID will always start from 1.
Hope it helps,
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My question is that whenever I register a user it will always saves the user with userID = 100!
Even when I am using the sample software it will always identify as userID = 100.
What am I missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think it may have something to do with the Buffer.
Have you saved the buffer on your database as a Byte array and retrieved it?

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