v04 update 02

This commit is contained in:
13339479676 2022-01-18 08:43:51 +08:00
parent 0a04c9d26e
commit 586a34b5ec
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ def webcam_opencv(device_index="0",
if (is_autoSaveFrame): # 自动保存
if (auto_frameNum > 0 and frame_num > auto_frameNum):
# 设置自动最大保存帧数
frame_num -= 1
break
if (frame_num % frame_nSave == 0): # 每隔n帧保存一次
frame_opt(frame, frame_savePath, frame_num, is_resizeFrame, resize_frame, resizeRatio_frame,