Refactored

This commit is contained in:
Kevin Veen-Birkenbach 2020-12-10 22:47:09 +01:00
parent 59fe1c478f
commit c5aa6142ee
3 changed files with 14 additions and 1 deletions

View File

@ -1,2 +1,14 @@
# bill-manager
Use tesseract ocr and bash to manage your bills
## Setup
Install necessary dependencies
```bash
./setup.sh
```
## Generate
To generate txt files from pdfs or jpges run:
```bash
bash ./generate.sh "./abc/billspath" "deu" "initialize"
```

View File

@ -4,7 +4,6 @@
# @param $2 language
# @param $3 mode (update,initialize)
# shellcheck disable=SC2144 # Deactivate wrong error message
# sudo pacman -Syyu tesseract-data-deu tesseract-data-en tesseract
if [ -z "$2" ]
then
echo "You need to define an working directory and a language" && exit 1;

2
setup.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
sudo pacman -Syyu tesseract-data-deu tesseract-data-en tesseract