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
nao = Nao(device_id="nao1") face_recognition = self.start_service(FaceRecognitionService, device_id='local') nao.top_camera.register_callback(set_image_variable) face_recognition.connect(nao.top_camera) face_recognition.register_callback(set_bbox_variable) while True: image.draw(bbox) display(image)