Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

agoldis/react-native-mlkit-ocr

Repository files navigation

react-native-mlkit-ocr

⚠️ The project is not active anymore. I moved on to building currents.dev - All-in-one Dashboard for Playwright Testing.

Consider using rn-mlkit-ocr.

Cheers!


Google on-device MLKit text recognition for React Native

Installation

npm install react-native-mlkit-ocr

Post-install Steps

iOS

Run

cd ios && pod install

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

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published