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

  1. Python 3.x
  2. Tesseract-OCR (must be installed and added to the system PATH)

Installation

  1. Clone this repository or download the project files.

  2. Install the required libraries:

    pip install -r requirements.txt
    
  3. Ensure Tesseract-OCR is installed and available in your PATH.

Usage

  1. Place the images you want to process inside the Material folder.

  2. Run the script:

    python main.py
    
  3. The processed images will be saved in the Result folder.