Skip to content

shubham-777/ocr_utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocr_utility using FastAPI

ocr_utility is a ocr comparision utility.

Project Structure

.
├── ocr_app
│   ├── __init__.py
│   ├── main.py
│   ├── core
│   │   ├── __init__.py
│   │   ├── configurations.py
│   │   └── data
│   │       └── config.ini
│   ├── models
│   │   ├── Schemas.py
│   │   └── __init__.py
│   ├── routers
│   │   ├── __init__.py
│   │   └── tesseract.py
│   └── utils
│       ├── Helper.py
│       ├── tesseract.py
│       └── __init__.py
├── README.md
└── requirement.txt

Notes:

  • Tested on Python 3.10.2
  • Toggle the PRODUCTION_MODE variable in config before pushing to production.

Command to install all requirements (virtual environment recommended):

pip install -r .\requirements.txt

Command to run the app:

python ./ocr_app/main.py

Command to build the docker image:

docker build -t ocr_utility .

Command to run the docker image:

docker run -p 8000:8000 ocr_utility

Command to push the docker image to heroku

heroku container:push web -a ocr_utility
heroku container:release web -a ocr_utility

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published