FFmpeg
|
#include "libavutil/file_open.h"
#include "libavutil/mem.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 62 of file vf_dnn_detect.c.
#define OFFSET2 | ( | x | ) | offsetof(DnnDetectContext, x) |
Definition at line 63 of file vf_dnn_detect.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 64 of file vf_dnn_detect.c.
Enumerator | |
---|---|
DDMT_SSD | |
DDMT_YOLOV1V2 | |
DDMT_YOLOV3 | |
DDMT_YOLOV4 |
Definition at line 36 of file vf_dnn_detect.c.
AVFILTER_DEFINE_CLASS | ( | dnn_detect | ) |
Definition at line 90 of file vf_dnn_detect.c.
Referenced by dnn_detect_parse_yolo_output().
Definition at line 94 of file vf_dnn_detect.c.
Referenced by dnn_detect_parse_yolo_output().
Definition at line 98 of file vf_dnn_detect.c.
Referenced by dnn_detect_parse_yolo_output().
Definition at line 111 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 140 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 150 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_yolo(), and dnn_detect_post_proc_yolov3().
|
static |
Definition at line 287 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_yolo(), and dnn_detect_post_proc_yolov3().
|
static |
Definition at line 336 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_ov().
|
static |
Definition at line 348 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_ov().
|
static |
Definition at line 363 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc_ov().
|
static |
Definition at line 472 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc().
|
static |
Definition at line 506 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc().
|
static |
Definition at line 581 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 596 of file vf_dnn_detect.c.
Referenced by dnn_detect_uninit().
|
static |
Definition at line 605 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 663 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 682 of file vf_dnn_detect.c.
|
static |
Definition at line 722 of file vf_dnn_detect.c.
Referenced by dnn_detect_activate().
|
static |
Definition at line 750 of file vf_dnn_detect.c.
|
static |
Definition at line 806 of file vf_dnn_detect.c.
|
static |
Definition at line 820 of file vf_dnn_detect.c.
|
static |
Definition at line 65 of file vf_dnn_detect.c.
|
static |
Definition at line 713 of file vf_dnn_detect.c.
|
static |
Definition at line 842 of file vf_dnn_detect.c.
const AVFilter ff_vf_dnn_detect |
Definition at line 850 of file vf_dnn_detect.c.