基于AI的图片/视频硬字幕去除、文本水印去除,无损分辨率生成去字幕、去水印后的图片/视频文件。无需申请第三方API,本地实现。AI-based tool for removing hard-coded subtitles and text-like watermarks from videos or Pictures.
(.venv) PS D:\ganziqian\pythonwork\demo\ video-subtitle-removerdemo> python ./backend/main.py
D:\ganziqian\pythonwork\demo\ video-subtitle-removerdemo.venv\lib\site-packages\setuptools\sandbox.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
D:\ganziqian\pythonwork\demo\ video-subtitle-removerdemo.venv\lib\site-packages\pkg_resources__init__.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('google').
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
Please input video or image file path: te.mp4
E0417 14:36:28.895889 10276 analysis_config.cc:110] Please use PaddlePaddle with GPU version.
Subtitle Removing: 0%| | 0/240 [00:00<?, ?frame/s]u
se sttn mode with no detection
[Processing] start removing subtitles...
[Info] No subtitle area has been set. Video will be processed in full screen. As a result, the final outcome might be suboptimal.
Processing: 1 - 50 / Total: 240
Subtitle Removing: 21%|███████████████████████████████████▋ | 50/240 [18:06<01:34, 2.02frame/s]P
rocessing: 51 - 100 / Total: 240
Subtitle Removing: 21%|███████████████████████████████████▋
(.venv) PS D:\ganziqian\pythonwork\demo\ video-subtitle-removerdemo> python ./backend/main.py D:\ganziqian\pythonwork\demo\ video-subtitle-removerdemo.venv\lib\site-packages\setuptools\sandbox.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources D:\ganziqian\pythonwork\demo\ video-subtitle-removerdemo.venv\lib\site-packages\pkg_resources__init__.py:2871: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('google')
. Implementing implicit namespace packages (as specified in PEP 420) is preferred topkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) Please input video or image file path: te.mp4 E0417 14:36:28.895889 10276 analysis_config.cc:110] Please use PaddlePaddle with GPU version. Subtitle Removing: 0%| | 0/240 [00:00<?, ?frame/s]u se sttn mode with no detection [Processing] start removing subtitles... [Info] No subtitle area has been set. Video will be processed in full screen. As a result, the final outcome might be suboptimal. Processing: 1 - 50 / Total: 240 Subtitle Removing: 21%|███████████████████████████████████▋ | 50/240 [18:06<01:34, 2.02frame/s]P rocessing: 51 - 100 / Total: 240 Subtitle Removing: 21%|███████████████████████████████████▋