0.1.2 • Published 6 months ago
expo-text-extractor v0.1.2
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
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[]>;