Table of Contents

Class BaseOCR

Namespace
OpenCvSharp.Text
Assembly
OpenCvSharp.dll

base class BaseOCR declares a common API that would be used in a typical text recognition scenario

public abstract class BaseOCR : CvPtrObject, IDisposable
Inheritance
BaseOCR
Implements
Derived
Inherited Members

Constructors

BaseOCR(nint, nint, Action<nint>)

Factory-pattern constructor. smartPtr is a cv::Ptr<T>* that owns the object lifetime; rawPtr is the T* extracted from it for P/Invoke.

Methods

Run(Mat, Mat, out string, out Rect[], out string?[], out float[], ComponentLevels)
Run(Mat, out string, out Rect[], out string?[], out float[], ComponentLevels)