Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 322

Createsamples.exe: Error Code -9

$
0
0
Hi there, as I finished creating my info.txt file containg the absolute paths to the images and the rectangle information of my desired objects to be detected, I just ran opencv_createsamples.exe -info C:\Software\training\file.txt -vec C:\Software\training\samples.vec -w 20 -h 20 Unfortunaley I get an error code -9, saying: > OpenCV Error: Unknown error code -9 () in cvSetImageROI, file C:\build\master_winpack-build-win64-vc14\opencv\modules\core\src\array.cpp, line 3021 Anyone knows what's that about? Further it says it's not able to open my image, which is in a .jpg format. The funny thing is, that the specified location (C:\build\master_winpack-build-win64-vc14\....) doesn't even exist. Not even in the opencv-folder. So is this a mess by opencv (like bad handling of paths)? I'd be glad about some help. As always, the documentation of opencv doesn't give me any hint about what to do.

Viewing all articles
Browse latest Browse all 322

Trending Articles