This project provides a graphical user interface (GUI) for converting images to Word documents using Python. Users can easily select an image file, specify the output location, and convert it to a Word file with just a few clicks.
- Simple and user-friendly GUI built with PyQt.
- Supports various image formats (e.g., JPG, PNG, BMP).
- Outputs to Microsoft Word (.docx) format.
- Option to choose the output file location.
Before you begin, ensure you have met the following requirements:
- Python 3.x
- PyQt5
- Pillow
- python-docx
- Tesseract OCR (for optical character recognition)
You can install the required libraries using pip:
pip install PyQt5 Pillow python-docx
To utilize the OCR functionality, please install Tesseract OCR by following the instructions provided in the Tesseract Installation Guide.
- Clone the repository:
git clone https://github.com/oop7/python-image-to-word-gui.git
- Navigate to the project directory:
cd python-image-to-word-gui
- Run the application:
python image_to_word.py
An executable version of the application is available in the Releases section. You can download it directly and run it without needing to install Python or dependencies.
-
Launch the application.
-
Click the "Select Image" button to choose an image file.
-
Choose the output location for the Word file.
-
Click the "Convert" button to start the conversion process.
-
Check the specified output location for the generated Word document.
Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
-
Thanks to the contributors and libraries that made this project possible.
-
Inspiration from various PyQt tutorials and documentation.