环境:windows 7 +opencv+cpu+py3.6
'''
视频转帧
'''
import cv2
def video2frame(videos_path,frames_save_path,time_interval):
'''
:param videos_path:视频的存放路径
:param frames_save_path:视频切分成帧之后的保存路径
:param time_interval:保存间隔
:return:
'''
vidcap = cv2.VideoCapture(videos_path)
success