- NodeJS
- ExpressJS
- TesseractJS
- MongoDB
- Fork the repository
- Clone the repository
- Install the dependencies by
npm install
- Run in development mode by
npm run start
- In PostMan, set request to POST and add
Content-Type:application/json
in the request header. - To generate API Key, Set the URL TO
http://localhost:3000/generate
orhttps://node-ocr.herokuapp.com/generate
INPUT:
{
"name":"Enter your name here",
"email":"[email protected]"
}
The result will contain a unique API key.
- Set the URL TO
http://localhost:3000/api
orhttps://node-ocr.herokuapp.com/api
INPUT:
{
"api_key":"Enter API key for successfull operation",
"image_url":"[email protected]"
}
The result will contain the text present in the image.