-
Install ROSE Dependencies
You can follow the Dependencies and Installation.
-
Install Demo Dependencies
cd hugging_face
# install python dependencies
pip3 install -r requirements.txt
# Run the demo
python app.pyNote: if you have problems downloading "git+https", you can set up SSH in Github and then replace them with "git+ssh://git@github.com/..."
-
Step 1: Upload your video and click the
Get video infobutton. -
Step 2:
- [Optional] Specify the tracking period for the currently added mask by dragging the
Track start frameorTrack end frame. - Click the image on the left to select the mask area.
-
- Click
Add maskif you are satisfied with the mask, or - [Optional] Click
Clear clicksif you want to reselect the mask area, or - [Optional] Click
Remove maskto remove all masks.
- Click
- [Optional] Go back to step 2.1 to add another mask.
- [Optional] Specify the tracking period for the currently added mask by dragging the
-
Step 3:
- Click the
Trackingbutton to track the masks for the whole video. - Then click
Inpaintingto get the inpainting results.
- Click the
You can always refer to the Highlighted Text box on the page for guidance on the next step!
If you find our repo useful for your research, please consider citing our paper:
@article{miao2025rose,
title={ROSE: Remove Objects with Side Effects in Videos},
author={Miao, Chenxuan and Feng, Yutong and Zeng, Jianshu and Gao, Zixiang and Liu, Hantang and Yan, Yunfeng and Qi, Donglian and Chen, Xi and Wang, Bin and Zhao, Hengshuang},
journal={arXiv preprint arXiv:2508.18633},
year={2025}
}The project harnesses the capabilities from Track Anything, Segment Anything and Cutie. Also the gradio demo page is based on ProPainter's huggingface demo page. Thanks for their awesome works.