Notes/client
Claudio Schaad 3da4dec452 Let the user crop the scanned photo before OCR
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
2026-08-27 18:43:47 +02:00
..
public/icons Add a real PWA icon (notes glyph) instead of a flat color placeholder 2026-08-27 17:54:17 +02:00
scripts Add a real PWA icon (notes glyph) instead of a flat color placeholder 2026-08-27 17:54:17 +02:00
src Let the user crop the scanned photo before OCR 2026-08-27 18:43:47 +02:00
index.html Add a real PWA icon (notes glyph) instead of a flat color placeholder 2026-08-27 17:54:17 +02:00
package.json Add camera scan-to-text for notes via on-device OCR 2026-08-27 18:19:25 +02:00
tsconfig.json Scaffold Reading Notes app: React/Vite PWA client, Express server with Nextcloud Collectives integration 2026-08-26 20:07:40 +02:00
vite.config.ts Add a real PWA icon (notes glyph) instead of a flat color placeholder 2026-08-27 17:54:17 +02:00