cap-ocr
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

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; }>


Readme

Keywords

Package Sidebar

Install

npm i cap-ocr

Weekly Downloads

4

Version

0.0.3

License

MIT

Unpacked Size

39.9 kB

Total Files

27

Last publish

Collaborators

  • crowans