Spaces:
Sleeping
Sleeping
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Multi-Color Mask Generator
|
3 |
+
emoji: 🎨
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: purple
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 5.9.1
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
---
|
11 |
+
|
12 |
+
# 🎨 **Multi-Color Mask Generator**
|
13 |
+
|
14 |
+
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.
|
15 |
+
|
16 |
+
## 🖌️ **Features**
|
17 |
+
- **Multi-Color Masking**: Draw masks using predefined colors (Blue, Orange, Green, Pink, Purple).
|
18 |
+
- **RGB Mask Output**: Each mask is saved as an RGB image with the corresponding color.
|
19 |
+
- **Merged Mask**: A merged mask is generated, combining all individual masks.
|
20 |
+
- **User-Friendly Interface**: Easy-to-use Gradio interface with a high-quality drawing canvas.
|
21 |
+
|
22 |
+
## 🖼️ **How to Use**
|
23 |
+
1. Upload an image using the **Draw Mask** section.
|
24 |
+
2. Use the brush tool to draw masks with different colors.
|
25 |
+
3. Click the **Generate Masks** button to create and save the masks.
|
26 |
+
4. View the generated masks on the right side.
|
27 |
+
|
28 |
+
## 📂 **Output**
|
29 |
+
- Each mask is saved as an RGB image in the `output_masks` directory.
|
30 |
+
- A merged mask is also generated for your convenience.
|
31 |
+
|
32 |
+
## 🚀 **Getting Started**
|
33 |
+
To run this application locally, follow these steps:
|
34 |
+
|
35 |
+
1. Clone the repository:
|
36 |
+
```bash
|
37 |
+
git clone https://github.com/your-username/multi-color-mask-generator.git
|
38 |
+
cd multi-color-mask-generator
|