This application utilizes OpenCV, Tesseract, and Tkinter to extract text from images. It allows users to upload an image, convert it to a suitable format for OCR, extract text, and save the text into a DOCX file. The application features a graphical user interface (GUI) for user interaction.
cv2): For image processing (grayscale conversion, thresholding).python-docx): To save extracted text into a Word document.Image Upload:
upload_image()process.jpg for further processing.Image Preprocessing:
OCR (Text Extraction):
--oem 3 --psm 6).Text Display and Save:
.docx file using the python-docx library.Loading Window:
This application successfully integrates OCR, image processing, and text management in a simple GUI. It allows users to upload an image, extract its text, and save it in a DOCX file. There is potential to expand its features and improve processing efficiency.