guoqing bakeup

This commit is contained in:
王庆刚
2024-10-04 12:12:44 +08:00
parent 09e92d63b3
commit 390c5d2d94
37 changed files with 1409 additions and 219 deletions

View File

@ -80,13 +80,12 @@ def videosave(bboxes, videopath="100_1688009697927.mp4"):
cap.release()
def main():
videopath = r'\\192.168.1.28\share\测试_202406\0822\A_1724314806144'
videopath = r'D:\videos'
savepath = r'D:\videos'
videopath = r'D:\datasets\ym'
savepath = r'D:\datasets\ym'
# video2imgs(videopath, savepath)
k = 0
for filename in os.listdir(videopath):
# filename = "20240822-163506_88e6409d-f19b-4e97-9f01-b3fde259cbff.ts"
filename = "20240929-155533.ts"
file, ext = os.path.splitext(filename)
if ext not in VideoFormat: