Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.16 KB

File metadata and controls

45 lines (28 loc) · 1.16 KB

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[]>;