This commit is contained in:
bluepulsar
2025-12-31 19:37:33 +08:00
parent fc0025650f
commit fbffe0088f
6 changed files with 44 additions and 29 deletions
+5 -3
View File
@@ -43,14 +43,16 @@ def main():
'isstitch': True,
'cuda': True,
'cal_path': './config/cal.npy',
'config_name': "prototype"
'config_name': "prototype",
'compute_contact': True
},
{
'vid_src': './s1.mp4',
'isstitch': True,
'cuda': True,
'cal_path': './config/cal.npy',
'config_name': "prototype"
'config_name': "prototype",
'compute_contact': True
},
]
@@ -63,7 +65,7 @@ def main():
# - 持续采集和处理数据
# - 通过队列将结果传回主进程
# compute_contact=True 启用接触点检测(深度图、质心、轮廓)
with orisys.MultiSensor(configs, compute_contact=True) as multi:
with orisys.MultiSensor(configs) as multi:
print("\n多传感器已启动,按 'q' 退出")
# =====================================================================