pans
2017-01-13 1668865343c3069a65c241e167618be31a1a0549
RtspFace/SensetimeFaceAPIWrapper/src/faceAPI.h
@@ -17,8 +17,6 @@
   int do_reasch(cv::Mat image);
   //注册  后台另一进程调用
   int do_register(cv::Mat image);
   bool db_save();
private:
@@ -28,7 +26,6 @@
   //转换函数
   int get_char(cv_feature_t *p_feature,char* feature_str);
   int get_feature(char *feature_str,cv_feature_t *p_feature);
   cv_feature_t* p_f;
};
@@ -36,10 +33,9 @@
class FaceDB
{
public:
   FaceDB();
   virtual ~FaceDB();
   //人脸验证
   cv_handle_t handle_verify;
   //数据库操作
@@ -51,7 +47,7 @@
   bool init(char* db_path);
   //保存数据库
   bool finally();
   //搜索SDK数据库
   int search_db(cv_feature_t* p_feature );
   //添加记录
@@ -64,9 +60,10 @@
private:
   cv_result_t cv_result;
   char* db_path;
   //加载sdk数据库
   bool db_load();
   bool db_save();
};
#endif