NAOqi Vision - Overview | API | Tutorial
See also
Namespace : AL
#include <alproxies/alfacedetectionproxy.h>
As any module, this module inherits methods from ALModule API. It also has the following specific methods:
Remove all learned faces from the database.
Returns: | true if the operation succeeded |
---|
Enables/disables the face recognition process. The remaining face detection process will be faster if face recognition is disabled. Face recognition is enabled by default.
Parameters: |
|
---|
Enables/disables face tracking. Enabling tracking usually allows you to follow a face even if the corresponding person is not facing the camera anymore. However, it can lead to more false detections. When active, only one face at a time will be detected.
Parameters: |
|
---|
Delete from the database all learned faces corresponding to the specified person.
Parameters: |
|
---|---|
Returns: | true if the operation succeeded |
Returns whether tracking is enabled. Tracking is enabled by default.
Returns: | True/False |
---|
Learn a new face and add it in the database under the specified name.
Parameters: |
|
---|---|
Returns: | true if the operation succeeded |
Use in a new learning process the latest images where a face has been wrongly recognized. In details, when a face is recognized a serie of few images before and after the recognition are kept in memory in a rolling buffer for 7 seconds. If this method is called, these images are going to feed the learning stage in order to associate the correct name to this face.
Parameters: |
|
---|---|
Returns: | true if the operation succeeded |
Note
if two different persons are recognized in less than 7 seconds, only the first one can be relearned.
Subscribes to ALFaceDetection with the specified parameters. This causes the module to start writing information to ALMemory in “FaceDetected”. This can be accessed in ALMemory using ALMemoryProxy::getData().
Parameters: |
|
---|
Subscribes to ALFaceDetection. This causes the module to start writing information to ALMemory in “FaceDetected”. This can be accessed in ALMemory using ALMemoryProxy::getData().
Parameters: |
|
---|
Unsubscribes to ALFaceDetection. This causes the module to stop writing information to ALMemory in “FaceDetected”.
Parameters: |
|
---|
Raised when one or several faces are currently being detected.
Parameters: |
|
---|