1.0.1 • Published 1 year ago
@vihlix/capacitor-text-reader v1.0.1
@vihlix/capacitor-text-reader
Text Detection From Images
Install
npm install @vihlix/capacitor-text-reader
npx cap syncAPI
detectText(...)
detectText(options: { filename: string; orientation?: ImageOrientation; }) => Promise<{ textDetections: TextDetection[]; }>| Param | Type |
|---|---|
options | { filename: string; orientation?: ImageOrientation; } |
Returns: Promise<{ textDetections: TextDetection[]; }>
Interfaces
TextDetection
| Prop | Type |
|---|---|
text | string |
Enums
ImageOrientation
| Members | Value |
|---|---|
Up | "UP" |
Down | "DOWN" |
Left | "LEFT" |
Right | "RIGHT" |