add motion detect & fix linux build
This commit is contained in:
@@ -33,6 +33,9 @@ def main():
|
||||
# 步骤 2.1: 获取并拼接图像 (必要步骤)
|
||||
sensor.get_img()
|
||||
print("img_size_raw:", sensor.img_size_raw)
|
||||
if sensor.detect_motion():
|
||||
print("motion detected")
|
||||
break
|
||||
# 步骤 2.2: 计算形变场 (必要步骤)
|
||||
sensor.compute_deformation()
|
||||
# 步骤 2.3: 计算触碰点
|
||||
|
||||
Reference in New Issue
Block a user