Skip to content
CAI
Produce a survey ↗Verify a survey

naptha/tesseract.js

This system is a cross-platform OCR library that provides text recognition and detection capabilities for both browser and Node.js environments. It features a simplified API for automatic worker management alongside granular control via explicit worker and scheduler creation. The library supports various image formats, handles image preprocessing and rotation, and generates structured output including text, PDFs, and images. Performance benchmarking tools are included to evaluate speed and memory usage across different environments.

60.1

Adequate · 2 August 2026

3.9k

lines of production code

JavaScript

primary language

3

bus factor · 95 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2015–2018 · API simplification and testing infrastructure

This period focused on modernizing the project's development environment by introducing ESLint, Karma, and Babel configurations to enforce code quality and enable headless testing. The core library underwent a major API overhaul to simplify worker management and expose new scheduling capabilities, supported by comprehensive unit tests and updated Node.js examples.

7 changes

2019–2023 · Worker script and benchmarking

This period focused on refactoring the core worker scripts for both browser and Node.js environments, introducing modular architectures and supporting modern APIs like OffscreenCanvas and worker_threads. The team also expanded the codebase with comprehensive benchmarking tools and usage examples to measure performance and demonstrate capabilities.

10 changes

CAI lens gauges

Survey your own repository

naptha/tesseract.js was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit a1ca80d9e3 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards