Skip to content

Expose local easyocr kwargs#894

Merged
baitsguy merged 1 commit into
mainfrom
local_easyocr_models
Oct 9, 2024
Merged

Expose local easyocr kwargs#894
baitsguy merged 1 commit into
mainfrom
local_easyocr_models

Conversation

@baitsguy
Copy link
Copy Markdown
Contributor

@baitsguy baitsguy commented Oct 9, 2024

Allow custom args for easyocr

with Image.open(TEST_DIR / "resources/data/imgs/sample-detr-image.png") as image:
    e = EasyOcr(model_storage_directory="/Users/vinayakthapliyal/.EasyOCR/model/", download_enabled=False)
    print(e.get_text(image))

@baitsguy baitsguy requested a review from karanataryn October 9, 2024 22:07
@baitsguy baitsguy marked this pull request as ready for review October 9, 2024 22:08
@baitsguy baitsguy enabled auto-merge (squash) October 9, 2024 22:09
@baitsguy baitsguy merged commit 5387daa into main Oct 9, 2024
@karanataryn karanataryn deleted the local_easyocr_models branch October 11, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants