Untitled

 avatar
unknown
plain_text
5 months ago
299 B
3
Indexable
from PIL import Image
import pytesseract

# Load the image from the provided file path
image_path = "/mnt/data/17328264998532518757293745809325.jpg"
image = Image.open(image_path)

# Use OCR to extract text from the image
extracted_text = pytesseract.image_to_string(image)
extracted_text
Editor is loading...
Leave a Comment