cap-ocr
v0.0.3
Published
This plugins enables text recognition from images and camera.
Downloads
10
Readme
cap-ocr
This plugins enables text recognition from images and camera.
WARNING - this plugin is still in early development. Use with caution.
Version 1.0.0 is expected to be stable and fully usable.
Install
npm install cap-ocr
npx cap sync
API
detectText(...)
detectText(options: { imageBase64: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------------- |
| options
| { imageBase64: string; } |
Returns: Promise<{ value: string; }>
detectData(...)
detectData(options: { imageBase64: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------------- |
| options
| { imageBase64: string; } |
Returns: Promise<{ value: string; }>