1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| #include <iostream>
| #include <vector>
| #include <stdio.h>
|
| #include "faceAPI.h"
|
| using namespace std;
|
| int main(int argc) {
|
| //Îļþ·¾¶
| char *db_path = "./out.db";
| char *image_path = "../../test_image/face_04.jpg";
| char *image_list = "../../test_image/imglist";
| cv::Mat bgr_image = cv::imread(image_path);
| int idx = -11;
| faceAPI face;
| idx = face.do_reasch(bgr_image);
| cout<<"idx="<<idx<<endl;
| system("pause");
| return 0;
| }
|
|