summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTing Fu <ting.fu@intel.com>2021-05-14 16:47:01 +0800
committerGuo Yejun <yejun.guo@intel.com>2021-05-26 08:58:27 +0800
commitf444be643e50540843dd630e539aa00f737907c7 (patch)
treebc1a6d551d4ae9ef1355f1d706d867c03ead8656 /doc
parent9921ae8a5d7b883cdc14cb2a2e17dcdf6feaea94 (diff)
libavfilter: vf_drawbox filter support draw box with detection bounding boxes in side_data
This feature can be used with dnn detection by setting vf_drawbox's option box_source=side_data_detection_bboxes, for example: ./ffmpeg -i face.jpeg -vf dnn_detect=dnn_backend=openvino:model=face-detection-adas-0001.xml:\ input=data:output=detection_out:labels=face-detection-adas-0001.label,\ drawbox=box_source=side_data_detection_bboxes -y face_detect.jpeg Signed-off-by: Ting Fu <ting.fu@intel.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index a8797e5dc3..adb9d068e9 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -10356,6 +10356,14 @@ The x and y offset coordinates where the box is drawn.
@item h
The width and height of the drawn box.
+@item box_source
+Box source can be set as side_data_detection_bboxes if you want to use box data in
+detection bboxes of side data.
+
+If @var{box_source} is set, the @var{x}, @var{y}, @var{width} and @var{height} will be ignored and
+still use box data in detection bboxes of side data. So please do not use this parameter if you were
+not sure about the box source.
+
@item t
The thickness of the drawn box.