推荐的参数是什么CascadeClassifier::detectMultiScale(),取决于我应该更改默认参数的因素?
void CascadeClassifier::detectMultiScale(
const Mat& image,
vector<Rect>& objects,
double scaleFactor=1.1,
int minNeighbors=3,
int flags=0,
Size minSize=Size(),
Size maxSize=Size() )
Run Code Online (Sandbox Code Playgroud) 在OpenCV中的cascadedetect.cpp中,有几种groupRectangles函数变体:
void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, double eps);
void groupRectangles(std::vector<Rect>& rectList, std::vector<int>& weights, int groupThreshold, double eps);
void groupRectangles(std::vector<Rect>& rectList, std::vector<int>& rejectLevels, std::vector<double>& levelWeights, int groupThreshold, double eps);
Run Code Online (Sandbox Code Playgroud)
但是在OpenCV文档中,只清楚地记录了第一个变体,提到了第二个变体,但weights没有解释参数.第三个甚至没有提到.
谁能解释的含义weights,rejectLevels和levelWeights?