diff --git a/py/综合更新.py b/py/综合更新.py index c3dd6e2..463fb1d 100644 --- a/py/综合更新.py +++ b/py/综合更新.py @@ -227,7 +227,7 @@ for filename in os.listdir(folder_path): # 尝试打开视频流 cap = cv2.VideoCapture(url) start_time = time.time() - while (time.time() - start_time) < 2: + while (time.time() - start_time) < 5: ret, frame = cap.read() if not ret: break