Untitled

 avatar
unknown
plain_text
a month ago
260 B
2
Indexable
from PIL import Image
import pytesseract

# Load the uploaded image
image_path = "/mnt/data/image.png"
image = Image.open(image_path)

# Use OCR to extract text data from the image
extracted_text = pytesseract.image_to_string(image)

extracted_text
Editor is loading...
Leave a Comment