anki_vector.faces
Face recognition and enrollment.
Vector is capable of recognizing human faces, tracking their position and rotation (“pose”) and assigning names to them via an enrollment process.
The anki_vector.world.World
object keeps track of faces the robot currently
knows about, along with those that are currently visible to the camera.
Each face is assigned a Face
object, which generates a number of
observable events whenever the face is observed or when the face id is updated.
Faces can generate events which can be subscribed to from the anki_vector.events class, such as face_appeared (of type EvtFaceAppeared), and face_disappeared (of type EvtFaceDisappeared), which are broadcast based on both robot originating events and local state.
Module Attributes
|
Length of time in seconds to go without receiving an observed event before assuming that Vector can no longer see a face. |
Classes
|
Triggered whenever a face is first visually identified by a robot. |
|
Triggered whenever a face that was previously being observed is no longer visible. |
|
Triggered whenever a face is visually identified by the robot. |
|
Facial expressions that Vector can distinguish. |
|
A single face that Vector has detected. |
|
Manage the state of the faces on the robot. |