Skip to main content

Interface: VisionTextRegion

Defined in: packages/agentos/src/io/vision/types.ts:146

A detected text region within an image, with spatial coordinates and per-region confidence.

Properties​

bbox​

bbox: object

Defined in: packages/agentos/src/io/vision/types.ts:157

Bounding box in image coordinates (pixels). Origin is top-left corner of the image.

height​

height: number

width​

width: number

x​

x: number

y​

y: number


confidence​

confidence: number

Defined in: packages/agentos/src/io/vision/types.ts:151

Confidence score for this specific region (0–1).


text​

text: string

Defined in: packages/agentos/src/io/vision/types.ts:148

The text content within this region.