mirror of
https://github.com/kevinveenbirkenbach/bill-manager.git
synced 2024-11-24 02:11:04 +01:00
Refactored
This commit is contained in:
parent
59fe1c478f
commit
c5aa6142ee
12
README.md
12
README.md
@ -1,2 +1,14 @@
|
|||||||
# bill-manager
|
# bill-manager
|
||||||
Use tesseract ocr and bash to manage your bills
|
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"
|
||||||
|
```
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
# @param $2 language
|
# @param $2 language
|
||||||
# @param $3 mode (update,initialize)
|
# @param $3 mode (update,initialize)
|
||||||
# shellcheck disable=SC2144 # Deactivate wrong error message
|
# shellcheck disable=SC2144 # Deactivate wrong error message
|
||||||
# sudo pacman -Syyu tesseract-data-deu tesseract-data-en tesseract
|
|
||||||
if [ -z "$2" ]
|
if [ -z "$2" ]
|
||||||
then
|
then
|
||||||
echo "You need to define an working directory and a language" && exit 1;
|
echo "You need to define an working directory and a language" && exit 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user