| TextDetectorCNNDetect Method |
Method that provides a quick and simple interface to detect text inside an image
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public override void Detect(
InputArray inputImage,
out Rect[] bbox,
out float[] confidence
)
Public Overrides Sub Detect (
inputImage As InputArray,
<OutAttribute> ByRef bbox As Rect(),
<OutAttribute> ByRef confidence As Single()
)
public:
virtual void Detect(
InputArray^ inputImage,
[OutAttribute] array<Rect>^% bbox,
[OutAttribute] array<float>^% confidence
) override
abstract Detect :
inputImage : InputArray *
bbox : Rect[] byref *
confidence : float32[] byref -> unit
override Detect :
inputImage : InputArray *
bbox : Rect[] byref *
confidence : float32[] byref -> unit
Parameters
- inputImage
- Type: OpenCvSharpInputArray
an image to process - bbox
- Type: OpenCvSharpRect
a vector of Rect that will store the detected word bounding box - confidence
- Type: SystemSingle
a vector of float that will be updated with the confidence the classifier has for the selected bounding box
See Also