Notes/client
Claudio Schaad 366d43a13c Detect the page number from the scanned photo
After the cropped text is recognized, run a second OCR pass on the full,
uncropped photo (the crop usually cuts off the header/footer) and look
for a printed page number in the outermost lines: a standalone number
("42", "- 17 -"), a labelled one ("Seite 128", "p. 12"), or a number at
either end of a short running header on the first line.

The result fills the Page field only if it is still empty, with a hint
asking the user to check it. Failures are silent; the user can still
type the page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:27:49 +01: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 Detect the page number from the scanned photo 2026-11-06 15:27:49 +01: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