andevs commited on
Commit
89698b1
·
verified ·
1 Parent(s): d4bd155

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -9
README.md CHANGED
@@ -1,14 +1,63 @@
1
  ---
2
- title: Bgremove
3
- emoji: 👀
4
- colorFrom: purple
5
- colorTo: blue
6
- sdk: gradio
7
- sdk_version: 6.0.2
8
- app_file: app.py
9
  pinned: false
10
  license: mit
11
- short_description: bg remover
12
  ---
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Background Remover Pro
3
+ emoji: 🎨
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ app_port: 7860
 
8
  pinned: false
9
  license: mit
 
10
  ---
11
 
12
+ # 🎬 Background Remover Pro
13
+
14
+ AI-powered background removal for images and videos with alpha channel support.
15
+
16
+ ## Features
17
+
18
+ - ✨ **AI Background Removal** - Multiple models for quality vs speed
19
+ - 🎥 **Video Processing** - Up to 1080p resolution
20
+ - 🖼️ **Image Processing** - PNG transparency, JPEG with white background
21
+ - 🔮 **Multiple Formats** - MP4, AVI, WebM, MOV, PNG, JPEG, WebP
22
+ - 🚀 **Fast Processing** - Optimized for CPU environments
23
+
24
+ ## API Endpoints
25
+
26
+ ### `POST /api/process/image`
27
+ Remove background from images
28
+
29
+ **Parameters:**
30
+ - `model`: u2net, u2netp, silueta, u2net_human_seg
31
+ - `transparent`: true/false
32
+ - `max_size`: 256-2048 (default: 1024)
33
+ - `quality`: 50-100 (JPEG only, default: 95)
34
+
35
+ ### `POST /api/process/video`
36
+ Remove background from videos
37
+
38
+ **Parameters:**
39
+ - `model`: silueta (recommended), u2net, u2netp
40
+ - `transparent`: true/false
41
+ - `max_size`: 144-1080 (default: 360)
42
+ - `fps`: 5-30 (default: 10)
43
+ - `frame_skip`: 0-5 (default: 1)
44
+ - `format`: mp4, avi, webm, mov
45
+
46
+ ### `GET /api/health`
47
+ Check API status and available models
48
+
49
+ ### `GET /api/models`
50
+ List available AI models with descriptions
51
+
52
+ ## Deployment
53
+
54
+ This Space uses a custom Dockerfile with Python 3.11 for optimal compatibility.
55
+
56
+ ## Models
57
+
58
+ | Model | Description | Size |
59
+ |-------|-------------|------|
60
+ | u2net | Best quality - general purpose | 176MB |
61
+ | u2netp | Fast processing - lightweight | 4.7MB |
62
+ | silueta | Optimized for videos | 43MB |
63
+ | u2net_human_seg | Specialized for portraits | 176MB |