Ask Your Question

Revision history [back]

Haar cascade - info.lst file not getting created (Object Detection)

Hi, I am working on Object detection using Haar cascade and I have ONE Positive image with 218 negative images. I gave the following command yet the extra positive images using the 218 negative images is not getting created. opencv_createsamples -img watch.jpg -bg bg.txt -info info/info.lst -pngoutput info -maxxangle 0.5 -maxyangle 0.5 -maxzangle 0.5 -num 200

Also the info.lst file is empty.

My positive image size is 50 X 50 and negative image data size is 100 X 100.

Please suggest what might be the error.