- 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) - To run the application, run this
python src\run.py
in your terminal. (replace\
with/
if you're not using Windows) - Application config variables has to be defined in
src\inz\config.py.example
and file itself has to be renamed toconfig.py
. - For now:
/ocr/{file-name}
endpoint runs ocr_service using photo from{root_repository_folder}\static\receipts
directory (tested with *.jpg and *.png formats). - To run ocr_service directly, use
python src\run_ocr.py
command - Directory
src
contains scrypts useful while working with database. Every database-related script's name starts with prefixdb_
.db_create
creates tables and database.db_test
contains number of utility funtions that can be used while testing models in the python interactive mode.
-
Notifications
You must be signed in to change notification settings - Fork 0
wkud/inz-backend
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published