How to Export FacePrint ID in Host mode?
Hi,
The rsid-viewer.exe has feature to export the FacePrint ID to JSON file and also import it back to RealsenseID device.
Can this be done on the Host Mode as well?
-Yee Hern
-
Official comment
Hello Herntan,
The function to create the JSON file from the faceprints db is Serialize and to read the JSON file to create the faceprint DB is Deserialize, found in: https://github.com/IntelRealSense/RealSenseID/blob/master/tools/rsid-viewer/DatabaseSerializer.cs.
The Save and Load functions in https://github.com/IntelRealSense/RealSenseID/blob/master/tools/rsid-viewer/Database.cs, show how to call Serialize and Deserialize.
Host Mode means that the faceprints db file lives on the host's filesystem and the functions above allow you to manipulate that db file.
The ImportButton_Click and ExportButton_Click functions in https://github.com/IntelRealSense/RealSenseID/blob/master/tools/rsid-viewer/MainWindow.xaml.cs take it a step further to import and export the db into the device.
Sincerely,
Jesus G.
Intel Customer SupportComment actions
Please sign in to leave a comment.
Comments
2 comments