{ "info": { "author": "Christopher Digirolamo", "author_email": "chrisdigirolamo@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": "PILtesseract\r\n=======\r\n[![](https://img.shields.io/pypi/v/piltesseract.svg?branch=master)](https://pypi.python.org/pypi/piltesseract)\r\n\r\nSimple Tesseract wrapper for converting PIL Images to text.\r\n\r\n**Warning:** PILtesseract is intended to only work with tesseract 3.03+,\r\none awesome feature added in 3.03 is the ability to pipe images via stdin,\r\nPILtesseract utilizes this feature.\r\n\r\nFeatures\r\n------------\r\n - Completely wraps [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract) command line optional arguments.\r\n - Sends [PIL](https://pillow.readthedocs.org/en/latest/) images to tesseract through stdin (avoids creating a temp file).\r\n - Works for Python 2 and 3.\r\n - All working code in [one file](https://github.com/Digirolamo/PILtesseract/blob/master/piltesseract/tesseractwrapper.py).\r\n - [MIT License](https://github.com/Digirolamo/PILtesseract/blob/master/LICENSE)\r\n - [Documentation](http://piltesseract.readthedocs.org/en/latest/)\r\n\r\nHere is a simple example:\r\n\r\n\r\n >>> from PIL import Image\r\n >>> from piltesseract import get_text_from_image\r\n >>> image = Image.open('quickfox.png')\r\n >>> get_text_from_image(image)\r\n 'The quick brown fox jumps over the lazy dog'\r\n\r\nSee [Advanced Example](http://piltesseract.readthedocs.org/en/latest/example.html) \r\nSee [Recipes](http://piltesseract.readthedocs.org/en/latest/recipes.html)\r\n\r\nRequirements\r\n------------\r\nMore detailed installation instructions can be found [here](http://piltesseract.readthedocs.org/en/latest/install.html).\r\n - [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract): 3.03 or higher\r\n - First install either from source or from [binaries](https://github.com/tesseract-ocr/tesseract/wiki).\r\n - Ensure that the tesseract binary folder is on your [PATH](https://en.wikipedia.org/wiki/PATH_(variable)).\r\n - [Pillow](https://pillow.readthedocs.org/en/latest/)\r\n - ```$ pip install Pillow```\r\n - [Six](https://pythonhosted.org/six/)\r\n - ```$ pip install six```\r\n\r\nInstall\r\n------------\r\n\r\n $ pip install piltesseract", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/Digirolamo/PILtesseract", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Digirolamo/PILtesseract/", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "piltesseract", "package_url": "https://pypi.org/project/piltesseract/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/piltesseract/", "project_urls": { "Download": "https://github.com/Digirolamo/PILtesseract", "Homepage": "https://github.com/Digirolamo/PILtesseract/" }, "release_url": "https://pypi.org/project/piltesseract/1.0.2/", "requires_dist": [ "six (>=1.8.0)" ], "requires_python": "", "summary": "Image-to-text Tesseract command line wrapper.", "version": "1.0.2" }, "last_serial": 2045624, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0b178be2ba55c7168348aac9f23865a5", "sha256": "cd5b7b6cb21be829160a75242d30119c37a66eeef3547bf509a07541b2352b4d" }, "downloads": -1, "filename": "piltesseract-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0b178be2ba55c7168348aac9f23865a5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3076, "upload_time": "2016-03-30T19:10:11", "url": "https://files.pythonhosted.org/packages/5e/f1/346bed6391053c6121b9ee3316258abbb515bcd5f15320e8023b1b5aa7f0/piltesseract-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "38216106391a7cd6d806d7bd8f551fb9", "sha256": "f5962fd8bebbec96b7edf5023c0cff6b699bf0d2ee74052326dfd20b06caca30" }, "downloads": -1, "filename": "piltesseract-0.0.1.zip", "has_sig": false, "md5_digest": "38216106391a7cd6d806d7bd8f551fb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2768, "upload_time": "2016-03-30T19:03:07", "url": "https://files.pythonhosted.org/packages/52/fa/c7cd12a0d35ab1aa802d1c98c687aec9256281ce2790615af04c901d8483/piltesseract-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a48447fff6ee527d27406c286be41c9c", "sha256": "3fbcdb6e0f292d6adac88396abf99b17dc515cfd2c6dec25fea244cfedfbcd02" }, "downloads": -1, "filename": "piltesseract-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a48447fff6ee527d27406c286be41c9c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6810, "upload_time": "2016-03-30T19:46:09", "url": "https://files.pythonhosted.org/packages/3d/40/e12161edec39db2cdebb576a332b9fe8310d133fd808f9feeccf737e5359/piltesseract-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "624181376ced9ab5d29cc05d453ede26", "sha256": "12846bf4dacc80f1ebf9a29e2fc89db3909d416385036f4dd108dc8dd2ce8705" }, "downloads": -1, "filename": "piltesseract-0.0.2.zip", "has_sig": false, "md5_digest": "624181376ced9ab5d29cc05d453ede26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8823, "upload_time": "2016-03-30T19:45:32", "url": "https://files.pythonhosted.org/packages/ca/ed/6aa8c32be95fee3e88e80634d1055eded3821f9503b7ff5b36f6e9d10719/piltesseract-0.0.2.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f017bc6a1168be5d32701bb0bbf00288", "sha256": "66a5899e6534c7d3c576bdb25bdaf8bb2395afaa0738ea80a79fc46cb32ecc77" }, "downloads": -1, "filename": "piltesseract-1.0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "f017bc6a1168be5d32701bb0bbf00288", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8028, "upload_time": "2016-04-04T19:47:15", "url": "https://files.pythonhosted.org/packages/f8/01/e0c84b75b70c1ed28c8fd7fbe50369a8f8f98adc9fe5b41150f9809bbc6a/piltesseract-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "166d1703fa00fcc3be81588435bd21ca", "sha256": "7844d871c83001d531a877e2c520e9245809e7f53c72e4129d71f416d3fdee72" }, "downloads": -1, "filename": "piltesseract-1.0.2.zip", "has_sig": true, "md5_digest": "166d1703fa00fcc3be81588435bd21ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10582, "upload_time": "2016-04-04T19:45:31", "url": "https://files.pythonhosted.org/packages/80/30/7388812e2bd43a3a65ce4c01651dbe1a7870d0bd07a79f4a4b0fcd9330a2/piltesseract-1.0.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f017bc6a1168be5d32701bb0bbf00288", "sha256": "66a5899e6534c7d3c576bdb25bdaf8bb2395afaa0738ea80a79fc46cb32ecc77" }, "downloads": -1, "filename": "piltesseract-1.0.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "f017bc6a1168be5d32701bb0bbf00288", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8028, "upload_time": "2016-04-04T19:47:15", "url": "https://files.pythonhosted.org/packages/f8/01/e0c84b75b70c1ed28c8fd7fbe50369a8f8f98adc9fe5b41150f9809bbc6a/piltesseract-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "166d1703fa00fcc3be81588435bd21ca", "sha256": "7844d871c83001d531a877e2c520e9245809e7f53c72e4129d71f416d3fdee72" }, "downloads": -1, "filename": "piltesseract-1.0.2.zip", "has_sig": true, "md5_digest": "166d1703fa00fcc3be81588435bd21ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10582, "upload_time": "2016-04-04T19:45:31", "url": "https://files.pythonhosted.org/packages/80/30/7388812e2bd43a3a65ce4c01651dbe1a7870d0bd07a79f4a4b0fcd9330a2/piltesseract-1.0.2.zip" } ] }