EasyDeepOCR - Reading Texts with Deep Learning¶
Purpose¶
EasyDeepOCR is a new generation OCR library that relies on deep learning technologies to tackle modern text reading challenges.
EasyDeepOCR features:
Zero-configuration text location and recognition
Text filtering through topologies
Improved speed on x86_64 CPUs with OpenVINO and NVIDIA GPUs with TensorRT
Optional further speed optimization using only a few labeled samples
A fully featured eVision Studio tool and samples showcasing the entire workflow of EasyDeepOCR.
EasyDeepOCR is a major improvement over the EasyOCR and EasyOCR2 libraries, combining ease of use and enhanced capabilities.
Reading a Text¶
Create an
ETextReader.NET Python and initialize it.Call
ETextReader::Read.NET Python to get the texts of an image.
#include <eVision/EasyOcr/EasyDeepOCR/ETextReader.h>
using namespace eVision;
namespace EDO = eVision::EasyDeepOCR;
// Create an ETextReader instance
EDO::ETextReader reader;
// Initialize the ETextReader
reader.Initialize();
// Read an image
EImageBW8 image;
image.Load("image.tif");
std::vector<EDO::EText> texts = reader.Read(image);
using eVision;
using EDO = eVision.EasyDeepOCR;
// Create an ETextReader instance
EDO.ETextReader reader = new EDO.ETextReader();
// Initialize the ETextReader
reader.Initialize();
// Read an image
EImageBW8 image = new EImageBW8();
image.Load("image.tif");
EDO.EText[] texts = reader.Read(image);
import eVision
from eVision import EasyDeepOCR as EDO
# Create an ETextReader instance
reader = EDO.ETextReader()
# Initialize the ETextReader
reader.Initialize()
# Read an image
image = eVision.EImageBW8()
image.Load("image.tif")
texts = reader.Read(image)
Contents¶
Scope, structured texts, custom use cases, workflow, inputs and outputs.
Reading, scoring, drawing, topologies, text angle, optimization, and split pipeline.
Execution settings and sample lists.
Train and use custom location, orientation and recognition models.
Quick Links¶
List of all Classes, Structs and Enumerations of the EasyDeepOCR library.
Code snippets for the EasyDeepOCR library.
Compare the capabilities of EasyDeepOCR, EasyOCR and EasyOCR2.
See also
Sample programs reading texts in an image: EasyDeepOcrRead and EasyDeepOcrReadConsole.