sczhou / ProPainter

[ICCV 2023] ProPainter: Improving Propagation and Transformer for Video Inpainting
https://shangchenzhou.com/projects/ProPainter/
Other
5.39k stars 635 forks source link

How do masks get generated? With an external tool? #2

Open altryne opened 11 months ago

altryne commented 11 months ago

I'm interested to know how the masks input are generated

sczhou commented 11 months ago

If you want to try watermark removal, you'll need to manually prepare a mask to indicate the watermark's location, for example using tools like Photoshop. Typically, the watermark's position in a video is fixed, so you only need to prepare a mask for the first frame. You can refer to the example provided in this repository (https://github.com/sczhou/ProPainter/tree/main/inputs/watermark_removal).

If you want to test object removal, you can obtain the masks through a video segmentation algorithm. We will soon provide a Gradio demo that integrates a video segmentation algorithm, which will allow you more easily to obtain the video masks for a specific object. 🚀 Please stay tuned for that! 😊

asasas234 commented 11 months ago

@sczhou 我想去除的是视频里的中文字幕,有什么好的办法吗?

murphypei commented 9 months ago

@sczhou 我想去除的是视频里的中文字幕,有什么好的办法吗?

嗨,请问你找到去除字幕的方法了吗?