Face recognition demo¶
- async test.demo_face_recognize.test_ObserveFaceRecognise()[source]¶
Face recognition demo
Monitor face recognition events, and the robot reports the recognized face information (array)
If it is a registered face, return face details: id, name, gender, age
If it is a stranger, return name: “stranger”
When the face is successfully recognized, stop monitoring and broadcast “Hello, xxx” (xxx is the name in the face information)