feat: Adds an OCR subpage #100
Loading…
Reference in a new issue
No description provided.
Delete branch "select-text-to-extract-paint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds an OCR subpage: renders the PDF client-side with pdf.js, lets the user brush/erase/marquee word boxes per page, autosaves the selection to a new ocr_selection JSONB column, and "Apply to text" assembles selected words into content. OCR job controls move from the Text page to this page. Solid structure overall: selection state normalized (default + per-page overrides), word geometry isolated in tested pure functions, pdf.js lazy-loaded and wasm assets handled via predev/prebuild.