2015-11-01から1ヶ月間の記事一覧
これもメモ. import numpy as np import cv2 cap = cv2.VideoCapture(0) out = cv2.VideoWriter('output.mov',0,20,(640,480)) while(cap.isOpened()): ret, frame = cap.read() if ret==True: out.write(cv2.resize(frame,(640,480))) cv2.imshow('frame',…
OpenCVの勉強をしなければならなくなったのですが英語ページばかりでわけが分からないのでメモ. Drawing Functions in OpenCV — OpenCV-Python Tutorials 1 documentation このページを参考にimg(一面黒の画像)を作成するわけですが, libpng warning: Imag…