EasyDeepOCR - Reading Texts with Deep Learning

Texts read by the EasyDeepOCR library.

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

#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

Principles and Workflow

Scope, structured texts, custom use cases, workflow, inputs and outputs.

EasyDeepOCR Principles and Workflow
Detailed Usage

Reading, scoring, drawing, topologies, text angle, optimization, and split pipeline.

EasyDeepOCR Detailed Usage
Setting the Parameters

Execution settings and sample lists.

EasyDeepOCR Setting the Parameters
Retraining a Model

Train and use custom location, orientation and recognition models.

EasyDeepOCR Retraining a Model