Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 1.22 KB

File metadata and controls

36 lines (19 loc) · 1.22 KB

Interface: OCRDetection

Defined in: types/ocr.ts:13

OCRDetection represents a single detected text instance in an image, including its bounding box, recognized text, and confidence score.

Properties

bbox

bbox: Point[]

Defined in: types/ocr.ts:14

An array of points defining the bounding box around the detected text.


score

score: number

Defined in: types/ocr.ts:16

The confidence score of the OCR detection, ranging from 0 to 1.


text

text: string

Defined in: types/ocr.ts:15

The recognized text within the bounding box.