modify the 1:1 contrast code
This commit is contained in:
@ -37,10 +37,10 @@ def main():
|
||||
t6 = ProcessTimeDict['YoloResnetTrackerEnd'] # Yolo、Resnet、tracker执行结束时间
|
||||
t7 = ProcessTimeDict['trackingEnd'] # 轨迹分析结束时间
|
||||
t8 = ProcessTimeDict['contrastEnd'] # 比对结束时间
|
||||
t9 = ProcessTimeDict['algroStartToEnd'] # 算法从开始至结束时间
|
||||
t9 = ProcessTimeDict['algroStartToEnd'] # 算法总执行时间
|
||||
t10 = ProcessTimeDict['weightstablityToEnd'] # 重力稳定至算法结束时间
|
||||
t11 = ProcessTimeDict['frameEndToEnd'] # 最后一帧图像至算法结束时间
|
||||
|
||||
|
||||
TimeConsuming.append((t1, t2, t3, t4, t5, wv, t6, t7, t8, t9, t10, t11))
|
||||
DayHMS.append(datename)
|
||||
except Exception as e:
|
||||
|
@ -81,11 +81,12 @@ def videosave(bboxes, videopath="100_1688009697927.mp4"):
|
||||
|
||||
def main():
|
||||
videopath = r'\\192.168.1.28\share\测试_202406\0822\A_1724314806144'
|
||||
savepath = r'D:\badvideo'
|
||||
videopath = r'D:\videos'
|
||||
savepath = r'D:\videos'
|
||||
# video2imgs(videopath, savepath)
|
||||
k = 0
|
||||
for filename in os.listdir(videopath):
|
||||
filename = "20240822-163506_88e6409d-f19b-4e97-9f01-b3fde259cbff.ts"
|
||||
# filename = "20240822-163506_88e6409d-f19b-4e97-9f01-b3fde259cbff.ts"
|
||||
|
||||
file, ext = os.path.splitext(filename)
|
||||
if ext not in VideoFormat:
|
||||
|
Reference in New Issue
Block a user