SystemLogger
如何放置它
Python
Python
1pipeline = dai.Pipeline()
2logger = pipeline.create(dai.node.SystemLogger)输入和输出
用法
Python
Python
1pipeline = dai.Pipeline()
2logger = pipeline.create(dai.node.SystemLogger)
3logger.setRate(1) # 1 Hz
4
5# 通过 XLink 将系统信息发送到主机
6xout = pipeline.create(dai.node.XLinkOut)
7xout.setStreamName("sysinfo")
8logger.out.link(xout.input)功能示例
参考
class
depthai.node.SystemLogger(depthai.Node)
method
getRate(self) -> float: floatGets logging rate, at which messages will be sent out
method
setRate(self, hz: typing.SupportsFloat)Specify logging rate, at which messages will be sent out Parameter ``hz``: Sending rate in hertz (messages per second)
property
out
Outputs SystemInformation message that carries various system information like memory and CPU usage, temperatures, ...
需要帮助?
请前往 Discussion Forum 获取技术支持或提出您可能有的任何其他问题。