Software Archive
Read-only legacy content
17061 Discussions

Creating Database for Face Recognition

ramya_k_
Beginner
228 Views

Hi, 
I am trying to implement the face recognition sample code which was given in the documentation. But I got an error msg saying "class PXCFaceConfiguration::RecognitionConfiguration has no member "CreateStorage" " . Although in the blog  https://software.intel.com/en-us/blogs/2016/01/28/new-realsense-v8?language=en   it was mentioned that CreateStorage() is not yet implemented in the API, i came across may posts in the forum using this function. How can i create a database for face recognition?

0 Kudos
1 Reply
Xusheng_L_Intel
Employee
228 Views

Face recognition APIs: CreateStorage(), SetStorageDesc(), UseStorage() and DeleteStorage() were never implemented and will be removed from the SDK manual. Regarding storing face recognition storage. APIs were not changed and you can be done using:

  • RecognitionModuleData::QueryDatabaseBuffer(pxcBYTE* buffer) // query FR database buffer
  • RecognitionConfiguration ::SetDatabaseBuffer(pxcBYTE* buffer, pxcI32 size); // load FR database buffer

You can find detail sample codes at the bottom of this page(https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/doc_face_face_recognition_data.html?zoom_highlightsub=QueryDatabaseBuffer).

Thanks! 

 

0 Kudos
Reply