1.0.0 • Published 11 months ago
@vihlix/capacitor-text-reader v1.0.0
@vihlix/capacitor-text-reader
Text Detection From Images
Install
npm install @vihlix/capacitor-text-reader
npx cap sync
API
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" |
1.0.0
11 months ago