setimage in CascadeClassifier
I would like to know how to evaluate face detector at a particular location. I see that there is CascadeClassifier::Setimage option, but I get segmentation fault when I try to use it.
I looked at the objdetect.hpp, and found that the ::Setimage option as described in OpenCV documentation page, is actually in protected mode rather than public. Also I see that ::runat is protected. I think there is some error in the way it is currently done, or I may be wrong.
I am trying to hack a bit into the detection code. Till then If someone has an idea or can give an example file on how to use it efficiently, Please let me know.