
Transcribes an Image to a String with the GOT-OCR2 vision-language model, reading the whole page or an interactive region in plain or layout-preserving markdown/LaTeX form. Suited to dense documents, formulas, and tables.
Transcribe document pages from files in formatted mode and post the markdown over HTTP.
Crop a region of interest, transcribe it, and summarise the result with a text model.
gotocr_mode switches between plain text and layout-preserving markdown/LaTeX output; choose the formatted mode for tables and formulas where structure matters.gotocr_box restricts reading to a rectangular region and gotocr_color restricts it to a drawn box of a named colour; leaving both unset reads the whole frame.gotocr_crop splits very wide or stitched two-page scans into patches and merges the results, improving accuracy at the cost of extra passes. Generation length is bounded internally, so very long pages may be truncated.device requesting CUDA runs the model on the GPU; without a compatible accelerator it resolves to CPU and continues at CPU latency. The weights run in single precision either way, because GOT-OCR2's decoder overflows to NaN in half precision.String with no per-region geometry; use a detection-based OCR component when bounding boxes are required.Automated release