26 #ifndef DIGIKAM_FACE_UTILS_H
27 #define DIGIKAM_FACE_UTILS_H
31 #include <QStringList>
47 class ThumbnailLoadThread;
48 class ThumbnailImageCatcher;
65 explicit FaceUtils(QObject*
const parent =
nullptr);
79 const QSize& fullSize);
113 const QString& filePath,
123 const QSize& fullSize)
const;
145 void addNormalTag(qlonglong imageid,
int tagId)
override;
Definition: faceutils.h:52
Identity identityForTag(int tagId, FacialRecognitionWrapper &recognizer) const
Definition: faceutils.cpp:291
bool hasBeenScanned(const ItemInfo &info) const
Definition: faceutils.cpp:72
void removeNormalTags(qlonglong imageid, const QList< int > &tagId) override
Definition: faceutils.cpp:389
void addNormalTag(qlonglong imageid, int tagId) override
Definition: faceutils.cpp:317
void markAsScanned(qlonglong imageid, bool hasBeenScanned=true) const
Definition: faceutils.cpp:77
static int faceRectDisplayMargin(const QRect &rect)
Definition: faceutils.cpp:430
int tagForIdentity(const Identity &identity) const
Definition: faceutils.cpp:310
QList< FaceTagsIface > writeUnconfirmedResults(qlonglong imageid, const QList< QRectF > &detectedFaces, const QList< Identity > &recognitionResults, const QSize &fullSize)
Definition: faceutils.cpp:159
FaceRecognitionSteps
Definition: faceutils.h:58
@ DetectAndRecognize
Definition: faceutils.h:60
@ DetectFaceRegions
Definition: faceutils.h:59
QSize rotateFaces(const ItemInfo &info, int newOrientation, int oldOrientation)
Definition: faceutils.cpp:396
QList< FaceTagsIface > toFaceTagsIfaces(qlonglong imageid, const QList< QRectF > &detectedFaces, const QList< Identity > &recognitionResults, const QSize &fullSize) const
Definition: faceutils.cpp:96
~FaceUtils() override
Definition: faceutils.cpp:61
void removeNormalTag(qlonglong imageid, int tagId) override
Definition: faceutils.cpp:354
void storeThumbnails(ThumbnailLoadThread *const thread, const QString &filePath, const QList< FaceTagsIface > &databaseFaces, const DImg &image)
Definition: faceutils.cpp:134
FaceUtils(QObject *const parent=nullptr)
Definition: faceutils.cpp:56
Definition: facialrecognition_wrapper.h:47
Definition: identity.h:41
Definition: iteminfo.h:78
Definition: thumbnailloadthread.h:46
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43