Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Most likely that your problem is that you take too many numPos and too large minHitRate. How many unique positive samples do you have in your vec-file? Please note that you need unique samples, you can't take one object and then warp it in different ways to get many samples. So, if you have at least 5000 samples, your parameters are probably OK, but if less than 4000, then traincascade tool is right, it can't get enough samples to satisfy you minHitRate which is 99.9% in your case.

So, I would recommend you to decrease the minHitRate to something reasonable and check that your training set (vec-file) is large enough.