Skip to content

Repository files navigation

Expo Text Extractor

Expo Text Extractor is a library that enables text recognition (OCR) using Google ML Kit on Android and Apple Vision on iOS.

Platform Compatibility

Android Device Android Emulator iOS Device iOS Simulator Web
✅ ✅ ✅ ✅ ❌

Demo

demo

Installation

To get started, install the library using Expo CLI:

npx expo install expo-text-extractor

Ensure your project is running Expo SDK 52+.

API Documentation

Check the example app for more details.

Supports Text Extraction

A boolean value indicating whether the current device supports text extraction.

const isSupported: boolean;

Extract Text From Image

Extracts text from an image and returns the recognized text as an array.

async function extractTextFromImage(uri: string): Promise<string[]>;

About

Expo Text Extractor is a library that enables text recognition (OCR) using Google ML Kit on Android and Apple Vision on iOS.

Topics

Resources

Stars

72 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages