// Create face authenticator instance and connect to the device on COM9 RealSenseID::FaceAuthenticator auth {&sig_clbk}; auto connect_status = authenticator.Connect({RealSenseID::SerialType::USB, "COM9"}); // RealSenseID::SerialType::UART can be used in case UART I/F is required // Enroll a user const char* user_id = "John"; my_enroll_clbk enroll_clbk; auto enroll_status = authenticator.Enroll(enroll_clbk, user_id); // Authenticate a user my_auth_clbk auth_clbk; auto auth_status = authenticator.Authenticate(auth_clbk); // Remove the user from device bool success = authenticator.RemoveUser(user_id); // Disconnect from the device authenticator.Disconnect(); C++