v04 update
This commit is contained in:
parent
79443696c2
commit
5125ba787d
|
@ -114,7 +114,7 @@ def webcam_opencv(device_index="0",
|
|||
|
||||
is_compressFile(compressStyle) # 检测压缩文件格式
|
||||
|
||||
time_list = [1, 60, 3600] # 时间参数列表
|
||||
# time_list = [1, 60, 3600] # 时间参数列表
|
||||
|
||||
# ------------------程序开始------------------
|
||||
s_time = time.time() # 起始时间
|
||||
|
|
|
@ -42,7 +42,7 @@ def webcam_compress(compressStyle, is_autoCompressName, compressName, preCompres
|
|||
compressing_file = f'{preCompressFilePath}/{i}'
|
||||
compress_file.write(
|
||||
compressing_file, compress_type=zipfile.ZIP_DEFLATED) # 写入zip文件
|
||||
if (compressStyle == COMPRESS_SUFFIX[1]):
|
||||
elif (compressStyle == COMPRESS_SUFFIX[1]):
|
||||
# tar压缩
|
||||
compress_file = tarfile.open(compressName, compressMode)
|
||||
for i in file_tqdm:
|
||||
|
|
Loading…
Reference in New Issue