Update 'cutting.py'

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 = fantasyname.readlines()
text = open("image.txt", "r").read()
text = text.replace("","'")
text = text.replace("","'")
print(text)
print("------")
lines = text.split("\n")

Loading…
Cancel
Save