Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

By Prasanna-

You can open your "negative.dat" file in a text editor. As for verifying a vec file, Use the opencv_createsamples.exe by passing vec file, width and height as arguments and -show option. (For example, opencv_createsamples.exe -vec imgs/vector.vec -w 640 -h 480 -show). But why are you using such high resolution like 640x480? It will take ages to train.

Theres a waitKey(0) between showing samples from a vec file. Hit the enter key to go ahead. Make sure you merge the vecs created for each image.