Tie annotations to the printed text they mark #101
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/rm-analyzer#101
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Part of #99 (agent plan review).
Problem:
read_pagesreturns handwriting and printed text as separate blobs, with no link between them. There are no stored stroke boxes (lines/stroke.ex:10), and printed text is plain text per page (printed_text/page.ex:15). Highlights are parsed with text and rects (lines/highlight.ex), but nothing consumes them, and OCR skips them (ocr/transcribe_worker.ex:101-103).Proposal:
lines/marks.exalready computes boxes) and anchor each to the nearest printed line/paragraph.read_pages(or a newread_annotations) returns a list of marks, each with kind (note, highlight, strike, circle/arrow), transcription, and the anchored printed text.Done when: for a marked-up plan PDF, an agent gets e.g.
note beside "Step 3: migrate the DB": "after the backup"andstruck through: "Step 5 ...", without guessing from the images.