1 | initial version |
no, you can't.
to detect 2 different objects, you need 2 seperate CascadeClassifier instances, and load a seperate xml each.
"But then, we doing some of the job we have already done."
imho, that's not an issue. calculating the integral img for lena takes 0.001343 seconds on my box
(and imho you won't be able to share the feature extraction for different objects)