Components
Detect text bounding boxes inside a polygon on a page
Changed onCrops the page to the polygon's bounding rect (with padding for PP-OCRv5 context), runs text detection on the crop, and filters detections by polygon centroid. One GPU round trip. Returns detected bboxes in page-pixel coords. Recognition is not performed; callers needing text content route the bboxes through /ocr-regions. Results are ephemeral and not persisted.
post/api/v0/components/{component_id}/schematic/detect-text-in-region
Request
- Base URLhttps://api.outerport.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
component_idstring required
Query parameters
vc_idstring required
Public ID of the target visual component
Request body
Response
Successful Response
Changes
- info
endpoint added
- info