Add a variant of detectMultiScale with an argument 'weights' that
receives the number of neighbors joined into each detected object
This commit is contained in:
@@ -382,6 +382,14 @@ public:
|
||||
Size minSize=Size(),
|
||||
Size maxSize=Size() );
|
||||
|
||||
CV_WRAP virtual void detectMultiScale( const Mat& image,
|
||||
CV_OUT vector<Rect>& objects,
|
||||
vector<int>& weights,
|
||||
double scaleFactor=1.1,
|
||||
int minNeighbors=3, int flags=0,
|
||||
Size minSize=Size(),
|
||||
Size maxSize=Size() );
|
||||
|
||||
CV_WRAP virtual void detectMultiScale( const Mat& image,
|
||||
CV_OUT vector<Rect>& objects,
|
||||
vector<int>& rejectLevels,
|
||||
@@ -390,7 +398,8 @@ public:
|
||||
int minNeighbors=3, int flags=0,
|
||||
Size minSize=Size(),
|
||||
Size maxSize=Size(),
|
||||
bool outputRejectLevels=false );
|
||||
bool outputRejectLevels=false,
|
||||
bool outputWeights=false );
|
||||
|
||||
|
||||
bool isOldFormatCascade() const;
|
||||
|
Reference in New Issue
Block a user