tune for dq6a to reach 30 fps for 2 sensors

This commit is contained in:
radxa-d6a
2026-04-02 16:44:02 +08:00
parent 51c259e523
commit 80e951d6cd
15 changed files with 474 additions and 70 deletions
+5 -5
View File
@@ -66,7 +66,7 @@ def sensor_worker(sensor_id, vid_src, config_name, cal_path, result_queue, stop_
sensor.compute_deformation()
# 步骤3: 计算触碰点
sensor.compute_contact()
# sensor.compute_contact()
# 步骤4: 读取信息
fps, flow, vnormal, img, contour, centroid, depth_map = sensor.read_info(
@@ -130,14 +130,14 @@ def main():
sensor_configs = [
{
'sensor_id': 0,
'vid_src': 0,
'config_name': './config/ddjx01.json',
'vid_src': 2,
'config_name': './config/prototype_of3_720p.json',
'cal_path': './config/ddjx01.npy'
},
{
'sensor_id': 1,
'vid_src': 1, # 可以改为不同的视频源或摄像头索引
'config_name': './config/ddjx01.json',
'vid_src': 4, # 可以改为不同的视频源或摄像头索引
'config_name': './config/prototype_of3_720p.json',
'cal_path': './config/ddjx01.npy'
},
]