DFACE C++  5.0.0
dface::DfaceRecognize Class Referenceabstract

FaceRecognize API. More...

#include <dface_recognize.h>

Public Member Functions

 DfaceRecognize ()
 
virtual ~DfaceRecognize ()
 
virtual void extractFaceFeatureByImg (unsigned char *img, int w, int h, int format, dface::Box &bbox, std::vector< unsigned char > &out_feature)=0
 

Detailed Description

FaceRecognize API.

Constructor & Destructor Documentation

dface::DfaceRecognize::DfaceRecognize ( )
inline

Constructor

virtual dface::DfaceRecognize::~DfaceRecognize ( )
inlinevirtual

Destructor

Member Function Documentation

virtual void dface::DfaceRecognize::extractFaceFeatureByImg ( unsigned char *  img,
int  w,
int  h,
int  format,
dface::Box bbox,
std::vector< unsigned char > &  out_feature 
)
pure virtual

Extract face feature(for face compare)

Parameters
[in]imgImage bytes data
[in]wImage width
[in]hImage height
[in]formatImage format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...)
[in]bboxFace box
[out]out_featureOutput face feature (512 bytes)
Returns
ref out_feature

The documentation for this class was generated from the following file: