Expand description
Pure-image set-of-marks overlay.
Numbers every rectangle in boxes on a copy of source and draws a small
filled label in the top-left of each rect. Numerals are rendered with an
embedded 4x6 bitmap font so the module stays free of fontdue or any
platform font APIs.
Structs§
Functions§
- draw_
marks - Draw
boxeson a copy ofsourceand return the marked image. - marks_
for_ nodes - Numbered boxes for every node of
rootwhose frame lands insidemap. - ocr_
label - Map an OCR observation (zero-based) to the
oNlabel the protocol uses. - tree_
label - Map an element index from the latest tree to its label.