1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

add CvCapture

This commit is contained in:
ser1zw 2016-04-10 20:11:32 +09:00
parent 801de7fc1f
commit 7b7039ec86
3 changed files with 61 additions and 0 deletions

10
lib/opencv/cvcapture.rb Normal file
View file

@ -0,0 +1,10 @@
module Cv
class CvCapture < VideoCapture
alias_method :query, :read
alias_method :close, :release
def self.open(value = nil)
self.new(value)
end
end
end