You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
859 B
Markdown

11 months ago
## Imgae matting
Here are a few effects
11 months ago
![image-1](https://github.com/ihmily/image-matting/blob/main/assets/image-1.png)
11 months ago
11 months ago
![image-2](https://github.com/ihmily/image-matting/blob/main/assets/image-2.png)
11 months ago
 
## How to Run
Firstly, you need to download the project code and install the required dependencies
```
git clone https://github.com/ihmily/image-matting.git
cd image-matting
pip install -r requirements.txt
```
Next, you can use the following command to run the web interface
```
python app.py
```
Finally, you can visit http://127.0.0.1:8000
 
## References
[https://modelscope.cn/models/damo/cv_unet_universal-matting/summary](https://modelscope.cn/models/damo/cv_unet_universal-matting/summary)
[https://modelscope.cn/models/damo/cv_unet_image-matting/summary](https://modelscope.cn/models/damo/cv_unet_image-matting/summary)