Class BaseOCR
base class BaseOCR declares a common API that would be used in a typical text recognition scenario
Inheritance
System.Object
BaseOCR
Assembly: OpenCvSharp.dll
Syntax
public abstract class BaseOCR : DisposableCvObject, ICvPtrHolder
Methods
|
Improve this Doc
View Source
Run(Mat, Mat, out String, out Rect[], out String[], out Single[], ComponentLevels)
Declaration
public abstract void Run(Mat image, Mat mask, out string outputText, out Rect[] componentRects, out string[] componentTexts, out float[] componentConfidences, ComponentLevels componentLevel = ComponentLevels.Word)
Parameters
Type |
Name |
Description |
Mat |
image |
|
Mat |
mask |
|
System.String |
outputText |
|
OpenCvSharp.Rect[] |
componentRects |
|
System.String[] |
componentTexts |
|
System.Single[] |
componentConfidences |
|
ComponentLevels |
componentLevel |
|
|
Improve this Doc
View Source
Run(Mat, out String, out Rect[], out String[], out Single[], ComponentLevels)
Declaration
public abstract void Run(Mat image, out string outputText, out Rect[] componentRects, out string[] componentTexts, out float[] componentConfidences, ComponentLevels componentLevel = ComponentLevels.Word)
Parameters
Type |
Name |
Description |
Mat |
image |
|
System.String |
outputText |
|
OpenCvSharp.Rect[] |
componentRects |
|
System.String[] |
componentTexts |
|
System.Single[] |
componentConfidences |
|
ComponentLevels |
componentLevel |
|
Implements