RtspFace/demo/faceDB.h
@@ -3,10 +3,14 @@ #include <cv_face.h> #include "time_helper.h" #include <opencv2/opencv.hpp> //人脸验证 static cv_handle_t handle_verify = NULL; static cv_handle_t handle_verify; //数据库操作 static cv_handle_t handle_db = NULL; static cv_handle_t handle_db; //静态人脸识别 static cv_handle_t handle_detect; class faceDB{ public: @@ -22,6 +26,10 @@ faceDB(); virtual ~faceDB(); //提取特征值 cv_feature_t *extract_feature(cv::Mat image_color); private: cv_result_t cv_result;