Skip to content

Commit 968422d

Browse files
authored
Fix RST documentation formatting
1 parent ebd8048 commit 968422d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

README.rst

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,19 @@ Python Tesseract
55
:target: https://pypi.python.org/pypi/pytesseract
66
:alt: PyPI release
77

8-
98
.. image:: https://img.shields.io/github/release/madmaze/pytesseract.svg
109
:target: https://github.com/madmaze/pytesseract/releases
1110
:alt: Github release
1211

13-
1412
.. image:: https://img.shields.io/pypi/pyversions/pytesseract.svg
1513
:target: https://pypi.python.org/pypi/pytesseract
1614
:alt: PyPI version
1715

18-
1916
Python-tesseract is an optical character recognition (OCR) tool for python.
2017
That is, it will recognize and "read" the text embedded in images.
2118

22-
Python-tesseract is a wrapper for `Google's Tesseract-OCR Engine <https://github.com/tesseract-ocr/tesseract>`_. It is also useful as a
23-
stand-alone invocation script to tesseract, as it can read all image types
19+
Python-tesseract is a wrapper for `Google's Tesseract-OCR Engine <https://github.com/tesseract-ocr/tesseract>`_.
20+
It is also useful as a stand-alone invocation script to tesseract, as it can read all image types
2421
supported by the Python Imaging Library, including jpeg, png, gif, bmp, tiff,
2522
and others, whereas tesseract-ocr by default only supports tiff and bmp.
2623
Additionally, if used as a script, Python-tesseract will print the recognized
@@ -55,7 +52,7 @@ USAGE
5552
# Get verbose data including boxes, confidences, line and page numbers
5653
print(pytesseract.image_to_data(Image.open('test.png')))
5754
58-
# Get informations about orientation and script detection
55+
# Get information about orientation and script detection
5956
print(pytesseract.image_to_osd(Image.open('test.png'))
6057
6158
Support for OpenCV image/NumPy array objects
@@ -90,7 +87,7 @@ Add the following config, if you have tessdata error like: "Error opening data f
9087
9188
* **image_to_data** Returns result containing box boundaries, confidences, and other information. Requires Tesseract 3.05+. For more information, please check the `Tesseract TSV documentation <https://github.com/tesseract-ocr/tesseract/wiki/Command-Line-Usage#tsv-output-currently-available-in-305-dev-in-master-branch-on-github>`_
9289
93-
* **image_to_osd** Returns result containing informations about orientation and script detection.
90+
* **image_to_osd** Returns result containing information about orientation and script detection.
9491
9592
**Parameters**
9693
@@ -104,7 +101,7 @@ Add the following config, if you have tessdata error like: "Error opening data f
104101
105102
* **nice** Integer, modifies the processor priority for the Tesseract run. Not supported on Windows. Nice adjusts the niceness of unix-like processes.
106103
107-
* **output_type** Class attribute, specifies the type of the output, defaults to ``string``. For the full list of all supported types, please check the definition of `pytesseract.Output <https://github.com/madmaze/pytesseract/blob/master/src/pytesseract.py>`_ class.
104+
* **output_type** Class attribute, specifies the type of the output, defaults to ``string``. For the full list of all supported types, please check the definition of `pytesseract.Output <https://github.com/madmaze/pytesseract/blob/master/src/pytesseract.py>`_ class.
108105
109106
110107
INSTALLATION
@@ -124,6 +121,7 @@ Prerequisites:
124121
For Mac OS users. please install homebrew package **tesseract**.
125122
126123
| Installing via pip:
124+
127125
Check the `pytesseract package page <https://pypi.python.org/pypi/pytesseract>`_ for more information.
128126
129127
.. code-block:: bash

0 commit comments

Comments
 (0)