Skip to content Skip to sidebar Skip to footer

Pytesseract Is Too Slow. How Can I Make It Process Images Faster?

I am using pytesseract in the below code: def fnd(): for fname in list: x = None x = np.array([np.array(PIL.Image.open(fname))]) print x.size

Solution 1:

Pytesseract writes and reads every image you pass it. This is unnecessary when running 35 images. Instead, you should use a python tesseract API interface. This will be significantly faster.


Post a Comment for "Pytesseract Is Too Slow. How Can I Make It Process Images Faster?"