Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98807

pyTesseract not outputing text from image

$
0
0

maybe someone could help me! When I run the following code

import pytesseract from pytesseract import image_to_string from PIL import Image import PIL

file = Image.open('/usr/local/Cellar/tesseract/4.1.0/share/tessdata/cap.png') we_will = pytesseract.image_to_string(file) print(we_will)

all that gets outputed is Process finished with exit code 0 which is no help. What am I doing wrong??


Viewing all articles
Browse latest Browse all 98807


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>