Got the below error
test//input.png
Traceback (most recent call last):
File "image2text.py", line 47, in
image_file_to_text(imgname, w, h)
File "image2text.py", line 37, in image_file_to_text
string = image_to_text(pixels, width, height)
File "image2text.py", line 11, in image_to_text
for h in xrange(height):
NameError: name 'xrange' is not defined
Got the below error
test//input.png
Traceback (most recent call last):
File "image2text.py", line 47, in
image_file_to_text(imgname, w, h)
File "image2text.py", line 37, in image_file_to_text
string = image_to_text(pixels, width, height)
File "image2text.py", line 11, in image_to_text
for h in xrange(height):
NameError: name 'xrange' is not defined