EasyDeepOCRReadConsole¶
Support |
|
|---|---|
Required licenses |
EasyDeepOCR |
Recommended images |
Any image from the folder |
Location |
|
Purpose¶
This sample program demonstrates how to:
Read all the texts in an image with a single read call.
Load a model.
Set a topology.
Code highlights¶
Load a model.
reader.Load(modelPath);
Set a topology line.
EasyDeepOCR::ETopology topology({EasyDeepOCR::ETopologyLine(topologyStr)}); reader.SetTopology(topology);
Initialize the reader.
reader.Initialize();
Find all the text lines in the image.
texts = reader.Read(image);