逐个图片保存成视频

 fourcc = cv.VideoWriter_fourcc(*'XVID')
writer = cv.VideoWriter("out.avi", fourcc, 20.0, (640, 480), True)
writer.write(im)

 

posted @ 2020-08-21 09:26  yunshangyue  阅读(76)  评论(0编辑  收藏  举报