diff --git a/cutting.py b/cutting.py index a2fc26f..61d9375 100644 --- a/cutting.py +++ b/cutting.py @@ -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")