changed cutting.py

master
cutting 2 years ago
parent 47b2e80299
commit b34ebebf54

@ -1,6 +1,6 @@
import os import os
print("starting the pruning process") 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(scanning)
os.system("tesseract image.png text.txt -l eng") os.system("tesseract image.png text.txt -l eng")
fantasyname = open("text.txt.txt" , "r") fantasyname = open("text.txt.txt" , "r")

Loading…
Cancel
Save