v06 print msg update

This commit is contained in:
13339479676 2022-02-15 07:22:33 +08:00
parent 4ab80b095d
commit 4c13f6cbab
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ def webcam_opencv(device_index="0", # 设备号
# ------------------程序开始------------------
s_time = time.time() # 起始时间
print(figlet_format("O W S", font="alligator")) # ows logo
print(f'摄像头连接成功!')
print(f'摄像头连接成功!\n')
# ------------------系统信息------------------
print(f'-------------系统信息-------------')
@ -149,7 +149,7 @@ def webcam_opencv(device_index="0", # 设备号
frame_width = cap.get(3) # 帧宽度
frame_height = cap.get(4) # 帧高度
fps = cap.get(5) # 帧率
print(f'宽度:{frame_width}, 高度:{frame_height} FPS{fps} 缓存数:{bufferSize}')
print(f'宽度:{frame_width}, 高度:{frame_height}, FPS{fps}, 缓存数:{bufferSize}')
frame_savePath = "" # 保存路径
if is_autoSaveFrame or is_handSaveFrame: