[FFmpeg-devel] [PATCH v2] libavfilter: Update derain filter doc.
Xuewei Meng
xwmeng96 at gmail.com
Fri Jul 26 05:54:27 EEST 2019
Add the usage of tensorflow model in derain filter. Training scripts
as well as scripts for tf/native model generation are provided in the
repository at https://github.com/XueweiMeng/derain_filter.git.
Signed-off-by: Xuewei Meng <xwmeng96 at gmail.com>
---
doc/filters.texi | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index c4ba907981..8e67dddecf 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -8367,9 +8367,12 @@ 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
+Training as well as model generation scripts are provided in
the repository at @url{https://github.com/XueweiMeng/derain_filter.git}.
+Native model files (.model) can be generated from TensorFlow model
+files (.pb) by using tools/python/convert.py
+
The filter accepts the following options:
@table @option
@@ -8380,14 +8383,19 @@ the following values:
@table @samp
@item native
Native implementation of DNN loading and execution.
+
+ at item tensorflow
+TensorFlow backend. To enable this backend you
+need to install the TensorFlow for C library (see
+ at url{https://www.tensorflow.org/install/install_c}) and configure FFmpeg
with
+ at code{--enable-libtensorflow}
@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.
+Note that different backends use different file formats. TensorFlow and
native
+backend can load files for only its format.
@end table
@section deshake
--
2.17.1
More information about the ffmpeg-devel
mailing list