Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterdee/tesseract-demo
A simple Tesseract demo
https://github.com/peterdee/tesseract-demo
ejs express node tesseract-ocr
Last synced: about 2 months ago
JSON representation
A simple Tesseract demo
- Host: GitHub
- URL: https://github.com/peterdee/tesseract-demo
- Owner: peterdee
- Created: 2020-06-20T15:48:37.000Z (over 4 years ago)
- Default Branch: stage
- Last Pushed: 2022-05-26T07:28:41.000Z (over 2 years ago)
- Last Synced: 2023-03-03T23:44:01.454Z (almost 2 years ago)
- Topics: ejs, express, node, tesseract-ocr
- Language: JavaScript
- Homepage: https://tesseract-demo.herokuapp.com
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## tesseract-demo
A simple Tesseract demo
Supported languages: **English** & **Russian**
Stack: [EJS](https://ejs.co/), [Express](https://expressjs.com/), [Node](https://nodejs.org/), [Tesseract](https://www.npmjs.com/package/node-tesseract-ocr)
DEV: http://localhost:1111
STAGE: https://tesseract-demo.herokuapp.com
### Deploy
Install [`tesseract`](https://formulae.brew.sh/formula/tesseract) first:
```shell script
brew install tesseract
```Install language pack:
```shell script
brew install tesseract-lang
```Check the list of supported languages:
```shell script
tesseract --list-langs
```Deploy the project:
```shell script
git clone https://github.com/peterdee/tesseract-demo.git
cd ./tesseract-demo
nvm use 14
npm i
```### Launch
```shell script
npm run dev
```### Heroku
This project uses a custom Heroku buildpack: https://github.com/peterdee/heroku-buildpack-tesseract-en-ru
The `stage` branch is deployed to Heroku automatically.