pans
2016-12-30 865a8c4e82eb9449c422cec0acc72d944a35bbd7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _FACEAPI_H_
#define _FACEAPI_H_
 
#include <opencv2/opencv.hpp>
#include <cv_face.h>
#include "time_helper.h"
 
class faceAPI
{
public:
    faceAPI();
    ~faceAPI();
    //²éѯ  Ç°Ì¨µ÷ÓÃ
    int do_reasch(char* s_feature);
    int do_reasch(cv::Mat image);
    //×¢²á  ºǫ́ÁíÒ»½ø³Ìµ÷ÓÃ
    int do_register(cv::Mat image);
 
private:
 
    //µ÷ÓÃËÑË÷
    int p_img_search(cv_feature_t *p_feature);
 
    //ת»»º¯Êý
    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;
};
 
#endif