From b34ebebf547490c0e92da14e794a4b4ec87bf831 Mon Sep 17 00:00:00 2001 From: cutting Date: Tue, 29 Nov 2022 12:30:50 +0000 Subject: [PATCH] changed cutting.py --- cutting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cutting.py b/cutting.py index 7feb430..b76a8de 100644 --- a/cutting.py +++ b/cutting.py @@ -1,6 +1,6 @@ import os print("starting the pruning process") -scanning = "sudo scanimage --resolution 300 --mode color -o image.png" +scanning = "scanimage --resolution 300 --mode color --format png > image.png" os.system(scanning) os.system("tesseract image.png text.txt -l eng") fantasyname = open("text.txt.txt" , "r")