| 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
)
Public Sub DetectMultiScaleROI (
img As Mat,
<OutAttribute> ByRef foundLocations As Rect(),
<OutAttribute> ByRef locations As DetectionROI(),
Optional hitThreshold As Double = 0,
Optional groupThreshold As Integer = 0
)
public:
void DetectMultiScaleROI(
Mat^ img,
[OutAttribute] array<Rect>^% foundLocations,
[OutAttribute] array<DetectionROI^>^% locations,
double hitThreshold = 0,
int groupThreshold = 0
)
member DetectMultiScaleROI :
img : Mat *
foundLocations : Rect[] byref *
locations : DetectionROI[] byref *
?hitThreshold : float *
?groupThreshold : int
(* Defaults:
let _hitThreshold = defaultArg hitThreshold 0
let _groupThreshold = defaultArg groupThreshold 0
*)
-> unit
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