Results 1 to 10 of 10

Thread: Read text from image in python

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Location
    Chittagong,Bangladesh
    Beans
    148
    Distro
    Ubuntu 14.04 Trusty Tahr

    Read text from image in python

    How can I read text from any image file using python 3.x ???Is there any module for this?

  2. #2
    Join Date
    Oct 2007
    Beans
    1,914
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: Read text from image in python

    Do you mean Optical character recognition (OCR) or does your question refer to reading something like embedded comment texts from the image files?

  3. #3
    Join Date
    Apr 2011
    Location
    Chittagong,Bangladesh
    Beans
    148
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Read text from image in python

    yes, i mean OCR

  4. #4
    Join Date
    Oct 2007
    Beans
    1,914
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: Read text from image in python

    This is what a quick google search yielded for me: http://code.google.com/p/pytesser/ and http://stackoverflow.com/questions/5...odule-in-linux - Looks like a usable solution.

  5. #5
    Join Date
    Apr 2011
    Location
    Chittagong,Bangladesh
    Beans
    148
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Read text from image in python

    But http://code.google.com/p/pytesser/ is not for python 3.x ,it has been tested with Python 2.4 ....

  6. #6
    Join Date
    Oct 2007
    Beans
    1,914
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: Read text from image in python

    The first answer in http://stackoverflow.com/questions/5...odule-in-linux contains a code snippet that is so short that it should be easy to adapt to Python 3. Perhaps even no modification is necessary.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •