Do face recognition on a nao’s camera stream
...
WARNING: this pseudeocode for the next version, use only as a reference of how to set up a structure to the image above
...
Code Block | ||
---|---|---|
| ||
nao = Nao(device_id="nao1") face_recognition = self.connectstart_service(FaceRecognitionService, device_id='local') nao.top_camera.register_callback(set_image_variable) face_recognition.register_inputconnect(nao.top_camera) face_recognition.register_callback(set_bbox_variable) while True: image.draw(bbox) display(image) |
...