Table of Contents

Class Cv2.Text

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

cv::text functions

public static class Cv2.Text
Inheritance
Cv2.Text
Inherited Members

Methods

ComputeNMChannels(InputArray, ERFilterNMMode)

Computes the different channels to be processed independently in the N&M algorithm.

CreateOCRHMMTransitionsTable(string, IEnumerable<string>)

Creates a tailored language model transitions table from a given list of words (lexicon). The result can be used as input for OCRHMMDecoder.Create and OCRBeamSearchDecoder.Create.

DetectRegions(InputArray, ERFilter, ERFilter)

Extracts text regions from an image, as contours.

DetectRegions(InputArray, ERFilter, ERFilter, ErGroupingModes, string, float)

Extracts text regions from an image, grouped as rectangular text blocks.

DetectTextSWT(InputArray, bool, OutputArray, OutputArray)

Applies the Stroke Width Transform operator followed by filtering of connected components of similar Stroke Widths to return letter candidates. It also chain them by proximity and size, saving the result in chainBBs.