diff options
author | Ting Fu <ting.fu@intel.com> | 2021-05-14 16:47:02 +0800 |
---|---|---|
committer | Guo Yejun <yejun.guo@intel.com> | 2021-05-26 08:58:27 +0800 |
commit | 7a879cce3793a1314ce50cef4b75671f5e0c0219 (patch) | |
tree | adbf5fcf6806390ec07dacbc522df159fcd0d212 /libavutil/base64.c | |
parent | f444be643e50540843dd630e539aa00f737907c7 (diff) | |
download | ffmpeg-7a879cce3793a1314ce50cef4b75671f5e0c0219.tar.gz |
libavfilter: vf_drawtext filter support draw text with detection bounding boxes in side_data
This feature can be used with dnn detection by setting vf_drawtext's option
text_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,drawtext=text_source=side_data_detection_bboxes:fontcolor=green:\
fontsize=40, -y face_detect.jpeg
Please note, the default fontsize of vf_drawtext is 12, which may be too
small to be seen clearly.
Signed-off-by: Ting Fu <ting.fu@intel.com>
Diffstat (limited to 'libavutil/base64.c')
0 files changed, 0 insertions, 0 deletions