ret, frame = cap.read() read函数返回值

第一个参数ret 为True 或者False,表明有没有读取到图片图片

第二个参数frame表示截取到一帧的图片参数