GV-USB2とOpenCVでAgilent U5855Aをキャプチャ

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import cv2
s_video = cv2.VideoCapture(0)
while True:
    ret, img = s_video.read()
    cv2.imshow("Stream Video",img)
    key = cv2.waitKey(1) & 0xff
    if key == ord('q'):
        break