NAOqi PeoplePerception - Overview | API | Tutorial
Namespace : AL
#include <alproxies/alfacedetectionproxy.h>
Removes all learned faces from the database.
Returns: | true if the operation succeeded |
---|
Deletes from the database all learned faces corresponding to the specified person.
Parameters: |
|
---|---|
Returns: | true if the operation succeeded |
Gets a list containing the name of each learned face. The size of this list is always equal to the number of faces in the data base.
Returns: | List of names |
---|
Returns the current threshold value used for face recognition.
Returns: | Threshold value. |
---|
Conversion tool. Converts an old data base (NAOqi version < 1.22) to the new format. This needs to be run only once.
If the module ALFaceDetection has already faces in its data base, you can still import an old data base. Its content will be merged and conflicting entries (i.e. faces with the same name) will be dealt with according to the specified policy.
Parameters: |
|
---|
Returns whether recognition is enabled. Recognition is enabled by default.
Returns: | true/false |
---|
Returns whether tracking is enabled. Tracking is enabled by default.
Returns: | true/false |
---|
Learns a new face and add it in the database under the specified name.
Parameters: |
|
---|---|
Returns: | true if the operation succeeded |
Uses, in a new learning process, the latest images where a face has been wrongly recognized.
When a face is recognized, a series 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.
Sets a new threshold value for face recognition. This value must be between 0 and 1, with a default of 0.4. Refer to Threshold for a more complete explanation.
Parameters: |
|
---|
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: |
|
---|
Deprecated since version 2.0: Use ALFaceDetectionProxy::setRecognitionEnabled() instead.
Deprecated since version 2.0: Use ALFaceDetectionProxy::setTrackingEnabled() instead.
Raised when one or several faces are currently being detected.
Parameters: |
|
---|