栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

deepstresam的插件配置官网文档学习。举例说明:通过配置osd,设置字体的背景为透明

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

deepstresam的插件配置官网文档学习。举例说明:通过配置osd,设置字体的背景为透明

插件说明:
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvdsosd.html

python开发中插件参数:
https://docs.nvidia.com/metropolis/deepstream/python-api/index.html
举例说明:
osd插件中text-bg-color的参数含义:

red – float, Holds red component of color. Value must be in the range 0-1.

green – float, Holds green component of color. Value must be in the range 0-1.

blue – float, Holds blue component of color. Value must be in the range 0-1.

alpha – float, Holds alpha component of color. Value must be in the range 0-1.


透明化设置:

[osd]
enable=1
gpu-id=0
border-width=1
text-size=15
text-color=1;0;0;1;
text-bg-color=0.3;0.3;0.3;0
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
nvbuf-memory-type=0
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/1034438.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号