Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

problems with command opencv_createsamples.exe

Hi everyone,

I have a set of positive images, a file .txt with the description of the absolute paths of the images type( POSITIVE_RESIZED\F10_3.bmp 1 116 432 452 302 POSITIVE_RESIZED\F2_2.bmp 1 132 464 480 234 POSITIVE_RESIZED\F6_4.bmp 1 268 582 344 116 POSITIVE_RESIZED\G001.bmp 1 46 386 568 254 POSITIVE_RESIZED\G015.bmp 1 30 476 526 160 POSITIVE_RESIZED\G016.bmp 1 36 420 486 212 POSITIVE_RESIZED\G017.bmp 1 24 360 498 272 POSITIVE_RESIZED\G030.bmp 1 24 360 498 272 POSITIVE_RESIZED\G031.bmp 1 24 360 570 272) and I launch the command
opencv_createsamples.exe -info inf\infoPositive.txt -vec vecto.vec -num 116 -w 120 -h 48 by command-prompt.

The system says me this message: image description

What does it means? How can I solve the problem?

problems with command opencv_createsamples.exe

Hi everyone,

I have a set of positive images, a file .txt with the description of the absolute paths of the images type( POSITIVE_RESIZED\F10_3.bmp 1 116 432 452 302 POSITIVE_RESIZED\F2_2.bmp 1 132 464 480 234 POSITIVE_RESIZED\F6_4.bmp 1 268 582 344 116 POSITIVE_RESIZED\G001.bmp 1 46 386 568 254 POSITIVE_RESIZED\G015.bmp 1 30 476 526 160 POSITIVE_RESIZED\G016.bmp 1 36 420 486 212 POSITIVE_RESIZED\G017.bmp 1 24 360 498 272 POSITIVE_RESIZED\G030.bmp 1 24 360 498 272 POSITIVE_RESIZED\G031.bmp 1 24 360 570 272) and I launch the command
opencv_createsamples.exe -info inf\infoPositive.txt -vec vecto.vec -num 116 -w 120 -h 48 by command-prompt.

The system says me this message: image descriptionmessage:

OpenCV_error: Unknow error code -9 <> in cvSetImageROI, file C:\build\master_winpack-build-win64-vc14\opencv\modules\core\src\array.cpp, line 3022

What does it means? How can I solve the problem?