update after ojzm

This commit is contained in:
TPP-G6
2026-03-14 10:12:22 +08:00
parent aa781a7a2a
commit 88c8b8fa01
7 changed files with 247 additions and 15 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ def main():
# 打开视频
# sensor1 = Sensor("./s1.mp4",isstitch=True,cuda = True,verbose = True)
# 方式1: 从视频文件读取
sensor1 = orisys.Sensor(0, config_name="./config/prototype_of3.json", cal_path= "./config/dd01a_0.npy", isstitch=True, cuda=False, verbose=True)
sensor1 = orisys.Sensor(8, config_name="./config/ddjx01.json", cal_path= "./config/ddjx01.npy", cuda=False, verbose=True)
start_time = time.time()
is_save = False
@@ -115,7 +115,7 @@ def main():
writer.write(save_img)
sensor1.compute_deformation() # 计算形变和分解
sensor1.compute_deformation(check_motion=False) # 计算形变和分解
# 提取信息:
# 向量场: VRAW, VNORMAL, VSHEAR: 原始,法向,切向
# 帧率,时间戳: FPS, TIMESTAMP