|
| FaceTagsIface (const FaceTagsIface &other) |
|
| FaceTagsIface (const QString &attribute, qlonglong imageId, int tagId, const TagRegion ®ion) |
|
| FaceTagsIface (Type type, qlonglong imageId, int tagId, const TagRegion ®ion) |
|
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 |
|
void | removeFaceTraining () const |
| Remove the face from face training based on the current imageId, tagId, and rect hash.
|
|
void | setRegion (const TagRegion ®ion) |
|
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 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.
|
|