Skip to content

Instantly share code, notes, and snippets.

@danieldsf
Created May 17, 2020 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danieldsf/75e42c3d637a5350b551968039ee45f2 to your computer and use it in GitHub Desktop.
Save danieldsf/75e42c3d637a5350b551968039ee45f2 to your computer and use it in GitHub Desktop.
import pytesseract, cv2
img_cv = cv2.imread(r'./miki1.png')
img_rgb = cv2.cvtColor(img_cv, cv2.COLOR_BGR2RGB)
print("IMG 1")
print(pytesseract.image_to_string(img_rgb).replace("\n", ""))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment