I'm getting an error to convert images into text when I'm working on Jupyter notebook using ubuntu. but when I'm working with windows I'm successfully retrieving text from Images. Please see on Image click here to see image
Asked
Active
Viewed 1,183 times
0
-
please put the error message you get (AttributeError) into the description here -- by providing clear information here you will get more answers – ehacinom Dec 05 '18 at 17:47
-
Are you saying this same script runs on Jupyter Notebooks in Windows but not on Ubuntu? – RufusVS Dec 05 '18 at 19:12
-
Your error message is implying that the image reference is expected to have a split method defined (probably a string), that doesn't seem to be result that the read you are doing is returning. – RufusVS Dec 05 '18 at 19:15
-
@RufusVS Yes, It's work on Jupyter Notebook in Windows but not in ubuntu. – CVK Dec 06 '18 at 08:16
-
I install tesseract inside Leptonica on my working dir it's seem like working but pytesseract doesn't working However I Install pytesseract using dockerfile. – CVK Dec 06 '18 at 08:22
-
After you read in the image, do a print(type(image)) or print(repr(image)) on both your Windows and Ubuntu versions and make sure they return the same thing on each platform. Also: Are both your Windows and Ubuntu notebooks running the same python kernel (2.7 or 3.x)? – RufusVS Dec 06 '18 at 15:23