摘要:
1.视频图片切片 import cv2 cap = cv2.VideoCapture("tiaowu.mp4") isOpened = cap.isOpened # 判断是否打开‘ print(isOpened) fps = cap.get(cv2.CAP_PROP_FPS) # 帧率 width 阅读全文
posted @ 2022-05-03 18:50 红与黑hyh 阅读(528) 评论(0) 推荐(0) 编辑
摘要:
1.视频图片切片 import cv2 cap = cv2.VideoCapture("tiaowu.mp4") isOpened = cap.isOpened # 判断是否打开‘ print(isOpened) fps = cap.get(cv2.CAP_PROP_FPS) # 帧率 width 阅读全文
posted @ 2022-05-03 18:50 红与黑hyh 阅读(528) 评论(0) 推荐(0) 编辑
摘要:
pip install pygame import pygame.camera pygame.camera.init() camera_id_list = pygame.camera.list_cameras() print(camera_id_list) 阅读全文
posted @ 2022-05-03 16:35 红与黑hyh 阅读(1382) 评论(0) 推荐(0) 编辑 |
||