|
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 returns the ID of the new row
|
|
QList< Identity > | allIdentities () const |
| Returns all identities known to the database.
|
|
void | clearAllTraining () |
| clears all identites 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 |
|
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 | vacuum () |
| Shrinks the database.
|
|