Snapshot của ZHKKKe/MODNet: 4.4k★ · Python. A Trimap-Free Portrait Matting Solution in Real Time [AAAI 2022]
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
The model used in the online demo (unpublished) is only 7M! Process 2K resolution image with a Fast speed on common PCs or Mobiles! Beter than research demos!
Please try online portrait image matting on my personal homepage for fun!
All the models behind the following demos are trained on the datasets mentioned in our paper.
Portrait Image Matting
We provide an online Colab demo for portrait image matting.
It allows you to upload portrait images and predict/visualize/download the alpha mattes.
Portrait Video Matting
We provide two real-time portrait video matting demos based on WebCam. When using the demo, you can move the WebCam around at will.
If you have an Ubuntu system, we recommend you to try the offline demo to get a higher fps. Otherwise, you can access the online Colab demo.
We also provide an offline demo that allows you to process custom videos.
Community
We share some cool applications/extentions of MODNet built by the community.
Colab Demo of Bokeh (Blur Background)
You can try this Colab demo (built by @eyaler) to blur the backgroud based on MODNet!
ONNX Version of MODNet
You can convert the pre-trained MODNet to an ONNX model by using this code (provided by @manthan3C273). You can also try this Colab demo for MODNet image matting (ONNX version).
TorchScript Version of MODNet
You can convert the pre-trained MODNet to an TorchScript model by using this code (provided by @yarkable).
TensorRT Version of MODNet
You can access this Github repository to try the TensorRT version of MODNet (provided by @jkjung-avt).
Docker Container for MODnet
You can access this Github repository for a containerized version of MODNet with the Docker environment (provided by @nahidalam).
There are some resources about MODNet from the community.
Video from What's AI YouTube Channel
Article from Louis Bouchard's Blog
Code
We provide the code of MODNet training iteration, including:
Supervised Training: Train MODNet on a labeled matting dataset
SOC Adaptation: Adapt a trained MODNet to an unlabeled dataset
In code comments, we provide examples for using the functions.
PPM Benchmark
The PPM benchmark is released in a separate repository PPM.
License
The code, models, and demos in this repository (excluding GIF files under the folder doc/gif) are released under the Apache License 2.0 license.
Acknowledgement
We thank
@yzhou0919, @eyaler, @manthan3C273, @yarkable, @jkjung-avt, @manzke, @nahidalam,
the Gradio team, What's AI YouTube Channel, Louis Bouchard's Blog,
for their contributions to this repository or their cool applications/extentions/resources of MODNet.
Citation
If this work helps your research, please consider to cite:
@InProceedings{MODNet,
author = {Zhanghan Ke and Jiayu Sun and Kaican Li and Qiong Yan and Rynson W.H. Lau},
title = {MODNet: Real-Time Trimap-Free Portrait Matting via Objective Decomposition},
booktitle = {AAAI},
year = {2022},
}
Contact
This repository is maintained by Zhanghan Ke (@ZHKKKe).
For questions, please contact [email protected].
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/ZHKKKe/MODNet là nguồn chính thức.
ZHKKKe/MODNet có bao nhiêu sao?
ZHKKKe/MODNet có 4.4k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ZHKKKe/MODNet. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
ZHKKKe/MODNet có phải mã nguồn mở không?
Có — ZHKKKe/MODNet phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/ZHKKKe/MODNet.
ZHKKKe/MODNet có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho ZHKKKe/MODNet. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
ZHKKKe/MODNet là gì?
ZHKKKe/MODNet (ZHKKKe/MODNet) là dự án Python trên GitHub. Theo mô tả gốc: A Trimap-Free Portrait Matting Solution in Real Time [AAAI 2022]
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về MODNet?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về MODNet.