QFaceInfo Class Reference

#include <imagerecognition/qface.h>

Link against: qfacelib.lib

class QFaceInfo
Public Member Functions
QFaceInfo(QImage, QRect)
QFaceInfo(const QFaceInfo &)
~QFaceInfo()
QImage calcThumbnailFaceImg()
IMPORT_C intclusterId()
IMPORT_C intconfirmFlag()
IMPORT_C QRectfaceCoordinates()
IMPORT_C intfaceId()
IMPORT_C QStringfaceName()
IMPORT_C voidgetNearestMatchAndConfigFlag(QList< int > &, QList< int > &)
IMPORT_C QImageimage()
voidsetClusterId(int)
voidsetConfirmFlag(int)
IMPORT_C voidsetFaceName(QString)
voidsetNearestMatches(int, int, int)
IMPORT_C voidsetSourceSize(const QSize &)
voidsetThumbnailFace(QImage)
IMPORT_C voidsetThumbnailPath(const QString &)
IMPORT_C QSizesourceSize()
IMPORT_C QImagethumbnailFaceImage()
IMPORT_C QStringthumbnailPath()

Constructor & Destructor Documentation

QFaceInfo ( QImage, QRect )

IMPORT_CQFaceInfo(QImagemyImage,
QRectfaceCoords
)

Constructs a new face information.

Parameters
myImageAn original image.
faceCoordsFace co-oridnate of a single face

QFaceInfo ( const QFaceInfo & )

IMPORT_CQFaceInfo(const QFaceInfo &faceInfo)

Copy Constructor

~QFaceInfo ( )

IMPORT_C~QFaceInfo()

Member Function Documentation

calcThumbnailFaceImg ( )

QImage calcThumbnailFaceImg()const

Return Value
calculated thumbnail face image which has to be set via setThumbnailFace.

clusterId ( )

IMPORT_C intclusterId()const

Return Value
clusterId

confirmFlag ( )

IMPORT_C intconfirmFlag()const

faceCoordinates ( )

IMPORT_C QRectfaceCoordinates()const

Return Value
face rectangle

faceId ( )

IMPORT_C intfaceId()const

Return Value
face id

faceName ( )

IMPORT_C QStringfaceName()const

Return Value
FaceName

getNearestMatchAndConfigFlag ( QList< int > &, QList< int > & )

IMPORT_C voidgetNearestMatchAndConfigFlag(QList< int > &aNearestMatches,
QList< int > &aConfirmFlagList
)const

image ( )

IMPORT_C QImageimage()const

Return Value
An original image

setClusterId ( int )

voidsetClusterId(intclusterid)

Parameters
clusteridset the cluster id

setConfirmFlag ( int )

voidsetConfirmFlag(intconfirmFlag)

Parameters
confirmFlagset the confirmFlag

setFaceName ( QString )

IMPORT_C voidsetFaceName(QStringaName)

Parameters
aNameSet the name of a face.

setNearestMatches ( int, int, int )

voidsetNearestMatches(intclusterId,
intposition,
intconfirmFlag
)

setSourceSize ( const QSize & )

IMPORT_C voidsetSourceSize(const QSize &sourceSize)

setThumbnailFace ( QImage )

voidsetThumbnailFace(QImageaThumbnailFace)

Parameters
aThumbnailFaceSet thumbnail image to be retrived from thumbnailFaceImage API.

setThumbnailPath ( const QString & )

IMPORT_C voidsetThumbnailPath(const QString &path)

sourceSize ( )

IMPORT_C QSizesourceSize()const

thumbnailFaceImage ( )

IMPORT_C QImagethumbnailFaceImage()const

Return Value
Cropped face area from an image.

thumbnailPath ( )

IMPORT_C QStringthumbnailPath()const