minor change

This commit is contained in:
bluepulsar
2025-12-27 16:45:06 +08:00
parent adaede435f
commit 52a8bf58dc
3 changed files with 1 additions and 16 deletions
View File
-10
View File
@@ -40,19 +40,9 @@ def main():
# =========================================================================
while True:
# 步骤 2.1: 获取并拼接图像
# get_img() 完成以下操作:
# - 从视频源读取一帧
# - 转换为灰度图
# - 提取各个视觉单元并拼接
# - 应用时域滤波降噪
sensor.get_img()
# 步骤 2.2: 计算形变场
# compute_deformation() 完成以下操作:
# - 计算光流(追踪像素位移)
# - HHD 分解(分离法向和切向分量)
# - 计算力的大小
# - 计算深度图
sensor.compute_deformation()
# 步骤 2.3: 读取传感器数据
+1 -6
View File
@@ -37,12 +37,7 @@ def main():
# =========================================================================
# 1. 初始化传感器
# =========================================================================
sensor = orisys.Sensor(
"./s1.mp4",
isstitch=True,
cuda=True,
verbose=True
)
sensor = orisys.Sensor("./s1.mp4",isstitch=True,cuda=True,verbose=True)
# =========================================================================
# 2. 启用异步流水线