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