This Python software converts text found in images into text files.
- Place your desired image containing visible text into the Images folder.
- Run the program. It will scan the Images folder, extract text from the images, and save the text into the Text folder.
- Each text file in the Text folder will be named after its corresponding image file with a
.txtextension.
Images in the following formats are supported: .png, .jpg, .jpeg, .bmp, and .gif. Note that support for .gif images may vary.
In the repository, you'll find sample files for testing:
- Images:
text.png,text2.png - Text:
text.txt,text2.txt
Feel free to use these for testing purposes, but they are not required.
- The program may encounter difficulties with fancy or elaborate fonts.
- Text extraction from images may not always be accurate or complete.