code wiki / ocr

topic: ocr

9 modules sharing the ocr name family (derived from the tree's prefix discipline).

The 'ocr' topic family in the Nishi sovereign ecosystem focuses on transforming scanned glyphs into readable text through a structured scanning stack. nx_ocr_classify serves as the recognition core, converting glyph boxes into characters using templates, while nx_ocr_assemble groups these recognized glyphs into lines to form coherent text. nx_ocr_legibility_census acts as the mechanical legibility judge, assessing the quality of OCR output, ensuring accuracy and consistency across the system.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_ocr_assemble.nxR5 of the sovereign scanning stack: recognized glyphs -> text. Groups glyphs into lines by851
nx_ocr_assemble_gate.nxproves R5 (glyphs -> text). Glyphs fed in SCRAMBLED order (C, A, D, B): 'A','B','C' on432
nx_ocr_bench_render.nxOCR-LEGIBILITY harness, OUR side: render the bench page through the REAL634
nx_ocr_classify.nxR4 of the sovereign scanning stack: glyph box -> character. The recognition core: resample483
nx_ocr_classify_gate.nxproves R4 (glyph -> character). Templates for '0','1','7' on a 3x5 grid. Renders a '7'673
nx_ocr_legibility_census.nxTHE MECHANICAL LEGIBILITY JUDGE (operator 2026-07-03: "it should be an20912
nx_ocr_recall.nxCLI for the sovereign OCR-recall scorer (math in nx_ocr_recall_lib, so the gate383
nx_ocr_recall_gate.nx594
nx_ocr_recall_lib.nxthe reading-recall SCORING MATH as a shared lib (single-responsibility: the CLI1044