on-internet
← Community

Opencv Train Cascade error

Stack Overflow ·

I am trying to train a haar cascade using opencv_traincascade executable in opencv 3.1.0. For the moment I want to do this using only one positive even though the result is inconsistent, in order to be sure that I am passing the right parameters to opencv_createsamples and opencv_traincascade. bg.txt content: negatives/img_04436_c1.pgm negatives/img_04437_c1.pgm Negatives resolution: width: 1176 height: 640 Positives resolution: width: 40 height: 70 I am using the following command parameters: For opencv_createsamples: ./opencv_createsamples -img img_04569_c1.pgm -vec samples -bg bg.txt -maxxa

Comments

Sign in or sign up to comment and upvote.

No comments yet.