Go to the source code of this file.
◆ rf_face_detection_close()
| void rf_face_detection_close |
( |
void * |
face_detection_handle, |
|
|
rf_error_type * |
error |
|
) |
| |
Deletes face detector.
- Parameters
-
| face_detection_handle | face detector handle |
| error | output parameter to return an error details |
◆ rf_face_detection_detect()
| void rf_face_detection_detect |
( |
void * |
rf_face_descriptor, |
|
|
void * |
image_handle, |
|
|
float |
score_threshold, |
|
|
float |
nms_threshold, |
|
|
rf_face_descriptor_list * |
out_descriptors, |
|
|
rf_error_type * |
error |
|
) |
| |
Detects all faces in given image.
- Parameters
-
| face_detection_handle | face detector handle |
| image_handle | image handle (use image API to create) |
| out_boxes | returns flattened array of all bounding boxes in image. Each bounding box is represented by for 4 consecutive points and 1 score - (ymin, xmin, ymax, xmax) fot top-left corner and bottom-right corner coordinates, accordingly and the score for this box (from 0 to 100) |
| error | output parameter to return an error details |
◆ rf_face_detection_init()
| void* rf_face_detection_init |
( |
const char * |
detection_path, |
|
|
rf_error_type * |
error |
|
) |
| |
Initializes face detector.
- Parameters
-
| detection_path | path to the detection model |
| error | output parameter to return an error details |
- Returns
- face detector handle