From a5f75e92732d1bbb79df43794b5fe8583b8f6c80 Mon Sep 17 00:00:00 2001 From: suzan Date: Tue, 29 Nov 2022 12:19:16 +0100 Subject: [PATCH] Update 'cutting.py' --- cutting.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cutting.py b/cutting.py index 723e5f6..7feb430 100644 --- a/cutting.py +++ b/cutting.py @@ -1,5 +1,7 @@ import os -print("starting the cutting process") +print("starting the pruning process") +scanning = "sudo scanimage --resolution 300 --mode color -o image.png" +os.system(scanning) os.system("tesseract image.png text.txt -l eng") fantasyname = open("text.txt.txt" , "r") fantasyname = fantasyname.readlines()