Items with no label
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
3340 Discussions

Face Recognition

rwahy
Beginner
1,576 Views

when removing face id in the database, the source code below deletes the entire registered face id. how to just delete on id that want to delete only? thanks

private void DeleteDatabaseFile()

{

if (File.Exists(DatabaseFilename))

{

File.Delete(DatabaseFilename);

dbState = "Deleted";

}

else

{

dbState = "Not Found";

}

}

0 Kudos
1 Reply
MartyG
Honored Contributor III
477 Views

Do you mean that you want to remove a single ID and not delete the entire database file? If so, removing an ID from the face database is called 'unregistering'. The instruction in the old '2016 R2' and '2016 R3' SDKs to do this is called 'UnregisterUserByID'.

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/index.html?unregisteruserbyid_recognitionmoduledata_pxcfacedata.html Intel® RealSense™ SDK 2016 R3 Documentation

The sample face recognition program linked to below has an unregister feature, so you could look at the program's code to see how it unregisters.

https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk Archived - Code Sample: Facial Recognition Using Intel® RealSense™ SDK | Intel® Software

0 Kudos
Reply