Mukosame/Anime2Sketch

A sketch extractor for anime/illustration.

What it solves

Anime2Sketch is designed to extract clean sketches or line art from visual content, specifically targeting illustration, anime art, and manga. It helps artists and creators convert colored images, hand-drawn photos, or messy freehand sketches into simplified, clean line drawings.

How it works

The tool is an application based on a deep learning model described in the paper "Adversarial Open Domain Adaptation for Sketch-to-Photo Synthesis." It uses pretrained weights to process input images, resizing them to a manageable size (default 512x512) to handle memory limits during inference.

Who it’s for

This project is for digital artists, anime enthusiasts, and manga creators who need to automate the process of extracting line art from existing artwork or cleaning up hand-drawn sketches.

Highlights

  • Versatile Input: Works on a wide range of styles including illustrations, anime art, and manga.
  • Multiple Model Versions: Includes a standard version and an "artifact-free" version specifically for dark or low-contrast images.
  • Deployment Options: Supports running via Python scripts, Docker for easier environment setup, or a Gradio web demo.
  • Broad Utility: Capable of turning hand-drawn photos into clean line art and simplifying existing freehand sketches.

Related

  • Project
  • Project
  • Project
  • Project