Table of Contents

Class OCRHolisticWordRecognizer

Namespace
OpenCvSharp.Text
Assembly
OpenCvSharp.dll

Provides the functionality of segmented word spotting. Given a predefined vocabulary, a DictNet is employed to select the most probable word given an input image.

public sealed class OCRHolisticWordRecognizer : BaseOCR, IDisposable
Inheritance
OCRHolisticWordRecognizer
Implements
Inherited Members

Methods

Create(string, string, string)

Creates an instance of the OCRHolisticWordRecognizer class.

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

Recognizes text using a segmentation-based word-spotting classifier CNN. The mask parameter is ignored and only available for API compatibility.

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

Recognizes text using a segmentation-based word-spotting classifier CNN. The output text is always one that exists in the dictionary.