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
| #ifndef _TOOLS_H_
| #define _TOOLS_H_
|
| #include "DBuntil.h"
| #include "faceAPI.h"
|
| class tools
| {
| public:
| tools();
| ~tools();
| int search(cv::Mat image,person *p);
| int search(char* s_feature,person *p);
| int reg(cv::Mat image,person *p);
|
| bool init();
| private:
| int do_register(cv::Mat image,person *p);
| int do_search(person *p);
| person per;
| DBuntil dbu;
| faceAPI f_api;
|
| };
|
| #endif
|
|