UNPKG

@gutenye/ocr-browser

Version:

Guten OCR is a high accurate text detection (OCR) Javascript/Typescript library that runs on Node.js, Browser, React Native and C++. Based on PaddleOCR and ONNX runtime

9 lines 448 B
import Ocr, { registerBackend } from '@gutenye/ocr-common'; import { splitIntoLineImages } from '@gutenye/ocr-common/splitIntoLineImages'; import { InferenceSession } from 'onnxruntime-web'; import { FileUtils } from './FileUtils.js'; import { ImageRaw } from './ImageRaw.js'; registerBackend({ FileUtils, ImageRaw, InferenceSession, splitIntoLineImages }); export * from '@gutenye/ocr-common'; export default Ocr; //# sourceMappingURL=index.js.map