inpaint-mask-maker / README.md
svjack's picture
Create README.md
7e5d0d8 verified
|
raw
history blame
1.46 kB
---
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**
1. Upload an image using the **Draw Mask** section.
2. Use the brush tool to draw masks with different colors.
3. Click the **Generate Masks** button to create and save the masks.
4. 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:
1. Clone the repository:
```bash
git clone https://github.com/your-username/multi-color-mask-generator.git
cd multi-color-mask-generator