Skip to content

Instantly share code, notes, and snippets.

Last active March 18, 2021 20:14
What would you like to do?
from PIL import Image
except ImportError:
import Image
import pytesseract
def ocr_extraction(filename):
This function will handle the core OCR processing of images.
text = pytesseract.image_to_string(
return text
Copy link

OCR Extraction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment