opencv_traincascade: Calculating numstages numpos numneg

asked 2016-11-19 11:02:25 -0600

Tobyy gravatar image

updated 2016-11-21 10:15:55 -0600

Hello Everyone, I'm new in to OpenCv and Cascade training. How can I calculate -numstages -numpos -numneg. My .vec file contains 6 positive Samples. And i have 129 negative Images. Can you help me with the calculation?

edit retag flag offensive close merge delete

Comments

See here and other topics you can found using the search bar.

Eduardo gravatar imageEduardo ( 2016-11-22 03:46:23 -0600 )edit

I don't find my problem. I've now selected some more positives (36). But the training stops after the first stage. Even if i just do it with -numStages 2 -numPos 1 -numNeg 10. But why? After the calculation like in the link you posted, there must be enough images.

Tobyy gravatar imageTobyy ( 2016-11-23 05:46:26 -0600 )edit

3600 positives would be realistic. (and give like 80% of what you have to numPos)

berak gravatar imageberak ( 2016-11-23 05:48:49 -0600 )edit