Ask Your Question

positive's profile - activity

2017-03-29 15:08:49 -0600 asked a question createsamples throws invalid syntax error: following documentation

I'm converting my own marked up collection in a info.dat file to vec file using this steps here following the docs for 2.4.13.2 for #converting-the-marked-up-collection-of-samples-into-a-vec-format

but, it throws error as below:

opencv_createsamples -info info/info.dat -num 690 -w 15 -h 30 -vec positives.vec
                              ^

SyntaxError: invalid syntax

I'd done the same thing before using a single positive image and creating bunch of them from bg.txt file, except this time I collected my own samples. The documentation tells it should, but it isn't doing it. Why?