DFACE C++  5.0.0
dface::DfaceTrack Class Referenceabstract

FaceTrack API. More...

#include <dface_track.h>

Public Member Functions

 DfaceTrack ()
 
virtual ~DfaceTrack ()
 
virtual bool update (unsigned char *frame, int w, int h, int format, std::vector< dface::Box > &in_boxs, std::vector< dface::Box > &out_boxs)=0
 
virtual bool start ()=0
 
virtual bool stop ()=0
 
virtual bool restart ()=0
 

Detailed Description

FaceTrack API.

Constructor & Destructor Documentation

dface::DfaceTrack::DfaceTrack ( )
inline

Constructor

virtual dface::DfaceTrack::~DfaceTrack ( )
inlinevirtual

Destructor

Member Function Documentation

virtual bool dface::DfaceTrack::restart ( )
pure virtual

Re-start track

Note
()
virtual bool dface::DfaceTrack::start ( )
pure virtual

Start track

Note
()
virtual bool dface::DfaceTrack::stop ( )
pure virtual

Stop track

Note
()
virtual bool dface::DfaceTrack::update ( unsigned char *  frame,
int  w,
int  h,
int  format,
std::vector< dface::Box > &  in_boxs,
std::vector< dface::Box > &  out_boxs 
)
pure virtual

update track

Parameters
[in]frameFrame bytes data
[in]wFrame width
[in]hFrame height
[in]formatFrame format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...)
[in]in_boxsface boxes
[out]out_boxsBeen tracked object
Box::id Been tracked object id
Box::age Been tracked object age
x, y, w, h: Been tracked object box(x,y,w,h)

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