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:
parent
801de7fc1f
commit
7b7039ec86
3 changed files with 61 additions and 0 deletions
10
lib/opencv/cvcapture.rb
Normal file
10
lib/opencv/cvcapture.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue