25 #ifndef DIGIKAM_FACESENGINE_FACEDETECTOR_H
26 #define DIGIKAM_FACESENGINE_FACEDETECTOR_H
30 #include <QExplicitlySharedDataPointer>
61 QString backendIdentifier()
const;
73 QList<QRectF> detectFaces(
const QImage& image,
const QSize& originalSize = QSize());
83 QList<QRectF> detectFaces(
const DImg& image,
const QSize& originalSize = QSize());
98 void setParameter(
const QString& parameter,
const QVariant&
value);
99 void setParameters(
const QVariantMap& parameters);
100 QVariantMap parameters()
const;
106 int recommendedImageSize(
const QSize& availableSize = QSize())
const;
108 static QRectF toRelativeRect(
const QRect& absoluteRect,
const QSize& size);
109 static QRect toAbsoluteRect(
const QRectF& relativeRect,
const QSize& size);
116 QExplicitlySharedDataPointer<Private> d;
Definition: facedetector.h:43
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: datefolderview.cpp:43