Metadata-Version: 2.1
Name: pysseract
Version: 0.1.4
Summary: Python binding to Tesseract API
Home-page: https://github.com/xiahongze/pysseract
Author: Hongze Xia and Stephen Hogg
Author-email: hz.x@outlook.com
Maintainer: Hongze Xia
Maintainer-email: hz.x@outlook.com
License: GPL-3
Description: Pysseract
        =========
        
        [![Build Status](https://travis-ci.org/xiahongze/pysseract.svg?branch=master)](https://travis-ci.org/xiahongze/pysseract)
        
        A Python binding to [Tesseract API](https://github.com/tesseract-ocr/tesseract).
        
        [Documentation](https://pysseract.readthedocs.io/en/latest/pysseract.html) is hosted on *readthedocs*.
        
        ## Basic usage
        
        ```python
        import pysseract
        t = pysseract.Pysseract()
        t.SetImageFromPath('tests/001-helloworld.png')
        print(t.utf8Text)
        ```
        
        ## Building the package
        
        Requirements
        
        - gcc/clang with at least c++11 support
        - libtesseract, libtesseract-dev (equivalent on non-Debian/Ubuntu systems)
        - pybind11>=2.2
        
        ```bash
        python3 setup.py test build install
        ```
        
        # Building the documentation
        
        ```
        pip install sphinx sphinx_rtd_theme
        python3 setup.py build_sphinx
        ```
        
        You should find the generated html in `build/sphinx`.
        
        ## Contribute
        
        Look at [Tesseract BaseAPI](https://github.com/tesseract-ocr/tesseract/blob/master/src/api/baseapi.cpp)
        and import those functions of interest to `pymodule.cpp`.
        
        Please write a brief description in your wrapper function like those already in `pymodule.cpp`.
        
        ## Reference
        
        - [basic pybind11](https://pybind11.readthedocs.io/en/master/basics.html)
        - [class based pybind11](https://pybind11.readthedocs.io/en/master/classes.html)
        - [compiling with pybind11](https://pybind11.readthedocs.io/en/master/compiling.html)
        
        ## LICENSE
        
        GPLv3
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
