|
|
| FaceUtils (QObject *const parent=nullptr) |
| |
|
bool | hasBeenScanned (const ItemInfo &info) const |
| | Tells if the image has been scanned for faces or not.
|
| |
|
bool | hasBeenScanned (qlonglong imageid) const |
| |
|
Identity | identityForTag (int tagId) const |
| |
|
void | markAsScanned (const ItemInfo &info, bool hasBeenScanned=true) const |
| |
|
void | markAsScanned (qlonglong imageid, bool hasBeenScanned=true) const |
| | Marks the image as scanned for faces.
|
| |
|
bool | normalTagChanged () const |
| |
| void | storeThumbnails (ThumbnailLoadThread *const thread, const QString &filePath, const QList< FaceTagsIface > &databaseFaces, const DImg &image) |
| | This uses a thumbnail load thread to load the image detail.
|
| |
|
int | tagForIdentity (const Identity &identity) const |
| |
| QList< FaceTagsIface > | toFaceTagsIfaces (qlonglong imageid, const QList< QRectF > &detectedFaces, const QList< Identity > &recognitionResults, const QSize &fullSize) const |
| | Conversion.
|
| |
| QList< FaceTagsIface > | writeUnconfirmedResults (qlonglong imageid, const QList< QRectF > &detectedFaces, const QList< Identity > &recognitionResults, const QSize &fullSize) |
| | The given face list is a result of automatic detection and possibly recognition.
|
| |
| void | add (const FaceTagsIface &face, bool trainFace=true) |
| | Adds a new entry to the database.
|
| |
|
FaceTagsIface | add (qlonglong imageid, int tagId, const TagRegion ®ion, bool trainFace=true) |
| |
|
FaceTagsIface | addManually (const FaceTagsIface &face) |
| |
| FaceTagsIface | changeRegion (const FaceTagsIface &face, const TagRegion &newRegion) |
| | Changes the region of the given entry.
|
| |
|
FaceTagsIface | changeSuggestedName (const FaceTagsIface &previousEntry, int unconfirmedNameTagId) |
| | Switches an unknownPersonEntry or unconfirmedEntry to an unconfirmedEntry (with a different suggested name).
|
| |
| FaceTagsIface | changeTag (const FaceTagsIface &face, int newTagId) |
| | Changes the tag of the given entry.
|
| |
|
QList< FaceTagsIface > | confirmedFaceTagsIfaces (qlonglong imageid) const |
| |
| FaceTagsIface | confirmName (const FaceTagsIface &face, int tagId=-1, const TagRegion &confirmedRegion=TagRegion()) |
| | Assign the name tag for given face entry.
|
| |
|
QList< FaceTagsIface > | databaseFaces (qlonglong imageid) const |
| | Reads the FaceTagsIfaces for the given image id from the database.
|
| |
|
QList< FaceTagsIface > | databaseFaces (qlonglong imageId, FaceTagsIface::TypeFlags flags) const |
| |
|
QList< FaceTagsIface > | databaseFacesForTraining (qlonglong imageid) const |
| |
|
int | faceCountForPersonInImage (qlonglong imageid, int tagId) const |
| | Returns the number of faces a particular person has in the specified image.
|
| |
|
QList< ItemTagPair > | faceItemTagPairs (qlonglong imageid, FaceTagsIface::TypeFlags flags) const |
| |
| QMap< QString, QString > | getSuggestedNames (qlonglong id) const |
| | Returns a Map of Tag Regions (in XML format) to Suggested Name (from Face Recognition) for the given image.
|
| |
| QList< QRect > | getTagRects (qlonglong imageid) const |
| | Returns a list of all tag rectangles for the image.
|
| |
|
QList< FaceTagsIface > | ignoredFaceTagsIfaces (qlonglong imageid) const |
| |
|
int | numberOfFaces (qlonglong imageid) const |
| | Returns the number of faces present in an image.
|
| |
|
void | removeAllFaces (qlonglong imageid) |
| | Unassigns all face tags from the image and sets it's scanned property to false.
|
| |
| void | removeFace (const FaceTagsIface &face, bool touchTags=true) |
| | Remove the given face.
|
| |
|
void | removeFace (qlonglong imageid, const QRect &rect) |
| | Remove a face or the face for a certain rect from an image.
|
| |
|
void | removeFaces (const QList< FaceTagsIface > &faces) |
| |
|
bool | rotateFaces (qlonglong imageId, const QSize &size, int oldOrientation, int newOrientation) |
| | Rotate face tags.
|
| |
| QList< FaceTagsIface > | unconfirmedFaceTagsIfaces (qlonglong imageid) const |
| | Returns list of Unconfirmed and Unknown faces in the Image.
|
| |
| QList< FaceTagsIface > | unconfirmedNameFaceTagsIfaces (qlonglong imageid) const |
| | Returns a list of UnconfirmedFaces in the Image.
|
| |