FaceDetect API.
More...
|
boolean | initLoad (String model_path, int precisionMode) |
|
boolean | uninitLoad () |
|
List< Bbox > | detection (byte[] data, int w, int h, int format, boolean square) |
|
List< Bbox > | detection (Bitmap frameBitmap, boolean square) |
|
List< Bbox > | detectionMax (byte[] data, int w, int h, int format, boolean square) |
|
List< Bbox > | detectionMax (Bitmap frameBitmap, boolean square) |
|
void | SetMinSize (int minSize) |
|
List<Bbox> com.dface.api.FaceDetect.detection |
( |
byte[] |
data, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
format, |
|
|
boolean |
square |
|
) |
| |
Detect all face in a image
- Parameters
-
data | Image bytes data |
w | Image width |
h | Image height |
format | Image format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...) |
- See also
- com.dface.dto.FrameFormatType
- Parameters
-
square | The return face box is squared |
- Returns
- face boxes
List<Bbox> com.dface.api.FaceDetect.detection |
( |
Bitmap |
frameBitmap, |
|
|
boolean |
square |
|
) |
| |
Detect all face in a image
- Parameters
-
frameBitmap | Frame bitmap |
square | The return face box is squared |
- Returns
- face boxes
List<Bbox> com.dface.api.FaceDetect.detectionMax |
( |
byte[] |
data, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
format, |
|
|
boolean |
square |
|
) |
| |
Detect max size face box in a image
- Parameters
-
data | Image bytes data |
w | Image width |
h | Image height |
format | Image format(PIXELS_BGR, PIXELS_RGB, PIXELS_YUYV, PIXELS_MJPEG ...) |
- See also
- com.dface.dto.FrameFormatType
- Parameters
-
square | The return face box is squared |
- Returns
- face boxes
List<Bbox> com.dface.api.FaceDetect.detectionMax |
( |
Bitmap |
frameBitmap, |
|
|
boolean |
square |
|
) |
| |
Detect max size face box in a image
- Parameters
-
frameBitmap | Frame bitmap |
square | The return face box is squared |
- Returns
- face boxes
boolean com.dface.api.FaceDetect.initLoad |
( |
String |
model_path, |
|
|
int |
precisionMode |
|
) |
| |
init FaceDetect
- Parameters
-
model_path | model path |
precisionMode | Precision Mode (Precision_Low, Precision_High) |
- Returns
- init status code
void com.dface.api.FaceDetect.SetMinSize |
( |
int |
minSize | ) |
|
Set face detect minimum size
- Parameters
-
[in] | minSize | Minimum face size |
- Note
- (default 80, 640*480P->40-100 1280*720P->100-160)
boolean com.dface.api.FaceDetect.uninitLoad |
( |
| ) |
|
The documentation for this class was generated from the following file:
- java/en/com/dface/api/FaceDetect.java