ows ascii art logo update
This commit is contained in:
parent
190641fdc3
commit
80c457acd8
|
@ -9,6 +9,7 @@ import time
|
||||||
import platform
|
import platform
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
from pyfiglet import figlet_format
|
||||||
from utils.ows_path import increment_path
|
from utils.ows_path import increment_path
|
||||||
from utils.hotkey import hotkey_judge
|
from utils.hotkey import hotkey_judge
|
||||||
from utils.frame_opt import frame_opt
|
from utils.frame_opt import frame_opt
|
||||||
|
@ -125,6 +126,7 @@ def webcam_opencv(device_index="0", # 设备号
|
||||||
if is_capOpened: # 设备连接成功
|
if is_capOpened: # 设备连接成功
|
||||||
# ------------------程序开始------------------
|
# ------------------程序开始------------------
|
||||||
s_time = time.time() # 起始时间
|
s_time = time.time() # 起始时间
|
||||||
|
print(figlet_format("O W S", font="alligator")) # ows logo
|
||||||
print(f'摄像头连接成功!')
|
print(f'摄像头连接成功!')
|
||||||
|
|
||||||
# ------------------系统信息------------------
|
# ------------------系统信息------------------
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
opencv-python>=4.5.5.62
|
opencv-python>=4.5.5.62
|
||||||
PyYAML>=6.0
|
PyYAML>=6.0
|
||||||
tqdm>=4.62.3
|
tqdm>=4.62.3
|
||||||
matplotlib>=3.5.1
|
matplotlib>=3.5.1
|
||||||
|
pyfiglet>=0.8.0
|
Loading…
Reference in New Issue