| | |
| | | #ifndef _PL_PL_SENSETIMEFACEDETECT_H_
|
| | | #define _PL_PL_SENSETIMEFACEDETECT_H_
|
| | | #ifndef _PL_SENSETIMEFACEDETECT_H_
|
| | | #define _PL_SENSETIMEFACEDETECT_H_
|
| | |
|
| | | #include "PipeLine.h"
|
| | | #include <vector>
|
| | |
|
| | | struct SensetimeFaceDetectConfig
|
| | | struct PL_SensetimeFaceDetectPipeArgs
|
| | | {
|
| | | void* faceDB;
|
| | | |
| | | PL_SensetimeFaceDetectPipeArgs() : faceDB(nullptr)
|
| | | { }
|
| | | };
|
| | |
|
| | | struct PL_SensetimeFaceDetectConfig
|
| | | {
|
| | | int point_size; // 21 / 106
|
| | | int point_size_config; // CV_DETECT_ENABLE_ALIGN_21 / CV_DETECT_ENABLE_ALIGN_106
|
| | | int detect_face_cnt_limit; // -1
|
| | | bool draw_face_rect;
|
| | | bool draw_face_feature_point;
|
| | | bool generate_face_feature; // for PL_SensetimeFaceFeatureEmit
|
| | |
|
| | | SensetimeFaceDetectConfig() : |
| | | point_size(21), point_size_config(-1), detect_face_cnt_limit(-1)
|
| | | PL_SensetimeFaceDetectConfig() : |
| | | point_size(21), point_size_config(-1), detect_face_cnt_limit(-1), |
| | | draw_face_rect(true), draw_face_feature_point(true), generate_face_feature(false)
|
| | | { }
|
| | | };
|
| | |
|