MCPcopy
hub / github.com/datalab-to/surya / __init__.py

File __init__.py

surya/recognition/__init__.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""RecognitionPredictor: per-block OCR via BLOCK_PROMPT.
2
3Given page images and corresponding LayoutResult (or any list of LayoutBox),
4crops each block, runs BLOCK_PROMPT, returns PageOCRResult per page.

Callers

nothing calls this directly

Calls 1

get_loggerFunction · 0.90

Tested by

no test coverage detected