ocrfeeder-cli --version (return code: 0)
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
/usr/lib/python2.7/dist-packages/ocrfeeder/util/lib.py:26: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
ocrfeeder-cli 0.8.1
ocrfeeder-cli --help (return code: 0)
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
/usr/lib/python2.7/dist-packages/ocrfeeder/util/lib.py:26: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk
Usage: ocrfeeder-cli -i IMAGE1 [-i IMAGE2, ...] -o FILE
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-i IMAGE1 [--image=IMAGE2, ...], --image=IMAGE1 [--image=IMAGE2, ...]
images to be recognized
-f PDF, HTML, ODT, TXT or SPDF (for a searchable PDF), --format=PDF, HTML, ODT, TXT or SPDF (for a searchable PDF)
format of the generated document
-o OUTPUT, --output=OUTPUT
the document to be generated
-e ENGINE, --engine=ENGINE
the OCR engine to be used. Options are: Cuneiform,
Ocrad, GOCR or Tesseract
-l LANGUAGE, --language=LANGUAGE
the language according to the ISO-639-1. For example
"pt" for Portuguese or "en" for English
--window-size=auto or an integer value
the segmentation algorithm window size