多台控制bug调整
This commit is contained in:
@@ -154,7 +154,6 @@ class GetImage:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
# 只在异常时打印错误
|
# 只在异常时打印错误
|
||||||
throttle(f"cap_read_err_{self.cam_index}", 2.0, logging.WARNING, f"⚠️ 采集卡 {self.cam_index} 读取异常: {e}")
|
throttle(f"cap_read_err_{self.cam_index}", 2.0, logging.WARNING, f"⚠️ 采集卡 {self.cam_index} 读取异常: {e}")
|
||||||
import time
|
|
||||||
time.sleep(0.1) # 出错时短暂延迟
|
time.sleep(0.1) # 出错时短暂延迟
|
||||||
|
|
||||||
def get_frame(self):
|
def get_frame(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user