Click or drag to resize

HOGDescriptorDetectMultiScaleROI Method

evaluate specified ROI and return confidence value for each location in multiple scales

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public void DetectMultiScaleROI(
	Mat img,
	out Rect[] foundLocations,
	out DetectionROI[] locations,
	double hitThreshold = 0,
	int groupThreshold = 0
)

Parameters

img
Type: OpenCvSharpMat
Matrix of the type CV_8U or CV_8UC3 containing an image where objects are detected.
foundLocations
Type: OpenCvSharpRect
Vector of rectangles where each rectangle contains the detected object.
locations
Type: OpenCvSharpDetectionROI
Vector of DetectionROI
hitThreshold (Optional)
Type: SystemDouble
Threshold for the distance between features and SVM classifying plane. Usually it is 0 and should be specified 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.
groupThreshold (Optional)
Type: SystemInt32
Minimum possible number of rectangles minus 1. The threshold is used in a group of rectangles to retain it.
See Also