Skip to content

agustincosta/thecampeonato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thecampeonato

OCR de facturas y análisis de datos

Run commands and outputs for modules

  1. Image preprocessing and OCR
  python App.py $(imagePath) $(resultDirPath) $(resultFilename)

-imagePath includes the whole directory route, filename and extension -resultDirPath must be just the directory path to which the resulting image and text file are written -resultFilename must be an identifying filename for the result files, without directory path or extension. In both cases the final filenames will include the 'binarized' and 'OCR' prefixes as well as the extensions '.jpg' and '.txt'

Local development with docker

  1. Build the docker image:
docker build -t myapp-dev .
  1. Run the container:
docker run -it --name myapp --rm \
    --volume $(pwd):/usr/src/app \
    --net=host myapp-dev:latest \
    sh

Run linters locally

  1. Run flake8 linter:
flake8

Run tests locally

  1. Run pytest:
pytest Code/tests/

About

OCR de facturas y análisis de datos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages