Interface: OCRDetection
Defined in: packages/react-native-executorch/src/types/ocr.ts:14
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: packages/react-native-executorch/src/types/ocr.ts:15
An array of points defining the bounding box around the detected text.
score
score:
number
Defined in: packages/react-native-executorch/src/types/ocr.ts:17
The confidence score of the OCR detection, ranging from 0 to 1.
text
text:
string
Defined in: packages/react-native-executorch/src/types/ocr.ts:16
The recognized text within the bounding box.