群里
python教程:用多张图片生成视频
代码如下#!/usr/bin/env python# -*- coding: utf-8 -*-opengl是什么在哪设置import cv2import osfps =10size =(1280,720)videowriter = cv2.VideoWriter("test.mp4", cv2.VideoWriter_fourcc('M','J','P','G'), fps, size)path...
代码如下#!/usr/bin/env python# -*- coding: utf-8 -*-opengl是什么在哪设置import cv2import osfps =10size =(1280,720)videowriter = cv2.VideoWriter("test.mp4", cv2.VideoWriter_fourcc('M','J','P','G'), fps, size)path...