UNPKG

react-native-vision-camera-ocr-plus

Version:

React Native Vision Camera plugin for on-device text recognition (OCR) and translation using ML Kit. Maintained fork of react-native-vision-camera-text-recognition

8 lines (6 loc) 263 B
import { NativeModules } from 'react-native'; import type { Languages } from './types'; export async function RemoveLanguageModel(code: Languages): Promise<boolean> { const { RemoveLanguageModel: Remove } = NativeModules; return await Remove.remove(code); }