@qduc/easyocr-web
v0.1.3
Published
Web runtime for easyocr.js
Readme
@qduc/easyocr-web
Browser runtime for easyocr.js, a JavaScript port of EasyOCR.
This package provides browser-compatible implementations for image loading (via Canvas) and inference (via onnxruntime-web).
Installation
npm install @qduc/easyocr-web @qduc/easyocr-coreQuick Start (React/Vue/Svelte)
import * as ort from 'onnxruntime-web';
import { loadImage, recognize } from '@qduc/easyocr-web';
// Configure WASM path
ort.env.wasm.wasmPaths = 'https://cdn.jsdelivr.net/npm/onnxruntime-web@latest/dist/';
// ... see main README for full browser integration detailsSee the main repository README for more details.
