Skip to content

Instantly share code, notes, and snippets.

@cristianzsh
Created October 28, 2021 17:42
Show Gist options
  • Save cristianzsh/5223f6a72667f8d21b50283782d4c538 to your computer and use it in GitHub Desktop.
Save cristianzsh/5223f6a72667f8d21b50283782d4c538 to your computer and use it in GitHub Desktop.
OSINT: Exemplo de OCR
import pytesseract as ocr
from PIL import Image
text = ocr.image_to_string(Image.open("imagem.png"))
print(text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment