v04 update 03
This commit is contained in:
parent
586a34b5ec
commit
d65e9b3c35
|
@ -133,7 +133,7 @@ def webcam_opencv(device_index="0",
|
|||
if (is_autoSaveFrame): # 自动保存
|
||||
if (auto_frameNum > 0 and frame_num > auto_frameNum):
|
||||
# 设置自动最大保存帧数
|
||||
frame_num -= 1
|
||||
frame_num -= 1 # 修复帧数显示问题
|
||||
break
|
||||
if (frame_num % frame_nSave == 0): # 每隔n帧保存一次
|
||||
frame_opt(frame, frame_savePath, frame_num, is_resizeFrame, resize_frame, resizeRatio_frame,
|
||||
|
|
Loading…
Reference in New Issue