YaoFANGUK / video-subtitle-remover

基于AI的图片/视频硬字幕去除、文本水印去除,无损分辨率生成去字幕、去水印后的图片/视频文件。无需申请第三方API,本地实现。AI-based tool for removing hard-coded subtitles and text-like watermarks from videos or Pictures.
Apache License 2.0
3.25k stars 431 forks source link

Can this handle GIF? #66

Open wannanfeng opened 2 months ago

wannanfeng commented 2 months ago

python .backend/main.py

Error: original_frame = cv2.imread(self.video_path) original_frame is None

似乎cv2.imread不能处理GIF了? 我尝试了使用imageio.mimread读取gif以及cv2.VideoCapture 均会有其他部分逻辑的出错,似乎改起来有点麻烦