Caffe-YOLOv3-Windows icon indicating copy to clipboard operation
Caffe-YOLOv3-Windows copied to clipboard

Question about imagedemoOpenCV

Open CalvinPaean opened this issue 5 years ago • 2 comments

Hi I really appreciate what you did.

I successfully built this project, but when I ran "demo_yolo_lite.cmd", I got the following error:

  • "imagedemoOpenCV Error: Requested object was not found (could not open directory: $RECYCLE.BIN\S-1-5-18) in glob_rec, file C:\Users\guillaume\work\caffe-builder\build_v140_x64\packages\opencv\opencv_download-prefix\src\opencv_download\modules\core\src\glob.cpp, line 257"

Could you help me? Thanks a lot.

CalvinPaean avatar Mar 02 '19 04:03 CalvinPaean

Fix the line 392 in ssd_detect.cpp

// char buf[1000]; // sprintf(buf, "%s/*.jpg", indir); // cv::String path(buf); //select only jpg

to

cv::String path("D:/Test_Data/yolo/*.jpg"); // the path u want to detect

VeryVery avatar Apr 25 '19 06:04 VeryVery

Change the line 393 in ssd_detect.cpp // sprintf(buf, "%s/.jpg", indir); sprintf(buf, "%s/.jpg", indir.c_str());

yuqing-zn avatar Jun 27 '19 08:06 yuqing-zn