react-native-mlkit-ocr
v0.3.0
Published
Google on-device MLKit text recognition for React Native
Maintainers
Readme
react-native-mlkit-ocr
Installation
npm install react-native-mlkit-ocrPost-install Steps
iOS
Run
cd ios && pod installUsage
import MlkitOcr from 'react-native-mlkit-ocr';
// ...
const resultFromUri = await MlkitOcr.detectFromUri(uri);
const resultFromFile = await MlkitOcr.detectFromFile(path);Example
To get started with the project, run yarn bootstrap in the root directory to install the required dependencies for each package:
yarn bootstrapTo start the packager:
yarn example startTo run the example app on Android:
yarn example androidTo run the example app on iOS:
yarn example iosContributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
