|
|
| FaceTagsIface (const FaceTagsIface &other) |
| |
|
| FaceTagsIface (const QString &attribute, qlonglong imageId, int tagId, const TagRegion ®ion, const QList< int > &rejectedFaceTagList=QList< int >()) |
| |
|
| FaceTagsIface (Type type, qlonglong imageId, int tagId, const TagRegion ®ion, const QList< int > &rejectedFaceTagList=QList< int >()) |
| |
| bool | addRejectedFaceTag (int tagId) |
| | Adds a tag to the list of tags excluded from face recognition so "rejected" matches are not matched again.
|
| |
|
void | clearRejectedFaceTagList () |
| | Clears the list of tags excluded from face recognition.
|
| |
|
const QString | faceTagExtendedDataDBString () const |
| | Returns a string of the rect and the rejectedFaceTagList to be saved in the DB.
|
| |
|
QString | getAutodetectedPersonString () const |
| | Returns the string tagId + ',' + unconfirmedFace + ',' + regionXml.
|
| |
|
const QString | hash () const |
| | Generate a hash based on the imageId, tagId, and rect to uniquely identify this entry in the face training DB.
|
| |
|
qlonglong | imageId () const |
| |
|
bool | isConfirmedName () const |
| |
|
bool | isForTraining () const |
| |
|
bool | isIgnoredName () const |
| |
|
bool | isInvalidFace () const |
| |
|
bool | isNull () const |
| |
|
bool | isUnconfirmedName () const |
| |
|
bool | isUnconfirmedType () const |
| |
|
bool | isUnknownName () const |
| |
|
FaceTagsIface & | operator= (const FaceTagsIface &other) |
| |
|
bool | operator== (const FaceTagsIface &other) const |
| |
|
TagRegion | region () const |
| |
|
const QList< int > | rejectedFaceTagList () const |
| | Returns the list of tags excluded from face recognition so "rejected" matches are not matched again.
|
| |
| const QString | rejectedFaceTagListToString () const |
| | Returns a string representation of m_rejectedFaceTagList separated by m_listSeparator.
|
| |
|
void | removeFaceTraining () const |
| | Remove the face from face training based on the current imageId, tagId, and rect hash.
|
| |
|
void | setRegion (const TagRegion ®ion) |
| |
| bool | setRejectedFaceTagList (const QList< int > &tagList) |
| | Adds a tag to the list of tags excluded from face recognition so "rejected" matches are not matched again.
|
| |
|
void | setTagId (int tagId) |
| |
|
void | setType (Type type) |
| |
|
int | tagId () const |
| |
|
QVariant | toVariant () const |
| |
|
Type | type () const |
| |
|
|
static QString | attributeForType (Type type) |
| | Return the corresponding image tag property for the given type.
|
| |
|
static QStringList | attributesForFlags (TypeFlags flags) |
| | Returns a list of all image tag properties for which flags are set.
|
| |
|
static FaceTagsIface | fromListing (qlonglong imageid, const QList< QVariant > &values) |
| | Create a FaceTagsIface from the extraValues returned from ItemLister.
|
| |
| static FaceTagsIface | fromVariant (const QVariant &var) |
| | Writes the contents of this face - in a compact way - in the QVariant.
|
| |
| static const QList< int > | stringToRejectedFaceTagList (const QString &str) |
| | Returns a QList<int> from a string representation of m_rejectedFaceTagList separated by m_listSeparator.
|
| |
| static Type | typeForAttribute (const QString &attribute, int tagId=0) |
| | Return the Type for the given attribute.
|
| |
|
static Type | typeForId (int tagId) |
| | Returns the Face Type corresponding to the given TagId.
|
| |