Ask Your Question

caseyw775's profile - activity

2016-07-01 02:35:23 -0600 received badge  Scholar (source)
2016-06-29 21:33:10 -0600 commented question How does the Transcascade collect negative samples?

Thanks for your response! I've understood what you said. But the variables in nextImg function makes me unclear on the whole procedure. It seems like random in the orderly.

2016-06-24 02:12:07 -0600 received badge  Enthusiast
2016-06-20 22:10:35 -0600 received badge  Editor (source)
2016-06-17 04:50:27 -0600 asked a question How does the Transcascade collect negative samples?

Hi all,

e.g. -numPos 2000 -numNeg 1000 -numStages 10 -w 20 -h 20 -minHitRate 0.995, -maxFalseAlarmRate 0.2

I have some questions about collecting neg samples.

1.According to the answer of the article(opencv_traincascade Negative samples training method), is 800 negative samples will be recognize as NEG and 200 negative samples be recognize as POS by 0th stage? If Yes, will those 200 samples be picked up to the next stage?

2.About the source code imagestorge.cpp ->NegReader::nextImg

What is meaning of "round"? if the current negative image is 1000x1000 pixels, will the image be cropped to many 20x20 images and randomly resized to predict function? How does the procedure of collect negative samples?

3.Why does the process of "NEG current samples" always count slowly by the high-stages?

Thanks in advance!