while True: img = sensor.snapshot() time.sleep(10000)# 延时10000ms