A demo where a pepper tries to keep a person in the center of the frame, without the information being processed by the user’s laptop
...
WARNING: this pseudeocode, use only as a reference of how to set up a structure to the image above
Code Block | ||
---|---|---|
| ||
pepper = Pepper(device_id="pepper1")
facerec = self.connect(FaceRecognitionService, device_id='local')
lookat = self.connect(LookAtPersonService, device_id='local')
facerec.register_input(pepper.top_camera)
lookat.register_input(facerec)
pepper.motion.register_input(lookat) |