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")