Skip to content

raymond1242/flask-orc-app

Repository files navigation

Flask OCR API

Requirements

  • Python 3.9+
  • Tesseract 4.0+
  • Docker & Docker Compose

Set the virtual env

$ python -m venv venv

Installation

Install requirements

$ make install

Build docker images

$ make build

Start services

$ make start

Create database

$ make database

Now, you should be able to go localhost:5000/ to see the app running.


Stop services

$ make stop

Postman requests

You can import the postman collection from this link to test the API.

Don't forget to change the base_url variable to your local url, by default is localhost:5000/. Also, fill out the body params and select a file to upload in the upload_image request.

Releases

No releases published

Packages

No packages published