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.
I'd be glad about some help. As always, the documentation of opencv doesn't give me any hint about what to do.