Skip to content

redbaty/EzOCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EzOCR

A wrapper around a tesseract wrapper, which aims to improve easy of use.

Features:

  • Automatically downloads language file from tessdata.
  • Makes string OCR interface easier to use.
  • Stream to Pix converter.

Usage

Example using a bitmap as input.

var pix = PixConverter.ToPix(bitmap);
var ocrText = await pix.GetTextAndEnsureData()
                       .CleanAndFlattenString();

Example using a stream as input.

var pix = imageStream.ConvertToPix();
var ocrText = await pix.GetTextAndEnsureData()
                       .CleanAndFlattenString();

Linux

To run in linux you need to install some dependencies, here's a great comment/thread exaplaining how to do it

About

A wrapper around tesseract.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages