Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- from PIL import Image # Importa o módulo Pillow
- import pytesseract # Módulo para a utilização da tecnologia OCR
- print( pytesseract.image_to_string( Image.open('nome_da_imagem.jpg') ) ) # Extraindo o texto da imagem
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement