tech5's picture
Copied GitHub project to Hugging Face Space
7bdc074
raw
history blame contribute delete
240 Bytes
from PIL import Image
import pytesseract
# Load image and run OCR
image = Image.open("C:\\Users\\Acer\\Downloads\\ChatGPT Image May 3, 2025, 01_11_31 PM.png")
text = pytesseract.image_to_string(image)
print("Extracted Text:")
print(text)