Update 'cutting.py'

remotes/1710285950382640324/master
suzan 2 years ago
parent 6d644b6be7
commit f1c53c186d

@ -7,6 +7,8 @@ os.system("tesseract output.png image -l eng")
fantasyname = open("image.txt" , "r") fantasyname = open("image.txt" , "r")
fantasyname = fantasyname.readlines() fantasyname = fantasyname.readlines()
text = open("image.txt", "r").read() text = open("image.txt", "r").read()
text = text.replace("","'")
text = text.replace("","'")
print(text) print(text)
print("------") print("------")
lines = text.split("\n") lines = text.split("\n")

Loading…
Cancel
Save