【精选Github】 去除视频路人甲,圈圈点点就搞定!
项目名:video-object-removal
中文名:从视频里“擦除”框选的目标
作者:zllrunning
来源:《Fast Online Object Tracking and Segmentation: A Unifying Approach》《Deep Video Inpainting》(CVPR 2019)
论文链接:http://openaccess.thecvf.com/content_CVPR_2019/supplemental/Wang_Fast_Online_Object_CVPR_2019_supplemental.pdf
简介:只需绘制一个边界框,你就可以擦除想要删除的对象。所有代码都已经在Ubuntu 16.04,Python 3.5,Pytorch 0.4.0,CUDA 8.0,GTX1080Ti GPU上进行了测试。
Github:https://github.com/zllrunning/video-object-removal
效果:
原图太大,无法上传
https://github.com/zllrunning/video-object-removal/blob/master/results/sgif.gif
安装
git clone https://github.com/zllrunning/video-object-removal.git
cd video-object-removal
cd get_mask
bash make.sh
cd ../inpainting
bash install.sh
cd ..
Demo
1# Download pretrained models of SiamMask and Inpainting
2# Put them in cp/ folder
3# Then just run:
4python demo.py --data data/Human6
5
6# It also supports video file.
7python demo.py --data data/bag.avi
8
9# Another optional parameter : --mask-dilation
10python demo.py --data data/Human6 --mask-dilation 24
11# This parameter controls the size of the dilation kernel used for the mask. The role is to expand the range of the mask to avoid edge problems. Please see inpainting/davis.py for more details.
推荐阅读
喜欢就点击“在看”吧!
阅读原文 最新评论
推荐文章
作者最新文章
你可能感兴趣的文章
Copyright Disclaimer: The copyright of contents (including texts, images, videos and audios) posted above belong to the User who shared or the third-party website which the User shared from. If you found your copyright have been infringed, please send a DMCA takedown notice to [email protected]. For more detail of the source, please click on the button "Read Original Post" below. For other communications, please send to [email protected].
版权声明:以上内容为用户推荐收藏至CareerEngine平台,其内容(含文字、图片、视频、音频等)及知识版权均属用户或用户转发自的第三方网站,如涉嫌侵权,请通知[email protected]进行信息删除。如需查看信息来源,请点击“查看原文”。如需洽谈其它事宜,请联系[email protected]。
版权声明:以上内容为用户推荐收藏至CareerEngine平台,其内容(含文字、图片、视频、音频等)及知识版权均属用户或用户转发自的第三方网站,如涉嫌侵权,请通知[email protected]进行信息删除。如需查看信息来源,请点击“查看原文”。如需洽谈其它事宜,请联系[email protected]。