update parameter to json

This commit is contained in:
bluepulsar
2025-12-25 16:43:09 +08:00
parent 038941593e
commit eab0294f5b
2 changed files with 29 additions and 17 deletions
+1 -3
View File
@@ -9,9 +9,7 @@ def main():
global start_time
# 打开视频
sensor1 = Sensor("./s1.mp4",isstitch=True,cuda = True,verbose = True)
config = sensor1.get_config()
print(config)
sensor1 = Sensor("./s1.mp4",isstitch=True,cuda = True,verbose = True, config_name="prototype")
# 打开摄像头
# sensor1 = Sensor(0,isstitch=True,cuda = True,verbose = True)