Skip to content

sghosh1810/Image-To-Text-Api

Repository files navigation

Image To Text Api/Gui

A image to text api/gui built on node.js, tesseract.js.

Build

Node.js CI

Usage

If your public url is example.com then api will be at example.com/api. Acceptable parameters:

  • url : public url of image (required)
  • json : true/false (optional)

Deploy on your Heroku

First clone the repository or download as zip

heroku login
cd proj_dir/
git init
git add .
git commit -"Initial Conmmit"
git push heroku master

Packages

Following dependencies are requireds to run the cnn model which detects different items in fridge.

body-parser: "^1.19.0",
dotenv: "^8.2.0",
ejs: "^3.1.2",
express: "^4.17.1",
express-ejs-layouts: "^2.5.0",
install: "^0.13.0",
nodemon: "^2.0.3",
npm: "^6.14.5",
tesseract.js : "^2.1.1"

Example of Api call via Postman

main

Gui

main

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Contributors:

Shounak Ghosh

License

MIT

About

Image to Text Api built on Node.js and tesseract!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published