From 8c856dfad5af40c4af9c201360293d674379eab5 Mon Sep 17 00:00:00 2001 From: localhorst Date: Tue, 25 Jul 2023 20:59:12 +0200 Subject: [PATCH] update crop percentage and readme --- README.md | 4 +++- extract_photos.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab6a537..3918637 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,6 @@ zypper install avif-tools ``` -rsync -Pav -e "ssh -i $HOME/.ssh/SDS" /home/hendrik/git/ultimate-photo-digitizer/scans/ hendrik@10.0.0.25:/home/hendrik/git/ultimate-photo-digitizer/scans/ \ No newline at end of file +`rsync -Pav -e "ssh -i $HOME/.ssh/SDS" /home/hendrik/git/ultimate-photo-digitizer/scans/ hendrik@10.0.0.25:/home/hendrik/git/ultimate-photo-digitizer/scans/` + +`rsync -Pav -e "ssh -i $HOME/.ssh/SDS" hendrik@10.0.0.25:/home/hendrik/git/ultimate-photo-digitizer/photos/ /home/hendrik/git/ultimate-photo-digitizer/photos/` \ No newline at end of file diff --git a/extract_photos.py b/extract_photos.py index 8e2c5d3..01b6f08 100644 --- a/extract_photos.py +++ b/extract_photos.py @@ -10,8 +10,8 @@ import subprocess number_of_photos_in_scan = 4 -crop_height = 2.0 # offset in percent -crop_width = 2.0 # offset in percent +crop_height = 4.0 # offset in percent +crop_width = 4.0 # offset in percent def convert_to_avif(input_dir, output_dir): # print("input: " + str(input))