FFmpeg
|
#include "libavutil/file_open.h"
#include "libavutil/opt.h"
#include "filters.h"
#include "dnn_filter_common.h"
#include "internal.h"
#include "video.h"
#include "libavutil/time.h"
#include "libavutil/avstring.h"
#include "libavutil/detection_bbox.h"
#include "libavutil/fifo.h"
Go to the source code of this file.
Data Structures | |
struct | DnnDetectContext |
Macros | |
#define | OFFSET(x) offsetof(DnnDetectContext, dnnctx.x) |
#define | OFFSET2(x) offsetof(DnnDetectContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
enum | DNNDetectionModelType { DDMT_SSD, DDMT_YOLOV1V2, DDMT_YOLOV3, DDMT_YOLOV4 } |
Variables | |
static const AVOption | dnn_detect_options [] |
static enum AVPixelFormat | pix_fmts [] |
static const AVFilterPad | dnn_detect_inputs [] |
const AVFilter | ff_vf_dnn_detect |
implementing an object detecting filter using deep learning networks.
Definition in file vf_dnn_detect.c.
#define OFFSET | ( | x | ) | offsetof(DnnDetectContext, dnnctx.x) |
Definition at line 61 of file vf_dnn_detect.c.
#define OFFSET2 | ( | x | ) | offsetof(DnnDetectContext, x) |
Definition at line 62 of file vf_dnn_detect.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 63 of file vf_dnn_detect.c.
Enumerator | |
---|---|
DDMT_SSD | |
DDMT_YOLOV1V2 | |
DDMT_YOLOV3 | |
DDMT_YOLOV4 |
Definition at line 35 of file vf_dnn_detect.c.
AVFILTER_DEFINE_CLASS | ( | dnn_detect | ) |
Definition at line 89 of file vf_dnn_detect.c.
Referenced by dnn_detect_parse_yolo_output().
Definition at line 93 of file vf_dnn_detect.c.
Referenced by dnn_detect_parse_yolo_output().
Definition at line 97 of file vf_dnn_detect.c.
Referenced by dnn_detect_parse_yolo_output().
Definition at line 110 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 139 of file vf_dnn_detect.c.
Referenced by dnn_detect_fill_side_data().
|
static |
find all candidate bbox yolo output can be reshaped to [B, N*D, Cx, Cy] Detection box 'D' has format [x
, y
, h
, w
, box_score
, class_no_1
, ...,]
Definition at line 149 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_yolo(), and dnn_detect_post_proc_yolov3().
|
static |
Definition at line 286 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_yolo(), and dnn_detect_post_proc_yolov3().
|
static |
Definition at line 335 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_ov().
|
static |
Definition at line 347 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_ov().
|
static |
Definition at line 362 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_ov().
|
static |
Definition at line 471 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc().
|
static |
Definition at line 505 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc().
|
static |
Definition at line 580 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 595 of file vf_dnn_detect.c.
Referenced by dnn_detect_uninit().
|
static |
Definition at line 604 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 662 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 681 of file vf_dnn_detect.c.
|
static |
Definition at line 721 of file vf_dnn_detect.c.
Referenced by dnn_detect_activate().
|
static |
Definition at line 749 of file vf_dnn_detect.c.
|
static |
Definition at line 805 of file vf_dnn_detect.c.
|
static |
Definition at line 819 of file vf_dnn_detect.c.
|
static |
Definition at line 64 of file vf_dnn_detect.c.
|
static |
Definition at line 712 of file vf_dnn_detect.c.
|
static |
Definition at line 841 of file vf_dnn_detect.c.
const AVFilter ff_vf_dnn_detect |
Definition at line 849 of file vf_dnn_detect.c.