HOGDescriptorDetectROI Method
|
evaluate specified ROI and return confidence value for each location
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic void DetectROI(
Mat img,
Point[] locations,
out Point[] foundLocations,
out double[] confidences,
double hitThreshold = 0,
Nullable<Size> winStride = null,
Nullable<Size> padding = null
)
Public Sub DetectROI (
img As Mat,
locations As Point(),
<OutAttribute> ByRef foundLocations As Point(),
<OutAttribute> ByRef confidences As Double(),
Optional hitThreshold As Double = 0,
Optional winStride As Nullable(Of Size) = Nothing,
Optional padding As Nullable(Of Size) = Nothing
)
public:
void DetectROI(
Mat^ img,
array<Point>^ locations,
[OutAttribute] array<Point>^% foundLocations,
[OutAttribute] array<double>^% confidences,
double hitThreshold = 0,
Nullable<Size> winStride = nullptr,
Nullable<Size> padding = nullptr
)
member DetectROI :
img : Mat *
locations : Point[] *
foundLocations : Point[] byref *
confidences : float[] byref *
?hitThreshold : float *
?winStride : Nullable<Size> *
?padding : Nullable<Size>
(* Defaults:
let _hitThreshold = defaultArg hitThreshold 0
let _winStride = defaultArg winStride null
let _padding = defaultArg padding null
*)
-> unit
function DetectROI(img, locations, foundLocations, confidences, hitThreshold, winStride, padding);
Parameters
- img
- Type: OpenCvSharpMat
- locations
- Type: OpenCvSharpPoint
- foundLocations
- Type: OpenCvSharpPoint
- confidences
- Type: SystemDouble
- hitThreshold (Optional)
- Type: SystemDouble
- winStride (Optional)
- Type: SystemNullableSize
- padding (Optional)
- Type: SystemNullableSize
See Also