0
点赞
收藏
分享

微信扫一扫

opencv测试函数

import cv2

capture = cv2.VideoCapture(0)

while(True):
    # 获取一帧
    ret, frame = capture.read()

    cv2.imshow('frame', frame)
    if cv2.waitKey(1) == ord('q'):
        break

举报

相关推荐

0 条评论