Skip to content

Instantly share code, notes, and snippets.

@vivahiraj
Created May 4, 2014 14:35
OpenCVがとりあえず動くことを確認するサンプルです
require 'opencv'
capture = OpenCV::CvCapture.open
mat = capture.query.to_CvMat
mat.save('output.jpg')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment