Update 'cutting.py'

master
suzan 2 years ago
parent 929e520b4a
commit a5f75e9273

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

Loading…
Cancel
Save