Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv_traincascade with same size negatives (as positives)

We trained an LBP classifier and currently we dump all detections to disk. The size of these detection images is the same size we use for the positive samples (24x24).

What I would like to do now is to create a feedback loop in the training process. In other words. Use my false positives detection images to tell opencv_traincascade what is NOT our desired result. Current negatives are quite unspecific. Basically I would like to specify a "negatives.vec" file.

However the documentation states that the negatives must be larger than the positives.

What's the best way to include these false positives in a run of opencv_traincascade?