Spaces:
Sleeping
Sleeping
metadata
title: Multi-Color Mask Generator
emoji: π¨
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
π¨ Multi-Color Mask Generator
Welcome to the Multi-Color Mask Generator! This tool allows you to upload an image, draw masks using different colors, and generate corresponding mask images. Each mask is saved as an RGB image, and a merged mask is also created for your convenience.
ποΈ Features
- Multi-Color Masking: Draw masks using predefined colors (Blue, Orange, Green, Pink, Purple).
- RGB Mask Output: Each mask is saved as an RGB image with the corresponding color.
- Merged Mask: A merged mask is generated, combining all individual masks.
- User-Friendly Interface: Easy-to-use Gradio interface with a high-quality drawing canvas.
πΌοΈ How to Use
- Upload an image using the Draw Mask section.
- Use the brush tool to draw masks with different colors.
- Click the Generate Masks button to create and save the masks.
- View the generated masks on the right side.
π Output
- Each mask is saved as an RGB image in the
output_masks
directory. - A merged mask is also generated for your convenience.
π Getting Started
To run this application locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/multi-color-mask-generator.git cd multi-color-mask-generator