
Runs PaddleOCR (PP-OCRv5) detection and recognition over each Image, emitting either a joined String transcript or per-line regions with Polygon<Double> or Rectangle<Double> bounds and optional confidence. Optional orientation and unwarping.
OCR document pages from files and post-process the transcript with a text model.
Pull frames over HTTP, OCR them, and deliver the structured regions.
String transcript, a region consumer pins per-line records with Polygon<Double> or Rectangle<Double> bounds. The polygon is PaddleOCR's native quad and the rectangle its axis-aligned bound.use_gpu requires CUDA at startup; there is no automatic switch to CPU for this setting.paddle_det_db_thresh, paddle_det_db_box_thresh, and paddle_det_db_unclip_ratio tune the DB detector; lower thresholds keep more candidate boxes and a larger unclip ratio widens them.use_doc_orientation_classify with doc_orientation_model corrects whole-page 0/90/180/270 rotation, use_doc_unwarping with doc_unwarping_model dewarps curled or photographed pages, and use_textline_orientation with textline_orientation_model corrects per-line 0/180 orientation. Each adds latency; disable a stage when the source is already flat.text_detection_model and text_recognition_model select the detection and recognition models, and the three preprocessing model slots select their stages; each selected model is resolved into the shared model cache under paddlex_revision and loaded from there at startup. Changing any selection rebinds the engine at the next deploy.paddle_lang, every model selection, and every preprocessing toggle are bound when the engine is constructed at startup; changing them requires a redeploy.Automated release