DFACE JAVA SDK  5.0.0
com.dface.api.FaceTrack Class Reference

FaceTrack API. More...

Collaboration diagram for com.dface.api.FaceTrack:

Public Member Functions

boolean initLoad (String model_path, int frame_width, int frame_height, int max_age, int min_hit, byte track_model)
 
boolean uninitLoad ()
 
List< Bboxupdate (byte[] data, int w, int h, int format, List< Bbox > in_bboxs)
 
List< Bboxupdate (Bitmap frameBitmap, List< Bbox > in_bboxs)
 
boolean start ()
 
boolean stop ()
 
boolean restart ()
 

Detailed Description

FaceTrack API.

Member Function Documentation

boolean com.dface.api.FaceTrack.initLoad ( String  model_path,
int  frame_width,
int  frame_height,
int  max_age,
int  min_hit,
byte  track_model 
)

init track instance

Parameters
model_pathmodel path
Returns
success status
boolean com.dface.api.FaceTrack.restart ( )

restart track

Note
()
boolean com.dface.api.FaceTrack.start ( )

start track

Note
()
boolean com.dface.api.FaceTrack.stop ( )

stop track

Note
()
boolean com.dface.api.FaceTrack.uninitLoad ( )

uninit track instance

Returns
success status
List<Bbox> com.dface.api.FaceTrack.update ( byte[]  data,
int  w,
int  h,
int  format,
List< Bbox in_bboxs 
)

update track

Parameters
dataImage bytes data
wImage width
hFrame height
formatFrame format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...)
See also
com.dface.dto.FrameFormatType
Parameters
in_bboxsface boxes
See also
com.dface.dto.FrameRotationType Box::id Been tracked object id
Box::age Been tracked object age
x, y, w, h: Been tracked object box(x,y,w,h)
List<Bbox> com.dface.api.FaceTrack.update ( Bitmap  frameBitmap,
List< Bbox in_bboxs 
)

update track

Parameters
frameBitmapbitmap
See also
com.dface.dto.FrameFormatType
Parameters
in_bboxsface boxes
See also
com.dface.dto.FrameRotationType 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: