Update IPTV搜索引擎采集.py
This commit is contained in:
+2
-2
@@ -212,8 +212,8 @@ for filename in os.listdir(folder_path):
|
||||
if not ret:
|
||||
break
|
||||
frame_count += 1
|
||||
# 如果在3秒内读取到60帧以上,设置成功标志
|
||||
if frame_count >= 60:
|
||||
# 如果在3秒内读取到63帧以上,设置成功标志
|
||||
if frame_count >= 63:
|
||||
success = True
|
||||
break
|
||||
cap.release()
|
||||
|
||||
Reference in New Issue
Block a user