open-index/open-npm huggingface dataset:
npm package: @qduc/easyocr-core
Description: Core logic for easyocr.js
Author: qduc
Latest version: 0.1.3

# @qduc/easyocr-core

Core logic and types for [easyocr.js](https://github.com/qduc/easyocr.js), a JavaScript port of EasyOCR.

This package contains runtime-agnostic OCR pipeline logic, image processing, and post-processing. It is intended to be used with a runtime-specific package like `@qduc/easyocr-node` or `@qduc/easyocr-web`.

## Installation

```bash
npm install @qduc/easyocr-core
```

## Usage

See the [main repository README](https://github.com/qduc/easyocr.js#readme) for documentation and examples.
npm package: @qduc/easyocr-node
Description: Node.js runtime for easyocr.js
Author: qduc
Latest version: 0.1.3

# @qduc/easyocr-node

Node.js runtime for [easyocr.js](https://github.com/qduc/easyocr.js), a JavaScript port of EasyOCR.

This package provides Node.js implementations for image loading (via `sharp`) and inference (via `onnxruntime-node`).

## Installation

```bash
npm install @qduc/easyocr-node @qduc/easyocr-core
```

## Quick Start

```typescript
import { createOCR } from '@qduc/easyocr-node';

const ocr = await createOCR({
  modelDir: './models',
  lang: 'en',
});

const results = await ocr.read('path/to/image.png');
console.log(results);
```

See the [main repository README](https://github.com/qduc/easyocr.js#readme) for more details.
npm package: @qduc/easyocr-web
Description: Web runtime for easyocr.js
Author: qduc
Latest version: 0.1.3

# @qduc/easyocr-web

Browser runtime for [easyocr.js](https://github.com/qduc/easyocr.js), a JavaScript port of EasyOCR.

This package provides browser-compatible implementations for image loading (via Canvas) and inference (via `onnxruntime-web`).

## Installation

```bash
npm install @qduc/easyocr-web @qduc/easyocr-core
```

## Quick Start (React/Vue/Svelte)

```typescript
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 details
```

See the [main repository README](https://github.com/qduc/easyocr.js#readme) for more details.