summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorXuewei Meng <xwmeng96@gmail.com>2019-05-30 20:35:17 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-06-06 13:59:43 +0800
commit78e1d7f42110aec8d4cd703a7939c64b5a191952 (patch)
tree4d1dd0f47950907ff88cc8645f71ac64de8723ae /doc
parent3be44900144267f657d935c31130d9377d8a722b (diff)
libavfilter: Add derain filter
Remove the rain in the input image/video by applying the derain methods based on convolutional neural networks. Training scripts as well as scripts for model generation are provided in the repository at https://github.com/XueweiMeng/derain_filter.git. Signed-off-by: Xuewei Meng <xwmeng96@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 5db8e0302f..ec1c7c7591 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -8264,6 +8264,40 @@ delogo=x=0:y=0:w=100:h=77:band=10
@end itemize
+@section derain
+
+Remove the rain in the input image/video by applying the derain methods based on
+convolutional neural networks. Supported models:
+
+@itemize
+@item
+Recurrent Squeeze-and-Excitation Context Aggregation Net (RESCAN).
+See @url{http://openaccess.thecvf.com/content_ECCV_2018/papers/Xia_Li_Recurrent_Squeeze-and-Excitation_Context_ECCV_2018_paper.pdf}.
+@end itemize
+
+Training scripts as well as scripts for model generation are provided in
+the repository at @url{https://github.com/XueweiMeng/derain_filter.git}.
+
+The filter accepts the following options:
+
+@table @option
+@item dnn_backend
+Specify which DNN backend to use for model loading and execution. This option accepts
+the following values:
+
+@table @samp
+@item native
+Native implementation of DNN loading and execution.
+@end table
+Default value is @samp{native}.
+
+@item 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.
+@end table
+
@section deshake
Attempt to fix small changes in horizontal and/or vertical shift. This