Manga Text Removal.
Python
Removing text from manga or images.
Last updated: 5 days ago
Overview
This project is a Python application designed to remove text from images using OpenCV, pytesseract, and NumPy.
It provides two text-removal methods:
- Replacing detected text areas with a solid white background.
- Using inpainting to fill text regions with colors matching the surrounding area.
Folder Structure
- Material [Folder] # Stores input images
- Result [Folder] # Stores output images
- main.py # Main script for processing images
- requirements.txt # List of required libraries
- README.md # Project documentation
Requirements
- Python 3.x
- Tesseract-OCR (must be installed and added to the system PATH)
Installation
Clone this repository or download the project files.
Install the required libraries:
pip install -r requirements.txt
Ensure Tesseract-OCR is installed and available in your PATH.
Usage
Place the images you want to process inside the
Material
folder.Run the script:
python main.py
The processed images will be saved in the
Result
folder.