v05 plot update 02

This commit is contained in:
13339479676 2022-01-29 07:25:02 +08:00
parent 93cf51002a
commit 85b802fb41
2 changed files with 1 additions and 15 deletions

View File

@ -28,17 +28,3 @@ def log_management(logContent, logName, logSaveMode):
def date_time_frames(date_time, frames):
f = open(f'{ROOT_PATH}/date_time_frames.csv', 'a')
f.write(f'{date_time},{frames}\n')
# print(f'csv保存成功')
# 日志读取时间和帧数
# def log2date_frames(log_path="../ows.log"):
# f = open(log_path, 'r') # 读取日志
# f_list = f.read().split('\n')[:-1] # 转换成列表
# for i in range(len(f_list)):
# mat = re.search(
# r"(\d{4}-\d{1,2}-\d{1,2}\s\d{1,2}:\d{1,2}:\d{1,2})", f_list[i])
# if (mat != None):
# print(f'{i, f_list[i]}')

2
v05.md
View File

@ -11,7 +11,7 @@
- 加入opencv-webcam-script PyPi版 详细教程文件
- 加入bash安装脚本
- 加入字体管理模块
- 加入日期-帧数图,统计各个时间段保存的帧数情况
- 加入日期-帧数图`date_frames_chart.png`,统计各个时间段保存的帧数情况