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上測試