Table of Contents

Namespace OpenCvSharp.Text

Classes

BaseOCR

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

ERFilter

Base class for the 1st and 2nd stages of the Neumann and Matas scene text detection algorithm. Extracts the component tree (if needed) and filters the extremal regions (ER's) using a given classifier.

ERFilterCallback

Callback with the classifier used by ERFilter. Instances are obtained by loading a trained classifier model from a file; implementing a custom classifier in managed code is not supported.

OCRBeamSearchDecoder

Provides an interface for OCR using the Beam Search algorithm.

OCRBeamSearchDecoderClassifierCallback

Callback with the character classifier used by OCRBeamSearchDecoder. Instances are obtained by loading a trained classifier model from a file; implementing a custom classifier in managed code is not supported.

OCRHMMDecoder

Provides an interface for OCR using Hidden Markov Models.

OCRHMMDecoderClassifierCallback

Callback with the character classifier used by OCRHMMDecoder. Instances are obtained by loading a trained classifier model from a file; implementing a custom classifier in managed code is not supported.

OCRHolisticWordRecognizer

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.

OCRTesseract

Recognize text using the tesseract-ocr API.

Takes image on input and returns recognized text in the output_text parameter. Optionallyprovides also the Rects for individual text elements found(e.g.words), and the list of those text elements with their confidence values.

Enums

ClassifierType

OCR character classifier type.

ComponentLevels
DecoderMode

HMM/BeamSearch decoding algorithm.

ERFilterNMMode

computeNMChannels operation modes.

ErGroupingModes

text::erGrouping / text::detectRegions operation modes.

OcrEngineMode

Tesseract OCR engine mode.

PageSegMode

Tesseract page segmentation mode.