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