LatentSvmDetectorDetect Method
|
Find rectangular regions in the given image that are likely to contain objects of
loaded classes (models) and corresponding confidence levels.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic virtual LatentSvmDetectorObjectDetection[] Detect(
Mat image,
float overlapThreshold = 0.5f,
int numThreads = -1
)
Public Overridable Function Detect (
image As Mat,
Optional overlapThreshold As Single = 0.5F,
Optional numThreads As Integer = -1
) As LatentSvmDetectorObjectDetection()
public:
virtual array<LatentSvmDetectorObjectDetection^>^ Detect(
Mat^ image,
float overlapThreshold = 0.5f,
int numThreads = -1
)
abstract Detect :
image : Mat *
?overlapThreshold : float32 *
?numThreads : int
(* Defaults:
let _overlapThreshold = defaultArg overlapThreshold 0.5f
let _numThreads = defaultArg numThreads -1
*)
-> LatentSvmDetectorObjectDetection[]
override Detect :
image : Mat *
?overlapThreshold : float32 *
?numThreads : int
(* Defaults:
let _overlapThreshold = defaultArg overlapThreshold 0.5f
let _numThreads = defaultArg numThreads -1
*)
-> LatentSvmDetectorObjectDetection[]
function Detect(image, overlapThreshold, numThreads);
Parameters
- image
- Type: OpenCvSharpMat
An image. - overlapThreshold (Optional)
- Type: SystemSingle
Threshold for the non-maximum suppression algorithm. - numThreads (Optional)
- Type: SystemInt32
Number of threads used in parallel version of the algorithm.
Return Value
Type:
LatentSvmDetectorObjectDetectionThe detections: rectangulars, scores and class IDs.
See Also