From 31e0d0c171b4d6a7dc9b9697e69e165651d3fe93 Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 28 十二月 2016 18:32:20 +0800 Subject: [PATCH] face detect ok --- RtspFace/PL_SensetimeFaceDetect.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/RtspFace/PL_SensetimeFaceDetect.h b/RtspFace/PL_SensetimeFaceDetect.h index f1cdbb1..0d876c0 100644 --- a/RtspFace/PL_SensetimeFaceDetect.h +++ b/RtspFace/PL_SensetimeFaceDetect.h @@ -3,6 +3,17 @@ #include "PipeLine.h" +struct 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 + + SensetimeFaceDetectConfig() : + point_size(21), point_size_config(-1), detect_face_cnt_limit(-1) + { } +}; + class PL_SensetimeFaceDetect : public PipeLineElem { public: -- Gitblit v1.8.0