EasyOCR2 - Reading Complex Texts

Purpose and Principles

EasyOCR2 is an optical recognition tool designed to read short texts such as serial numbers, expiry dates or lot codes printed on labels or on parts.

Source image

It segments pixels then detects text blobs and sets textboxes over the detected blobs following a user-defined topology.

Image segmentation
Textboxes fitting

The topology specifies the number of lines, words and characters in the text. You can also specify a character type (letter, digit and/or symbol) for each character in the text, to improve the recognition rate and speed.

EasyOCR2 supports up-to-360-degree rotated texts, non-uniform illumination and textured backgrounds as well as dot-printed or fragmented characters.

To recognize characters, EasyOCR2 uses a pretrained classifier, powered by deep learning technologies, or a classifier that was trained on your character database.

For each input character:

  • The classifier calculates a score for all candidate outputs.

  • It returns the candidate with the highest score as the recognition result.

Text recognition

Workflow

Learning Mode

Production Mode

../../../_images/workflow_production.svg

Contents

Using EasyOCR2

Learn how to use EasyOCR2.

Using EasyOCR2
Setting The Parameters

Learn how to correctly setup the parameters of EasyOCR2.

Advanced Parameters