adenzu / Manga-Panel-Extractor

A simple program that takes manga pages and outputs the panels on them. Website: https://adenzu.github.io/Manga-Panel-Extractor/
https://adenzu.github.io/Manga-Panel-Extractor/
MIT License
17 stars 0 forks source link
image-processing javascript manga opencv python

Manga Panel Extractor

A simple program that takes manga pages and outputs panels on them. The current way of working of this program was inspired from this paper. Thanks to Xufang Pang, Ying Cao, Rynson W.H. Lau, and Antoni B. Chan for their work.

Please read report for detailed explanation of the implemented algorithm(s).

Installation

Visit the Releases section of the repository and download the executable for Windows. Currently, only the Windows7+ versions are supported. However, you can build for other platforms using the provided source code.

Usage

Website

  1. Go to the website https://adenzu.github.io/Manga-Panel-Extractor/
  2. Select image files of manga pages you want to extract panels of
  3. Click Start
  4. Click Cancel to cancel panel extraction process whenever you want to
  5. Click Download to download a zip file containing all the panels

Executable

  1. You can check examples in advance to see if this program can help you with your images, see examples here.
  2. Download the latest executable for your operating system.
  3. Execute the downloaded executable.
  4. Select the input directory containing the manga page images. Each image should represent one manga page.
  5. Choose the output directory where the extracted panels will be saved.
  6. You can check the checkbox named "Split Joint Panels" to split joint panels. This slows down the process up to ten fold.
  7. You can check the checkbox named "Fallback" for fallback method to be applied in case of a failed extraction.
  8. You can check the checkbox named "Output to Separate Folders" to extract each image's panels into their respective folder.
  9. Click "Start" to initiate the panel extraction process. You can monitor the progress in the bottom left corner of the program window.
  10. To cancel the process, click "Cancel".

CLI - Input and Output Directories

python main.py [input_dir] [output_dir] [-s] [-f] [-g]

or

python main.py [input_img_path] [-s] [-f] [-g]

Program Explanation and Examples

See explanation and examples here.

Features

The key feature of Manga Panel Extractor is its ability to analyze manga pages and extract panels from them.

Configuration

Manga Panel Extractor does not require any additional configuration. It is ready to use out of the box.

Contributing

Currently, there is limited community involvement in this project. Feel free to contribute by submitting bug reports or feature requests through the Issues section.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Troubleshooting

Contact

If you have any questions, issues, or suggestions, please open an issue in the Issues section.