EasyDeepOCRRead

Support

Required licenses

EasyDeepOCR

Recommended images

Any image from the folder Sample Images/EasyDeepOCR

Location

Text and Code Reading/EasyDeepOCRRead

Purpose

This sample program demonstrates how to:

  • Read all the texts in an image with a single read call.

  • Load a model.

Code highlights

  1. Load a model.

    reader_.Load(openFileDialog.FileName);
    
  2. Initialize the reader.

    reader_.Initialize();
    
  3. Find all the text lines in the image.

    texts_ = reader_.Read(currentImage_);
    
  4. Draw the position of the text lines on the image.

    text.Draw(drawAdapter, zoom, zoom, x / zoom, y / zoom);