|
| Identity | addIdentity (const QMultiMap< QString, QString > &attributes) |
| | Adds a new identity with the specified attributes.
|
|
Identity | addIdentityDebug (const QMultiMap< QString, QString > &attributes) |
| | This is the debug version of addIdentity, so the identity is only added to identityCache, but not into the recognition database.
|
| int | addTraining (const Identity &identity, const QString &hash, const cv::Mat &feature) |
| | Add the face features and hash to the recognition DB.
|
| const QList< Identity > | allIdentities () const |
|
void | cancel () |
|
bool | checkRetrainingRequired () const |
|
void | clearAllTraining () |
| | Clears all identities and face training from the recognition DB.
|
|
bool | clearTraining (const QString &hash) |
| | Deletes the training image for the given hash, leaving the identity as such in the database.
|
|
void | deleteIdentities (QList< Identity > identitiesToBeDeleted) |
| | Deletes a list of identities from the database.
|
|
void | deleteIdentity (const Identity &identityToBeDeleted) |
| | Deletes an identity from the database.
|
| Identity | findIdentity (const QMultiMap< QString, QString > &attributes) const |
| | Finds the identity matching the given attributes.
|
| Identity | findIdentity (const QString &attribute, const QString &value) const |
| | Finds the first identity with matching attribute - value.
|
|
Identity | identity (int id) const |
| | retrieves the identity with the given id.
|
|
bool | integrityCheck () |
| | Checks the integrity and returns true if everything is fine.
|
|
bool | isValidId (int label) const |
| | Checks if the id exists in the recognition DB.
|
| void | renameIdentity (const QString &uuid, const QString &newName) |
| | Renames an identity.
|
|
void | vacuum () |
| | Shrinks the database.
|