@vihlix/capacitor-text-reader
v1.0.1
Published
Text Detection From Images
Readme
@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" |
