
Runs Surya detection and recognition over each Image, emitting either a String transcript or structured regions with Polygon<Double> or Rectangle<Double> bounds, with math recognition and reading-order sorting.
Scrape document text from files and post-process with a text model over HTTP.
Pull pages over HTTP, OCR them with math recognition, and deliver the structured result.
task_name must be one of the supported task identifiers; any other value aborts startup. Use the boxes-bearing task so the recogniser returns geometry for the region arms.String transcript, a region consumer pins records with Polygon<Double> or Rectangle<Double> bounds. An empty Image short-circuits to the empty form of the resolved arm.device requesting CUDA resolves to CPU when no accelerator is visible. A frame whose recognition raises is dropped to the empty form of the resolved arm so the stream keeps running.recognition_batch_size, detector_batch_size, foundation_chunk_size, and foundation_max_tokens are VRAM knobs where zero means library default; foundation_model_quantize adds a quantisation pass.disable_math left off can pick up stray inline math markup on pure-prose pages; separator joins lines on the String arm and is ignored by the region arms.device, and every other parameter are bound once at startup; change a parameter by redeploying.Automated release