capacitor-mlkit
v0.0.14
Published
Allow using Google MLKit in capacitor app
Downloads
9
Readme
capacitor-mlkit
Allow using Google MLKit in capacitor app
Install
npm install capacitor-mlkit
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
mlKitOcr(...)
mlKitOcr(options: { lang: string; data: string; bounding: string | null; }) => Promise<{ status: string; data: any | null; message: string | null; }>
| Param | Type |
| ------------- | ---------------------------------------------------------------------- |
| options
| { lang: string; data: string; bounding: string | null; } |
Returns: Promise<{ status: string; data: any; message: string | null; }>
mlKitOcrScreen(...)
mlKitOcrScreen(options: { lang: string; bounding: string | null; }) => Promise<{ status: string; data: any | null; message: string | null; }>
| Param | Type |
| ------------- | -------------------------------------------------------- |
| options
| { lang: string; bounding: string | null; } |
Returns: Promise<{ status: string; data: any; message: string | null; }>