You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

SketchCleanUp

A tool for cleaning up and refining sketches using techniques from Mastering Sketch. Provides an interactive Gradio-based UI for users to upload, process, and download cleaned sketches.


Features

  • Automatic Stroke Refinement: Smooth and normalize sketch strokes for a cleaner look.
  • Noise Reduction: Remove unwanted artifacts and stray marks.
  • Adaptive Thresholding: Enhance line clarity based on local pixel intensity.
  • User Controls: Adjustable parameters for fine-tuning cleanup.
  • Batch Prediction: leverages GPU availability for Batch generation.
  • Global Input: the models work well with both pencil sketches and digital sketches.
  • Interactive UI: Powered by Gradio for easy, browser-based interaction.

Installation

  1. Clone the repository

    huggingface-cli login
    huggingface-cli download VoidZeroe/XT8 --local-dir SketchCleanUp
    
  2. Navigate to project directory

    cd SketchCleanUp
    
  3. Install requirements

    pip install -r requirements.txt
    

Usage

Launch the Gradio UI by running:

python main.py

Once started, open the provided local URL in your browser. You can then:

  1. Upload your sketch image (supported formats: PNG, JPG, BMP).
  2. Adjust cleanup parameters (e.g., smoothing strength, threshold level).
  3. Click Process to generate the cleaned sketch.
  4. Download the result.

Contributing

Contributions are welcome! Please open issues or submit pull requests for bug fixes, new features, or improvements.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/my-feature)
  3. Commit your changes (git commit -m "Add my feature")
  4. Push to the branch (git push origin feature/my-feature)
  5. Open a Pull Request

Acknowledgments

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support