XQFaceThumbnailer Class Reference

#include <imagerecognition/xqfacethumbnailer.h>

Link against: faceplatform.lib

class XQFaceThumbnailer : public QObject, public QObject

XQFaceThumbnailer is an abstract interface to be implemented by the users of face recognition to generate either face thumbnails or the image to be processed.

Inherits from

  • XQFaceThumbnailer
    Public Member Enumerations
    enumThumbnailSizeHint { ScreenSize, LargeSize }
    Public Member Functions
    virtual ~XQFaceThumbnailer()
    pure virtual voidcreateFaceThumbnail(const QString &, const QSize &, const QRect &)
    pure virtual voidcreateThumbnail(const QString &, XQFaceThumbnailer::ThumbnailSizeHint, const QSize &)
    pure virtual voidthumbnailNotUsed(const QStringList &)
    Protected Member Functions
    XQFaceThumbnailer(QObject *)
    Public Signals
    voidfaceThumbnailCreated(const QString &, const QString &, const QSize &, const QRect &)
    voidthumbnailCreated(const QImage, const QString &, XQFaceThumbnailer::ThumbnailSizeHint)
    Inherited Attributes
    QObject::d_ptr
    QObject::objectName
    QObject::staticQtMetaObject
    Inherited Functions
    QObject::QObject(QObjectPrivate &,QObject *)
    QObject::blockSignals(bool)
    QObject::childEvent(QChildEvent *)
    QObject::children()const
    QObject::connect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &,Qt::ConnectionType)
    QObject::connect(const QObject *,const char *,const QObject *,const char *,Qt::ConnectionType)
    QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType)const
    QObject::connectNotify(const char *)
    QObject::customEvent(QEvent *)
    QObject::deleteLater
    QObject::destroyed
    QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &)
    QObject::disconnect(const QObject *,const char *)
    QObject::disconnect(const QObject *,const char *,const QObject *,const char *)
    QObject::disconnect(const char *,const QObject *,const char *)
    QObject::disconnectNotify(const char *)
    QObject::dumpObjectInfo()
    QObject::dumpObjectTree()
    QObject::dynamicPropertyNames()const
    QObject::event(QEvent *)
    QObject::eventFilter(QObject *,QEvent *)
    QObject::findChild(const QString &)const
    QObject::findChildren(const QRegExp &)const
    QObject::findChildren(const QString &)const
    QObject::inherits(const char *)const
    QObject::installEventFilter(QObject *)
    QObject::isWidgetType()const
    QObject::killTimer(int)
    QObject::moveToThread(QThread *)
    QObject::objectName()const
    QObject::parent()const
    QObject::property(const char *)const
    QObject::receivers(const char *)const
    QObject::registerUserData()
    QObject::removeEventFilter(QObject *)
    QObject::sender()const
    QObject::senderSignalIndex()const
    QObject::setObjectName(const QString &)
    QObject::setParent(QObject *)
    QObject::setProperty(const char *,const QVariant &)
    QObject::setUserData(uint,QObjectUserData *)
    QObject::signalsBlocked()const
    QObject::startTimer(int)
    QObject::thread()const
    QObject::timerEvent(QTimerEvent *)
    QObject::userData(uint)const
    QObject::~QObject()

    Detailed Description

    The need for this interface is because most of the API's are designed to accept Source-ID as input instead of file-name. Although, the source-id can very well be the file name, the API's do not assume that. Hence whenever an image data is required by image recognition, it relies on this interface to request and get the same from the application.

    Member Enumeration Documentation

    Enum ThumbnailSizeHint

    An input to the thumbnailer expressing the desired size of the thumbnail expected by the image recognition.

    EnumeratorValueDescription
    ScreenSize0

    In some systems a display-sized thumbnails are stored for quick display of images (since large images take time to decode). The same thumbnails can be reused for image processing instead of attempting to decode the full image

    LargeSize

    In some cases the image recognition might require the full sized image. In such cases LargeSize is requested.

    Constructor & Destructor Documentation

    XQFaceThumbnailer ( QObject * )

    XQFaceThumbnailer(QObject *parent = 0)[protected, inline]

    constructor

    ~XQFaceThumbnailer ( )

    ~XQFaceThumbnailer()[inline, virtual]

    destructor

    Member Function Documentation

    createFaceThumbnail ( const QString &, const QSize &, const QRect & )

    voidcreateFaceThumbnail(const QString &sourceId,
    const QSize &sourceSize,
    const QRect &thumbnailRect
    )[pure virtual]

    createThumbnail ( const QString &, XQFaceThumbnailer::ThumbnailSizeHint, const QSize & )

    voidcreateThumbnail(const QString &sourceId,
    XQFaceThumbnailer::ThumbnailSizeHintsizeHint,
    const QSize &preferredSize
    )[pure virtual]

    faceThumbnailCreated ( const QString &, const QString &, const QSize &, const QRect & )

    voidfaceThumbnailCreated(const QString &thumbnailPath,
    const QString &sourceId,
    const QSize &sourceSize,
    const QRect &thumbnailRect
    )[signal]

    thumbnailCreated ( const QImage, const QString &, XQFaceThumbnailer::ThumbnailSizeHint )

    voidthumbnailCreated(const QImageimage,
    const QString &sourceId,
    XQFaceThumbnailer::ThumbnailSizeHintsizeHint
    )[signal]

    thumbnailNotUsed ( const QStringList & )

    voidthumbnailNotUsed(const QStringList &thumbnailPaths)[pure virtual]