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
modelstringBinary file contains trained weights.
configstringText file contains network configuration.
TextRecognitionModel(Net)
Create model from deep learning network.
public TextRecognitionModel(Net network)
Parameters
networkNetNet object.