{"repo":"robertknight/tesseract-wasm","free":true,"listed":false,"github":"https://github.com/robertknight/tesseract-wasm","clone":"git clone https://github.com/robertknight/tesseract-wasm.git","description":"JS/WebAssembly build of the Tesseract OCR engine for use in browsers and Node","language":"TypeScript","stars":382,"topics":["ocr","js","webassembly"],"license":"BSD-2-Clause","category":"media-processing","readme_excerpt":"tesseract-wasm A WebAssembly build of the Tesseract OCR engine for use in the browser and Node. tesseract-wasm can detect and recognize text in document images. It supports multiple languages via different trained models. 👉 Try the demo (Currently supports English) Features This Tesseract build has been optimized for use in the browser by: - Stripping functionality which is not needed in a browser environment (eg. code to parse various image formats) to reduce download size and improve startup performance. The library and English training data require a 2.1MB download (with Brotli compression). - Using WebAssembly SIMD when available (Chrome = 91, Firefox = 90, Safari = 16.4) to improve text recognition performance. - Providing a high-level API that can be used to run web pages without blocking interaction and a low-level API that provides more control over execution. Setup 1. Add the tesseract-wasm library to your project: 2. Serve the tesseract-core.wasm , tesseract-core-fallback.wasm and tesseract-worker.js files from node modules/tesseract-wasm/dist alongside your JavaScript bundle. 3. Get the training data file(s) for the languages you want to support from the tessdata fast repo and serve it from a URL that your JavaScript can load. The eng.traineddata file supports English for example, and also works with many documents in other languages that use the same script. Usage tesseract-wasm provides two APIs: a high-level asynchronous API ( OCRClient ) and a lower-level sync","default_branch":null,"files":null,"tree":[],"storefront":"/r/robertknight","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/robertknight/tesseract-wasm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}