video watermark removal
1.0.0
用最少的设置从视频中删除静态水印。
真的很基础,但是可以很好地用于简单的静态水印,并且可以在笔记本电脑CPU上运行(X3实时在i5-5287U上实时(2015 MacBook Pro),X9实时在i5-8400上实时。您可以在此处找到有关它如何完成的简要说明。
依赖性:
# FFMPEG
installer= $( [[ $( uname ) == " Darwin " ]] && echo brew || echo apt )
$installer install ffmpeg
# Python libraries
python3 -m pip install numpy scipy imageio
# Optional, to fetch an example video
# if already installed, make sure youtube-dl is up to date
$installer install youtube-dl
用法:
# The output will default to append "_cleaned" to the existing name,
# and use max 50 keyframes
./remove_watermark.sh /somewhere/my_video.mp4 [/somewhere/output.mp4] [max_keyframes_to_extract]
在MacOS 10.14(x86),MacOS 14.4(ARM)和Ubuntu 20.04上测试