changed cutting.py

master
cutting 1 year ago
parent 47b2e80299
commit b34ebebf54

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

Loading…
Cancel
Save