Questions tagged [pytesser]

PyTesser is an Optical Character Recognition module for Python. It takes as input an image or image file and outputs a string.

PyTesser is an Optical Character Recognition module for Python. It takes as input an image or image file and outputs a string.

PyTesser uses the Tesseract OCR engine, converting images to an accepted format and calling the Tesseract executable as an external script. A Windows executable is provided along with the Python scripts. The scripts should work in other operating systems as well.

http://code.google.com/p/pytesser/

105 questions
0
votes
0 answers

pytesser, PIL : IOError: [Errno 2] No such file or directory

I'm trying to use pytesser but i have an error at the last line : OSError: [Errno 2] No such file or directory My code is Python 2.7 version : try: import Image except ImportError: from PIL import Image import os from pytesseract…
Rod
  • 712
  • 2
  • 12
  • 36
0
votes
1 answer

Numerical character recognition in Pytesser

I am working on a project that requires me to get prices from a commodity exchange. Unfortunately the exchange has no webservice or other plugin available that allows me to get the prices from the trading screen. I figured that I could automatically…
0
votes
0 answers

Setting up OCR tool in python

I am a complete code novice. I am trying to teach myself python and so far I've been able to do rudimentary scripting. I want to try and learn how to use an OCR which might be somewhat advanced for me, but I'm doing it for fun so I have all the time…
S.Slusky
  • 232
  • 4
  • 12
0
votes
1 answer

Installed pytesser, but can't import it

I am trying to install PyTesser to use as an OCR in my script. The README in its .zip source says: PyTesser has no installation functionality in this release. Extract pytesser.zip into directory with other scripts. I then extracted…
0
votes
1 answer

How to load the math tesseract module?

So I am new to use tesseract and I want to load the math input module. Unfortunately, I do not know how to use it with the math module as found in this link. How do I made this properly load? Will it load the trained data by default? I've already…
Skylion
  • 2,696
  • 26
  • 50
0
votes
1 answer

pytesser subprocess.Popen fail

since yesterday im trying to use the OCR pytesser. I solved few problems by myself but i c'ant figure out how to get ride of this one. there is the error : H:\Python27>python.exe lol.py Traceback (most recent call last): File "lol.py", line 30, in…
TyLo
  • 19
  • 3
0
votes
1 answer

Pytesser in Python 2.7.9 - print image_to_string(image) error

I'm using Pytesser for python OCR. I've installed PIL and Pytesser and I've run this codes: from pytesser import * image = Image.open('C:\\Users\\panzer400\\Desktop\\fnord.tif') print image_to_string(image) Then this error comes up Traceback…
0
votes
1 answer

how to make pytesser (Tesseract) work?

I'm trying to make pytesser (downloadable here) work on my mac OS, but I don't succeed. I installed Tesseract, PIL and all the dependencies. I unzipped pytesser in my python lib folder and modified the script file into __init__.py in the init file…
DaniPaniz
  • 1,058
  • 2
  • 13
  • 24
-1
votes
1 answer

How to process this image for Pytesseract?

I want to solve automatically captchas like this one. I have been trying processing image to make Pytesseract be able to read it, but no success. Can you help me? image I try this: import cv2 from pytesseract import image_to_string import…
gino5432
  • 1
  • 1
-1
votes
1 answer

Extract text from PNG images using Python tesseract

Recently, I took a project. Converting a scanned PDF to searchable PDF/word using Python tesseract. After few attempts, I could able to convert scanned PDF to PNG image files and afterwards, I'm struck could anyone please help me to convert the PNG…
Deepak
  • 430
  • 1
  • 7
  • 14
-1
votes
2 answers

How to convert image to number

I want to convert an image DataURL into a number on javascript for my chrome extension The images look like this In Python, it is possible with pytesser or pytesseract but i don't know how do that with javascript (and JQuery) only. There are some…
Rod
  • 712
  • 2
  • 12
  • 36
-2
votes
1 answer

How to convert .png images to text using Python

Recently, I took a project. Converting a scanned PDF to searchable PDF/word using Python tesseract. After few attempts, I could able to convert scanned PDF to PNG image files and afterwards, I'm struck could anyone please help me to convert the PNG…
Deepak
  • 430
  • 1
  • 7
  • 14
-2
votes
1 answer

In Python3.5:NameError: name 'image_to_string' is not defined

I have tried to print pytesser,it told me that name 'pytesser' is not defined.I have import pytesser,but I don't know why It hasn't defined?
jinling
  • 1
  • 1
-2
votes
1 answer

OCR: Extract text from Image

I am working on the program to extract text from the image. For that I tried with Tessaract and Ocropus libraries and I am able to convert simple plain text (black and white with simple font) from image to text string. For example: But I am not…
Moinuddin Quadri
  • 46,825
  • 13
  • 96
  • 126
-2
votes
1 answer

pytesser doesn't work in python

I am using only PIL then it's work properly when I use pytesser then it doesn't work properly .What can i do for it? from PIL import Image from pytesser import * image_file = Image.open("vote.jpg") im = Image.open(image_file) text =…
alibaba
  • 61
  • 5
1 2 3 4 5 6
7