BaseOcrRun Method (Mat, String, Rect, String, Single, ComponentLevels)
|
Namespace:
OpenCvSharp.Text
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic abstract void Run(
Mat image,
out string outputText,
out Rect[] componentRects,
out string[] componentTexts,
out float[] componentConfidences,
ComponentLevels componentLevel = ComponentLevels.Word
)
Public MustOverride Sub Run (
image As Mat,
<OutAttribute> ByRef outputText As String,
<OutAttribute> ByRef componentRects As Rect(),
<OutAttribute> ByRef componentTexts As String(),
<OutAttribute> ByRef componentConfidences As Single(),
Optional componentLevel As ComponentLevels = ComponentLevels.Word
)
public:
virtual void Run(
Mat^ image,
[OutAttribute] String^% outputText,
[OutAttribute] array<Rect>^% componentRects,
[OutAttribute] array<String^>^% componentTexts,
[OutAttribute] array<float>^% componentConfidences,
ComponentLevels componentLevel = ComponentLevels::Word
) abstract
abstract Run :
image : Mat *
outputText : string byref *
componentRects : Rect[] byref *
componentTexts : string[] byref *
componentConfidences : float32[] byref *
?componentLevel : ComponentLevels
(* Defaults:
let _componentLevel = defaultArg componentLevel ComponentLevels.Word
*)
-> unit
function Run(image, outputText, componentRects, componentTexts, componentConfidences, componentLevel);
Parameters
- image
- Type: OpenCvSharpMat
- outputText
- Type: SystemString
- componentRects
- Type: OpenCvSharpRect
- componentTexts
- Type: SystemString
- componentConfidences
- Type: SystemSingle
- componentLevel (Optional)
- Type: OpenCvSharp.TextComponentLevels
See Also