From patchwork Sat Jul 27 02:59:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xuewei Meng X-Patchwork-Id: 14093 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 48F804496E9 for ; Sat, 27 Jul 2019 05:59:48 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2D8E668AC0A; Sat, 27 Jul 2019 05:59:48 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AD46968ABF2 for ; Sat, 27 Jul 2019 05:59:41 +0300 (EEST) Received: by mail-pf1-f172.google.com with SMTP id g2so25353988pfq.0 for ; Fri, 26 Jul 2019 19:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=mX5ro0IJbmwoZsCmlQ77hJlhiOOVpHpYM0Y8w0Mxlfo=; b=sD5V2115CpqBeG7GhhYYwejlLWMlSlSvnOD1vjjXWheOrNLoYi3czKBewPNX9sheHx IjNj6gVVQetmnZApHfl9wMXmOr33QyeULjCkW4fFmKEqMXrmOucQxAXUrFxDVPYdvpk0 pjWA3sYoOZ7Bt0SNpQTQzMCE5JkPQvmgbCs4KE0RuxpT33jVbqOo9BSUFQSEr+YKtxAu u3EnA7e/qrJTwPsQih1YqCIFQJao7k5GEkgmyWQOh51Pz08fd3pHVXBhjHtL8lLIYnPR HFY5i7jOc2havUXLEMpji2qc+ENsHZ9VB2YfKEkhlN6eIGU4qamqUQeZSNiJtcnU9XjY bHxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=mX5ro0IJbmwoZsCmlQ77hJlhiOOVpHpYM0Y8w0Mxlfo=; b=kXIxCgeJQlPaj39u2SaVIVntYaZchD+J9FNvOyhBMu3NTuzlC48Br7JU7j+uCvTKLo CpGBCAtUYT0/ubfCj7JknmNplr0qK2UIOkMSPebWcTEzstL0p904Gb4ortJwap0tza4A KiXw2rsW/VKNtF94BTaDmPkZGs3TOJShc+XGYgRh/1ARDgG25GMGkeVU5jBZU3HwR/GW vFtRNl92Ienr/RdyxSU/zb4xxeXSxoVqvWAfPnAxehSiacMn075eSjQsSqdZPWtQupOh Mqwr38Hphmm/EMWRjGUG6pEtevz3PO95vAKJdXHl5wipR6eYMhQP4k9hryuobvQrqrJS XNlA== X-Gm-Message-State: APjAAAVdA+tPWxUv9pwdAX9G1Zo/Q8XnKBcCYEYu2w78A/Pt8JyORigO nnwnAQqNke/vUMlfX4Y6OXtQVOvZSq4= X-Google-Smtp-Source: APXvYqwu5nZKvPzKijErXNJdeHDzqp4ZWHxkDTNIVRjaR9clLibhvfBDUz8n1cuEkU9MJH0GOFpd7Q== X-Received: by 2002:aa7:8555:: with SMTP id y21mr13061944pfn.104.1564196379421; Fri, 26 Jul 2019 19:59:39 -0700 (PDT) Received: from DESKTOP-IACK8OK.lan ([183.199.233.170]) by smtp.gmail.com with ESMTPSA id q1sm75484143pfn.178.2019.07.26.19.59.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jul 2019 19:59:38 -0700 (PDT) From: Xuewei Meng To: ffmpeg-devel@ffmpeg.org Date: Sat, 27 Jul 2019 10:59:26 +0800 Message-Id: <20190727025926.62-1-xwmeng96@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190726173442.GK3219@michaelspb> References: <20190726173442.GK3219@michaelspb> Subject: [FFmpeg-devel] [PATCH v3] libavfilter: Update derain filter doc. X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" 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 --- 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. + +@item tensorflow +TensorFlow backend. To enable this backend you +need to install the TensorFlow for C library (see +@url{https://www.tensorflow.org/install/install_c}) and configure FFmpeg with +@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