This commit is contained in:
2020-07-14 17:03:11 +08:00
parent bb686e4c20
commit 24b4bc79b9
16 changed files with 3 additions and 8 deletions

0
src/facenet.cpp Executable file → Normal file
View File

0
src/facenet.h Executable file → Normal file
View File

0
src/mtcnn.cpp Executable file → Normal file
View File

0
src/mtcnn.h Executable file → Normal file
View File

0
src/network.cpp Executable file → Normal file
View File

0
src/network.h Executable file → Normal file
View File

0
src/pBox.cpp Executable file → Normal file
View File

0
src/pBox.h Executable file → Normal file
View File

7
src/pikaqiu.cpp Executable file → Normal file
View File

@@ -226,8 +226,8 @@ void test_facenet(Mat &image, vector<Rect> &vecRect, vector<mydataFmt> &n) {
* 对比两张图两个人的emb
*/
void test() {
Mat image0 = imread("../test_img/jason0.jpeg");
Mat image1 = imread("../test_img/jason1.jpeg");
Mat image0 = imread("../test_img/tom1.jpeg");
Mat image1 = imread("../test_img/tom0.jpeg");
image0 = RS(image0);
image1 = RS(image1);
@@ -270,8 +270,7 @@ void test() {
start = clock() - start;
// cout<<"time is "<<start/10e3<<endl;
cout << "time is " << (double) start / CLOCKS_PER_SEC * 1000 << "ms" << endl;
waitKey(0);
// waitKey(5000);
waitKey(5000);
image0.release();
image1.release();
}