0.0.3 • Published 3 years ago
cap-ocr v0.0.3
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 syncAPI
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; }>