Hi guys, now I'm workin on my False Human Detection projects. Can you tell me how to remove detected human after DetectMultiScale? So I can skip False Human Detection for the next frame detection.
For Example:
std::vector<cv::Rect> rects;
CascadeClassifier.detectMultiScale(frame, rects);
if(rects.size() > 0){
for(unsigned int r = 0; r < rects.size(); r++){
//DELETE DETECTED HUMAN (RECT) HERE!
}
}
I'll appreciate any help here, thanks. :)