{"description":"Surface\u306e\u30ab\u30e1\u30e9\u3092Python\u304b\u3089\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u4f7f\u3046\u306b\u306f\u3001OpenCV\u3092\u5229\u7528\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3002 import cv2 video_capture = cv2.VideoCapture(1) while True: ret, frame = video_capture.read() cv2.imshow('Video', frame) if cv2.waitKey(1) & 0xFF == ord('q'): break video_capture.release() cv2.destroyAllWindows() \u3053\u308c\u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u30ab\u30e1\u30e9\u306e\u6620\u50cf\u3092\u53d6\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u7d42\u4e86\u3059\u308b\u2026","height":"190","blog_title":"TadaoYamaoka\u306e\u958b\u767a\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/TadaoYamaoka/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftadaoyamaoka.hatenablog.com%2Fentry%2F2017%2F02%2F21%2F201919\" title=\"Surface\u306e\u30ab\u30e1\u30e9\u3092Python\u304b\u3089\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u4f7f\u3046 - TadaoYamaoka\u306e\u958b\u767a\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2017-02-21 20:19:19","categories":["OpenCV","Python"],"provider_name":"Hatena Blog","title":"Surface\u306e\u30ab\u30e1\u30e9\u3092Python\u304b\u3089\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u4f7f\u3046","width":"100%","url":"https://tadaoyamaoka.hatenablog.com/entry/2017/02/21/201919","version":"1.0","type":"rich","author_name":"TadaoYamaoka","provider_url":"https://hatena.blog","blog_url":"https://tadaoyamaoka.hatenablog.com/","image_url":null}