ocr.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 25 Jan 2018 14:51:13 +0200
changeset 2219 f991bbf12a59
parent 2058 b6533d1e3019
child 2228 837f1337c59b
permissions -rw-r--r--
List of other users that have access to given user tables.

.. -*- coding: utf-8; -*-

======
 OCS.
======
.. contents::
   :local:

gocr.
=====
::

  $ gocr $IN.pnm >$OUT.txt

ocrfeeder.
==========

Document layout analysis and optical character recognition system::

  $ sudo apt-get install ocrfeeder

Using::

  $ ocrfeeder-cli --o $OUTDIR --format HTML --images $IN.pnm

tesseract.
==========

Installing::

  $ sudo apt-get install tesseract-ocr

Using::

  $ tesseract $IN.tif $OUT
  $ cat $OUT.txt

ocropus.
========

  $ ocropus hocr-to-text screen.ppm

ocrad
=====

Optical Character Recognition program::

  $ sudo apt-get install ocrad

Misc.
=====

unpapper