Skip to content

wkud/inz-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Before running any script, make sure you have virtual environment prepared and activated (see Python Virtual Environment) and required packages installed (use python3 -m pip install -r requirements.txt command)
  2. To run the application, run this python src\run.py in your terminal. (replace \ with / if you're not using Windows)
  3. Application config variables has to be defined in src\inz\config.py.example and file itself has to be renamed to config.py.
  4. For now: /ocr/{file-name} endpoint runs ocr_service using photo from {root_repository_folder}\static\receipts directory (tested with *.jpg and *.png formats).
  5. To run ocr_service directly, use python src\run_ocr.py command
  6. Directory src contains scrypts useful while working with database. Every database-related script's name starts with prefix db_.
    1. db_create creates tables and database.
    2. db_test contains number of utility funtions that can be used while testing models in the python interactive mode.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages