Skip to content

fix: Make easyocr a core dependency#15

Merged
biswasbiplob merged 1 commit intomainfrom
fix/easyocr-fallback-to-tesseract
Feb 10, 2026
Merged

fix: Make easyocr a core dependency#15
biswasbiplob merged 1 commit intomainfrom
fix/easyocr-fallback-to-tesseract

Conversation

@biswasbiplob
Copy link
Copy Markdown
Owner

Summary

  • Moved easyocr from optional [easyocr] extra to core dependencies
  • EasyOCR is the default OCR engine in both API and React frontend — users got OCRError: easyocr not installed when translating with OCR
  • Bumps version to 1.0.1

Test plan

  • uvx legacylipi api starts without errors
  • Upload PDF → Translate with OCR enabled → no easyocr import error
  • All 523 tests pass locally

🤖 Generated with Claude Code

easyocr was an optional extra but was the default OCR engine in both
the API and frontend. Users hitting "Translate" got an ImportError.
Move easyocr to core dependencies alongside pytesseract.

Bump version to 1.0.1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@biswasbiplob biswasbiplob merged commit 91d0feb into main Feb 10, 2026
3 checks passed
@biswasbiplob biswasbiplob deleted the fix/easyocr-fallback-to-tesseract branch February 10, 2026 17:45
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