From d96f435f58f0ad822253dbbc517a3a5c8c73a840 Mon Sep 17 00:00:00 2001 From: mt Date: Sat, 2 Nov 2019 17:59:00 +0100 Subject: [PATCH] Changes to margins --- sorteerhoed/central_management.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sorteerhoed/central_management.py b/sorteerhoed/central_management.py index f545179..a20f8c2 100644 --- a/sorteerhoed/central_management.py +++ b/sorteerhoed/central_management.py @@ -327,7 +327,10 @@ class CentralManagement(): cmd = [ 'sudo', 'scanimage', '-d', 'epkowa', '--format', 'jpeg', - '--resolution=100', '-l','18','-t','30','-x',str(185), + '--resolution=100', # lower res, faster (more powerful) scan & wipe + '-l','25' #y axis, margin from top of the scanner, hence increasing this, moves the scanned image upwards + ,'-t','22', # x axis, margin from left side scanner (seen from the outside) + '-x',str(181), '-y',str(245) ] self.logger.info(f"{cmd}")