NODE OCR
A Rest API solution for Optical Character Recognition.
Live Server Here
Heroku
Technologies used
- NodeJS
- ExpressJS
- TesseractJS
- MongoDB
Installing depencencies and running the app
- Fork the repository
- Clone the repository
- Install the dependencies by
npm install
- Run in development mode by
npm run start
How to access the API
- 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":"asdasdasd@gmail.com"
}
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":"asdasdasd@gmail.com"
}
The result will contain the text present in the image.