Whole-page photos carry far more text than the one sentence someone wants, hurting OCR accuracy and letting stray text leak into notes. Adds a crop overlay (drag-to-select via Pointer Events, works for touch and mouse) between capture and OCR, with a "use full photo" escape hatch for already-tight shots. recognizeText now takes a Blob so it accepts either the cropped canvas output or the original file. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C3DGg1pvmvf81zXs4pk1J7 |
||
|---|---|---|
| .. | ||
| public/icons | ||
| scripts | ||
| src | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||