Skip to content

Fix incorrect OCR model path in Tk apps#123

Open
sushantkhemalapure wants to merge 4 commits into
humanai-foundation:mainfrom
sushantkhemalapure:fix/ocr-model-path
Open

Fix incorrect OCR model path in Tk apps#123
sushantkhemalapure wants to merge 4 commits into
humanai-foundation:mainfrom
sushantkhemalapure:fix/ocr-model-path

Conversation

@sushantkhemalapure
Copy link
Copy Markdown

Issue

The Tk apps currently load the TrOCR model from ../../weights, which contains CRAFT weights instead of OCR model files.

Fix

Updated the model path to ../../models to correctly load the OCR model.

Impact

  • Fixes incorrect OCR initialization
  • Prevents potential runtime errors due to wrong model loading

Testing

  • Ran the Tk apps locally
  • Verified that the OCR model loads correctly without errors

@sushantkhemalapure
Copy link
Copy Markdown
Author

Happy to make any changes if needed.

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.

1 participant