Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. the amount of scales is defined by the scaleFactor parameter. Starting from the minimum size window, the window will be scaled by that factor until it reaches the maximum size. If, for example the minimum size is 50x50, the scale factor is 1.1 and the maximum size is 200x200, you would get 15 scaling steps (50, 55, 61, 66, 73, 80, 89, 97, 107, 118, 130, 143, 157, 173, 190) At least, that's how I think it works ;)

  2. There are different cascades available in OpenCV and they probably used different databases for training, but I can't tell you, which ones.

  3. Here you get a lot of informations on how to train and test haar cascades. I hope it helps.