jeromewu / tesseract.js-offline

An example for using tesseract.js in offline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tesseract.js Offline

This repository is a show case for how to use tesseract.js without downloading any files from remote.

Installation

$ npm install

Usage

Browser

For browser version, execute command below to start the server

$ npm run start

Visit http://localhost:3000/browser/ and press F12 to check console logs.

Node.js

For Node.js version, simply run this command

$ node ./node/index.js

You will see the result in terminal

FAQ

Where can I download *.traineddata.gz for other languages?

You can download from naptha/tessdata

About

An example for using tesseract.js in offline


Languages

Language:HTML 63.1%Language:JavaScript 36.9%