IntelRealSense / RealSenseID

Intel® RealSense™ ID SDK
https://intelrealsense.com/facial-authentication/
Apache License 2.0
98 stars 57 forks source link

Working in host mode with a database. #87

Closed TMV-83 closed 3 years ago

TMV-83 commented 3 years ago

Please show an example in c ++ of saving a database to a file and reading it from it (static std::map<std::string, RealSenseID::Faceprints> s_user_faceprint_db) .

alexk1976 commented 3 years ago

I assume you find easily how to write/read binary buffer to/from file in web. Look for fread/fread/fwrite or iftsream APIs.

TMV-83 commented 3 years ago

Thanks for the valuable advice. If I found a similar example on the Internet, I would not ask.