[FFmpeg-devel] [PATCH 2/2] libavfilter/vf_dnn_detect: Add yolo support

Guo, Yejun yejun.guo at intel.com
Sat Nov 25 06:52:29 EET 2023



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> wenbin.chen-at-intel.com at ffmpeg.org
> Sent: Tuesday, November 21, 2023 10:20 AM
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH 2/2] libavfilter/vf_dnn_detect: Add yolo
> support
> 
> From: Wenbin Chen <wenbin.chen at intel.com>
> 
> Add yolo support. Yolo model doesn't output final result. It outputs candidate
> boxes, so we need post-process to remove overlap boxes to get final results.
> Also, the box's coordinators relate to cell and anchors, so we need these
> information to calculate boxes as well.
> 
> Model detail please refer to:
> https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/
> public/yolo-v2-tf
> 
> Signed-off-by: Wenbin Chen <wenbin.chen at intel.com>
> ---
>  libavfilter/dnn/dnn_backend_openvino.c |   6 +-
>  libavfilter/vf_dnn_detect.c            | 242 ++++++++++++++++++++++++-
>  2 files changed, 244 insertions(+), 4 deletions(-)


Looks good to me, will push soon, thanks


More information about the ffmpeg-devel mailing list