Giter VIP home page Giter VIP logo

tesseract-ocr-re's Introduction

Tesseract 4 OCR Runtime Environment - Docker Container

Based on Alexander Pozdnyakov's Personal Package Archive tesseract-ocr - Tesseract command line OCR tool. If you want to compile Tesseract 4 yourself please take look at tesseractshadow/tesseract4cmp.

If you are not familiar with Docker please read Docker - Get Started.

Quick start

Prerequisites:

Scripted steps (cd ./scripts/):

  1. Run the image as the t4re ./run.sh or just start it if is stopped ./start.sh.
  2. Do some OCR test: ./test.sh.
  3. Stop t4re container instance: ./stop.sh.

tesseract-ocr-re's People

Contributors

kinjelom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tesseract-ocr-re's Issues

Arabic traineddata causes segfault

Using ara.traineddate for version 4.0 of tessaract, obtained here, causes the following error when running test.sh:

====== TASK TASK_12802_394560981 started ======
mgr->GetComponent(TESSDATA_INTTEMP, &fp):Error:Assert failed:in file adaptmatch.cpp, line 537
/bin/bash: line 1:    81 Segmentation fault      (core dumped) tesseract ../myfile.jpg myfile -l ara --psm 1 --oem 2 txt pdf hocr
====== Result files was copied to ./ocr-files/output/TASK_12802_394560981/ ======

What is the cause of this error?
And how can I resolve this?

Looping through images

Firstly, the program is very good and easily downloadable, installable, and operable.

Two things I wish to have that might not be difficult for the author to provide.

  1. Commenting code esp in the Dockerfile and script files.
  2. Suggest how one can loop through images to get tesseract to recognize multiple images and store the outputs (hOCR, PDF, and text) of each image in a different output file.

Appreciate if an early response may ensue. BTW, I have found a workaround but it may not be the best one.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.