From 6bef4ff31c971c239df424dee8f1cc181df4d27f Mon Sep 17 00:00:00 2001 From: frxz751113 <156018267+frxz751113@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:32:05 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E7=BB=BC=E5=90=88=E6=9B=B4=E6=96=B0.p?= =?UTF-8?q?y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- py/综合更新.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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