GUYS I THINK MAYBE IT WAS BROKEN ON OPENCV IDK

This commit is contained in:
Joseph Redmon
2018-09-13 16:53:20 -07:00
parent 680d3bde19
commit 810d7f797b
14 changed files with 206 additions and 295 deletions

View File

@ -609,10 +609,7 @@ void test_detector(char *datacfg, char *cfgfile, char *weightfile, char *filenam
else{
save_image(im, "predictions");
#ifdef OPENCV
cvNamedWindow("predictions", CV_WINDOW_NORMAL);
if(fullscreen){
cvSetWindowProperty("predictions", CV_WND_PROP_FULLSCREEN, CV_WINDOW_FULLSCREEN);
}
make_window("predictions", 512, 512, 0);
show_image(im, "predictions", 0);
#endif
}