modify the 1:1 contrast code

This commit is contained in:
王庆刚
2024-09-11 17:37:32 +08:00
parent 7309dec166
commit 09e92d63b3
33 changed files with 3559 additions and 313 deletions

View File

@ -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: