Open larsoncs opened 8 years ago
keypoint.txt landmark is error?, ifstream fin2; locale::global(locale("")); fin2.open("oursTrain/keypoints.txt"); locale::global(locale("C")); string line; int sample_freq=0;
while(getline(fin2,line)) { sample_freq++; printf("loading test:%d\n",sample_freq); for(int j = 0;j < 29;j++) { fin2>>shapes(j,0); } for(int j = 0;j < 29;j++) { fin2>>shapes(j,1); } } for (int m=0;m<shapes.rows;++m) { circle(testImg1,Point(shapes(m,0),shapes(m,1)),3,Scalar(255)); } imwrite("mark_face.jpg",testImg1);
i find the testImg1 that it landmark error, thanks
keypoint.txt landmark is error?, ifstream fin2; locale::global(locale("")); fin2.open("oursTrain/keypoints.txt"); locale::global(locale("C")); string line; int sample_freq=0;
i find the testImg1 that it landmark error, thanks