...
Code Block | ||
---|---|---|
| ||
pepper = Pepper(device_id="pepper1") facerec = self.start_service(FaceRecognitionService, device_id='local') lookat = self.connectstart_service(LookAtPersonService, device_id='local') facerec.connect(pepper.top_camera) lookat.register_input(facerec) pepper.motion.register_input(lookat) |
...