robot_smach_states.human_interaction.detect_face

Classes

DetectFace

Smach state to detect a face. It tries to match these with 'known' faces (either loaded from file or learned

Module Contents

class robot_smach_states.human_interaction.detect_face.DetectFace(robot)[source]

Bases: smach.State

Smach state to detect a face. It tries to match these with ‘known’ faces (either loaded from file or learned earlier). If one or more faces have been recognized in the image, the image is published over the /photo_to_telegram topic and the corresponding best matched label is published over the message to telegram topic.

Initialization

Parameters:

robot – Robot API object

_robot
execute(userdata)[source]