989c989,993 < int minNeighbors, int flags, CvSize minSize, CvSize maxSize ) --- > int minNeighbors, int flags, CvSize minSize, CvSize maxSize, > int horizon, > double relMarginTop, > double relMarginBottom, > int fixedMargin) 1004a1009 > bool doPerspectivePruning = (flags & CV_HAAR_DO_PERSPECTIVE_PRUNING) != 0; 1164a1170,1176 > int y1_ = cvRound((horizon - relMarginTop * winSize.height - fixedMargin)/ystep); > if (y1_ > startY) > startY = y1_; > int y2_ = cvRound((horizon + relMarginBottom * winSize.height + fixedMargin)/ystep); > if (y2_ < endY) > endY = y2_; >