Skip to content

Commit

Permalink
chore: add an image for tesseract test
Browse files Browse the repository at this point in the history
  • Loading branch information
wdpm committed Oct 8, 2024
1 parent 3980a25 commit ad70038
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added playground/linovelib-pc/bookid_2407_prelude_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion playground/linovelib-pc/tesseract_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
from PIL import Image

# Open the PNG image
image_path = './p.jpg'
# image_path = './p.jpg'
image_path = './bookid_2407_prelude_1.png'
image = Image.open(image_path)

print(pytesseract.get_languages())
Expand Down

0 comments on commit ad70038

Please sign in to comment.