react-native-executorch
Version:
An easy way to run AI models in react native with ExecuTorch
9 lines • 469 B
TypeScript
import type { TurboModule } from 'react-native';
import { OCRDetection } from '../types/ocr';
export interface Spec extends TurboModule {
loadModule(detectorLargeSource: string, detectorNarrowSource: string, recognizerSource: string, symbols: string, independentCharacters: boolean): Promise<number>;
forward(input: string): Promise<OCRDetection[]>;
}
declare const _default: Spec | null;
export default _default;
//# sourceMappingURL=NativeVerticalOCR.d.ts.map