Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 623 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 623 Bytes

react-native-mlkit-ocr-v2

MLKit for Text Recognition V2

https://github.com/agoldis/react-native-mlkit-ocr

https://developers.google.com/ml-kit/vision/text-recognition/v2

Installation

yarn add https://github.com/Jheysoon/react-native-mlkit-ocr-v2.git

Usage

import MlkitOcr from 'react-native-mlkit-ocr-v2';

// ...

const resultFromUri = await MlkitOcr.detectFromUri(uri);
const resultFromFile = await MlkitOcr.detectFromFile(path);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT