Visione artificiale

tesseract.js

naptha/tesseract.js

Tesseract OCR for browsers and Node.js using WebAssembly, suitable for image-to-text features in JavaScript apps.

★ 38,7KStelle
⑂ 2,4KFork
49Problemi aperti
JavaScriptLingua
Apache-2.0Licenza
Q90Punteggio editoriale

Panoramica

Tesseract.js offers browser or server-side OCR without replacing the underlying Tesseract recognition model. It explicitly does not accept PDFs directly. Choose it for JavaScript integration and image workloads, after testing target devices.

Funzionalità principali

  • Browser and Node.js
  • WASM engine
  • Language data
  • Reusable workers
  • Async API

Requisiti, installazione e avvio rapido

Install tesseract.js with npm and follow the current worker example for your browser or supported Node.js version.

Utilizzo

Compare clear, rotated, and low-contrast images. Reuse workers, limit concurrency, and render PDF pages separately if required.

How it works
A worker loads the WASM engine and language data, recognizes images, and can be reused across jobs. Business extraction remains separate.

Audience and requirements
JavaScript developers adding OCR. Compatible browser/Node.js and language assets.

Practical use cases
Screenshot text; reviewed form prefill; image batches.

Limitations and selection
No direct PDF support. Initialization and memory matter on mobile devices. Handwriting and tables require evaluation.

Related projects and selection
tesseract-ocr/tesseract:Upstream: this is the OCR engine wrapped by Tesseract.js.

JaidedAI/EasyOCR:Comparison: EasyOCR targets Python/PyTorch workflows; Tesseract.js targets JavaScript.

Source review
Editorial analysis of upstream sources, without runtime or benchmark testing. Proposed workflows are editorial suggestions.

Compatibilità del modello e casi d'uso

Uses Tesseract language data and a WebAssembly engine, not a vision-language model interface.

Note su licenza e rischi

The repository page identifies Apache-2.0. Read LICENSE; model weights and datasets may have separate terms.

Editorial source review 2026-09-09T05:00:00.950Z. README and live repository page verified; current stars/forks from GitHub HTML. Last-push metadata retained from 2026-09-05 discovery snapshot. No runtime benchmark. Integration proposals are editorial analysis.

Rilascio e manutenzione

Reviewed 2026-09-09. Counters come from repository pages; features are based on upstream documentation. See Releases in the source links. Editorial analysis of upstream sources, without runtime or benchmark testing. Proposed workflows are editorial suggestions.

opencv

opencv/opencv

★ 90,7KC++

tesseract

tesseract-ocr/tesseract

★ 76,3KC++

yolov5

ultralytics/yolov5

★ 58KPython

faceswap

deepfakes/faceswap

★ 57,5KPython