OpenCV createsamples example

Viewed 33529

I am trying to run the createsamples example from the OpenCV library. I can load in one image at a time and it seems to work fine. However, when I try to load in a collection of images I get a parse error. I am not sure if it is something in my collection file that is invalid or if I am missing something elsewhere. Below is the exact format of my text document.

Text document details:

Target1.JPG 1 0 0 1296 1152
Target2.jpg 1 0 0 1890 709

Command line call:

-info "C:\Users\seb\Desktop\Learning Samples\Target\Target.txt" -num 10 -vec "C:\Users\seb\Desktop\Learning Samples\Target\Target.vec" -maxxangle 0.6 -maxyangle 0 -maxzangle 0.3 -maxidev 100 -bgcolor 0 -bgthresh 0 -w 20 -h 20

Any help is greatly appreciated.

4 Answers
Related