createsamples throws invalid syntax error: following documentation

asked 2017-03-29 15:05:34 -0500

I'm converting my own marked up collection in a info.dat file to vec file using this steps here following the docs for 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?

edit retag flag offensive close merge delete


"invalid syntax" means -- the shell did not find your program ! (it's not about the arguments)

berak gravatar imageberak ( 2017-03-30 00:44:19 -0500 )edit