guoqing bakeup
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user