helderfarias / react-native-mlkit-ocr

Google on-device MLKit Text Recognition for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-mlkit-ocr

Google on-device MLKit text recognition for React Native

Installation

npm install react-native-mlkit-ocr

Usage

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 bootstrap

To start the packager:

yarn example start

To run the example app on Android:

yarn example android

To run the example app on iOS:

yarn example ios

Contributing

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

License

MIT

About

Google on-device MLKit Text Recognition for React Native

License:MIT License


Languages

Language:Objective-C 31.9%Language:Java 20.2%Language:TypeScript 16.0%Language:Ruby 13.5%Language:Kotlin 13.2%Language:JavaScript 4.6%Language:C 0.3%Language:Swift 0.2%