# naptha/tesseract.js

Pure Javascript OCR for more than 100 Languages 📖🎉🖥

Repository: https://github.com/naptha/tesseract.js
Canonical: https://ross.abutalabs.com/products/tesseractjs
Homepage: http://tesseract.projectnaptha.com/
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: tesseract, webassembly, ocr, javascript, deep-learning
Last push: 2026-05-17T04:19:12+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 82, release rhythm 37, longevity 100
- inputs: {"age_days": 4088, "days_push": 108, "days_rel": 261, "gap_med": 170.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 38671, forks 2389 (observed 2026-08-28T04:12:07.618257+00:00)

## What it is
Tesseract.js is a pure JavaScript port of the Tesseract OCR engine that extracts text from images in over 100 languages. It runs in the browser (via script tag, webpack, or CDN) and on Node.js, supporting automatic orientation/script detection and word/character bounding boxes.

## Use cases
- extract text from images in the browser
- ocr scanned documents with javascript
- recognize text in multiple languages from photos
- run ocr on node.js server without native binaries
- get word and character bounding boxes from an image
- real-time text recognition from video frames

## When to choose
- you need client-side OCR without a backend or native dependencies
- you need multilingual text recognition across 100+ languages
- you want bounding box data for words, paragraphs, or characters
- you want a well-maintained, widely used OCR library for JavaScript

## When to avoid
- you need maximum OCR accuracy on complex documents - native Tesseract or cloud OCR services may perform better
- you need handwriting recognition or modern deep-learning-based OCR quality
- performance on very large batch jobs is critical - native implementations are faster

## Facets
- artifact type: library
- maturity: active
- function: ocr, image-processing, nlp
- domain: computer-vision, image-processing, web-development
- platform: browser, wasm, cross-platform
- tags: tesseract, webassembly, text-recognition, multilingual, bounding-boxes, natural-language-processing, nodejs, javascript

## Member repositories
- naptha/tesseract.js (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:07.618257+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:24:50.141451+00:00, confidence not recorded.
  - readme: https://github.com/naptha/tesseract.js (fetched 2026-08-28T04:12:07.618257+00:00, sha 3e43cb8d56c8)
  - homepage: http://tesseract.projectnaptha.com/ (fetched 2026-08-29T07:47:09.407631+00:00, sha 8b42fabf1e02)
  - registry_npm: https://registry.npmjs.org/tesseract.js (fetched 2026-08-29T07:47:09.410167+00:00, sha ba3ff4f4457a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
