LA2 Inference
transkribus_la_la2_inferenceRun LA2 model inference on document pages to detect and segment text lines and regions. Specify collection and document IDs, optional page range, threshold, and layout options.
Instructions
Run LA2 model inference on document pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID | |
| pages | No | Page range (e.g. "1-5" or "1,3,5") | |
| collId | Yes | Collection ID | |
| credits | No | Credits parameter | |
| modelId | No | Model/HTR ID | |
| threshold | No | Detection threshold (default 0.75) | |
| splitLines | No | Split lines | |
| addToPageXML | No | Add results to PAGE XML | |
| approxPolyFrac | No | Approximate polygon fraction (default 0.7) | |
| keepEmptyRegions | No | Keep empty regions | |
| lineOverlapFraction | No | Line overlap fraction (default 0.05) | |
| combineWithBaseLayout | No | Combine with base layout | |
| clusterLinesWithoutRegions | No | Cluster lines without regions |