去除雨滴的滤镜 Derain in FFmpeg
2024-09-25 13:56:41
Remove the rain in the input image/video by applying the derain methods based on convolutional neural networks. Supported models: Recurrent Squeeze-and-Excitation Context Aggregation Net (RESCAN). See http://openaccess.thecvf.com/content_ECCV_2018/papers/Xia_Li_Recurrent_Squeeze-and-Excitation_Context_ECCV_2018_paper.pdf.
Training scripts as well as scripts for model generation are provided in the repository at https://github.com/XueweiMeng/derain_filter.git. The filter accepts the following options: ‘dnn_backend’
Specify which DNN backend to use for model loading and execution. This option accepts the following values: ‘native’
Native implementation of DNN loading and execution. Default value is ‘native’. ‘model’
Set path to model file specifying network architecture and its parameters. Note that different backends use different file formats. TensorFlow backend can load files for both formats, while native backend can load files for only its format. ffmpeg -i derain_input.mp4 -vf derain=model=derain_RESCAN.model derain_output.mp4 缺点:利用 CPU 处理时速度太慢,效果不是很完美。
最新文章
- Visual Studio 2015中创建C#的Android项目提示";Value cannot be null";的解决方法
- relative
- DUILIB 实现微信气泡聊天效果
- 每天一命令 git stash
- Validation failed for one or more entities. See ‘EntityValidationErrors’解决方法【转载】
- 枚举Enumerations
- js中的条件语句
- android greenDao SQLite数据库操作使用的工具
- Codeforces 442B Andrey and Problem(贪婪)
- Repository、IUnitOfWork 和 IDbContext 的实践
- Scrum 冲刺 第五日
- 1102mysql关于SOCK文件的认识
- MyBatis 中一对一和一对多的映射关系
- lsblk
- 第4章 DHCP服务
- BZOJ.4771.七彩树(可持久化线段树)
- 自学Linux Shell15.2-作业控制命令(jobs/bg/nice/renice/at/atp/atrm/crontab)
- SQL面试题之行转列
- (转)Python的web服务器
- MATLAB中 histogram 和 imhist 的区别