Table of Contents

Constructor TextRecognitionModel

Namespace
OpenCvSharp.Dnn
Assembly
OpenCvSharp.dll

TextRecognitionModel(string, string?)

Create text recognition model from network represented in one of the supported formats. An order of @p model and @p config arguments does not matter.

public TextRecognitionModel(string model, string? config = null)

Parameters

model string

Binary file contains trained weights.

config string

Text file contains network configuration.

TextRecognitionModel(Net)

Create model from deep learning network.

public TextRecognitionModel(Net network)

Parameters

network Net

Net object.