I am trying to use the WBDetector in OpenCV 3.1. I am trying to train it with positive and negative images from the INRIA dataset. Even when I try to train it with very few images, I am observing a crash. I am using the following function: wb_detector->train(pos_file_path,neg_file_path);
The crash seems to be due to some invalid matrix.
Any idea on what is going wrong?
Please help.