Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

视频抠图换背景测试可以,但残影比较明显,请问如何解决?另外所换背景是只能图片吗,可否用视频? #185

Open
owlsaea opened this issue Jul 29, 2022 · 2 comments

Comments

@owlsaea
Copy link

owlsaea commented Jul 29, 2022

No description provided.

@owlsaea
Copy link
Author

owlsaea commented Jul 29, 2022

python inference_video.py --model-type  mattingrefine  --model-backbone resnet50   --model-backbone-scale  0.25  --model-checkpoint "pytorch_resnet50.pth" --video-src “scr.mp4"   --video-bgr "bgr.png”  --output-dir “/az" --output-types com --output-format video

@PeterL1n
Copy link
Owner

提供的代碼只能換背景,你可以導出綠背景,或自己寫代碼更換背景為視頻。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants