makemovie.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:Self-Driving-Car-ND-Predict-Steering-Angle-with-CV 作者: sjamthe 项目源码 文件源码
def makemovie(dirname, outfile):
    images = []
    filecnt = len(os.listdir(dirname))-1
    for cnt in range(1,filecnt):
        images.append(dirname+str(cnt)+'.jpg')

    clip = ImageSequenceClip(images,fps=30)
    clip.write_videofile(outfile)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号