Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Facial detection positive sample vector size

After looking at the documentation, papers and tutorials for creating a LBP cascade, I still don't know how the image size of vector file created from positive samples affect the cascade created. Here's the command I'm talking about if it's not clear, and specifically width(-w) and height(-h) values.

opencv_createsamples.exe -info p_samples.info -num 1000 -w 20 -h 20 -vec ps.vec

I've two questions about this.

First one, does cascade detect faces smaller than width and height values defined?

And second one, does increasing the size of the width and height values increase the quality of the cascade created? If yes, is there a point of diminishing returns or one should use largest possible size if training time is not an issue?