//! evaluate specified ROI and return confidence value for each location in multiple scales
/** @brief evaluate specified ROI and return confidence value for each location in multiple scales
@param img Matrix of the type CV_8U or CV_8UC3 containing an image where objects are detected.
@param foundLocations Vector of rectangles where each rectangle contains the detected object.
@param locations Vector of DetectionROI
@param hitThreshold Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specfied
in the detector coefficients (as the last free coefficient). But if the free coefficient is omitted (which is allowed), you can specify it manually here.
@param groupThreshold Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it.
*/
virtualvoiddetectMultiScaleROI(constcv::Mat&img,
CV_OUTstd::vector<cv::Rect>&foundLocations,
std::vector<DetectionROI>&locations,
doublehitThreshold=0,
intgroupThreshold=0)const;
CV_OUTstd::vector<cv::Rect>&foundLocations,
std::vector<DetectionROI>&locations,
doublehitThreshold=0,
intgroupThreshold=0)const;
//! read/parse Dalal's alt model file
/** @brief read/parse Dalal's alt model file
@param modelfile Path of Dalal's alt model file.
*/
voidreadALTModel(Stringmodelfile);
/** @brief Groups the object candidate rectangles.
@param rectList Input/output vector of rectangles. Output vector includes retained and grouped rectangles. (The Python list is not modified in place.)
@param weights Input/output vector of weights of rectangles. Output vector includes weights of retained and grouped rectangles. (The Python list is not modified in place.)
@param groupThreshold Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it.
@param eps Relative difference between sides of the rectangles to merge them into a group.