- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tomas,
It looks like you are correct about the manual omitting the out parameter modifier, thanks for pointing that out. There is a C# facial recognition code sample available that you might want to take a look at: https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk.
Hope this helps, Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Bryan. Thanks for the quick reply.
I've tried the project you linked at it worked well. In the code, return values of CreateStore() and UseStore() functions are not checked for error though. I've checked their return values via debugger and found out that they both return PXCM_STATUS_FEATURE_UNSUPPORTED, even though the program works as excepted afterwards. So it seems that the returned status should be PXCM_STATUS_NO_ERROR.
Also, it seems that the `out' keyword cannot be used for an inout parameter, i.e. the `out' value needs to be initialized in the function. So the code in the manual (and even in the FaceID project), which initializes RecognitionStorageDesc structure/class before the call to CreateStore(), is wrong.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page