[FFmpeg-devel] [PATCH 8/8][RFC] libavfilter/vf_objectdetect: add a filter for object detection

Guo, Yejun yejun.guo at intel.com
Tue Apr 16 04:07:01 EEST 2019


the patch 1 to patch 7 of this patch set asks for review and push.
patch 8 (this patch) asks for comments, thanks.

> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Guo, Yejun
> Sent: Tuesday, April 02, 2019 10:30 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [FFmpeg-devel] [PATCH 8/8][RFC] libavfilter/vf_objectdetect: add a
> filter for object detection
> 
> This filter is not finished yet. Currently, for visual effect, it
> detects objections and draws a box for the detected objections with score >
> 0.8.
> 
> The purpose here is to show the previous changes of the dnn is necessary,
> and it is also a RFC (require for comment) patch for this filter.
> 
> In my plan, an example under doc/examples will be added to show how to
> use this filter and connet the filter result with the ROI encoding.
> 
> And, will add options to this filter for score_threshold, visual effect or not.
> 
> And, a new type of sidedata will be added to hold the filter result.
> So, the example can get the filter result and set ROI info for encoder.
> 
> Looks that, it is not easy to transfer data between filters, between
> filter and application, between filter and encoders, the current feasible
> method I found is to by sidedata.
> 
> Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> ---
>  configure                     |   1 +
>  doc/filters.texi              |  20 ++++
>  libavfilter/Makefile          |   1 +
>  libavfilter/allfilters.c      |   1 +
>  libavfilter/vf_objectdetect.c | 222
> ++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 245 insertions(+)
>  create mode 100644 libavfilter/vf_objectdetect.c
> 


More information about the ffmpeg-devel mailing list