FaceTrack API.
More...
|
boolean | initLoad (String model_path, int frame_width, int frame_height, int max_age, int min_hit, byte track_model) |
|
boolean | uninitLoad () |
|
List< Bbox > | update (byte[] data, int w, int h, int format, List< Bbox > in_bboxs) |
|
List< Bbox > | update (Bitmap frameBitmap, List< Bbox > in_bboxs) |
|
boolean | start () |
|
boolean | stop () |
|
boolean | restart () |
|
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
-
- Returns
- success status
boolean com.dface.api.FaceTrack.restart |
( |
| ) |
|
boolean com.dface.api.FaceTrack.start |
( |
| ) |
|
boolean com.dface.api.FaceTrack.stop |
( |
| ) |
|
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
-
data | Image bytes data |
w | Image width |
h | Frame height |
format | Frame format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...) |
- See also
- com.dface.dto.FrameFormatType
- Parameters
-
- 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 |
|
) |
| |
The documentation for this class was generated from the following file:
- java/en/com/dface/api/FaceTrack.java