Skip to content

Commit

Permalink
removed Webcam.size member.
Browse files Browse the repository at this point in the history
  • Loading branch information
TyounanMOTI committed Mar 22, 2010
1 parent 11a3424 commit e3d86e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rb_webcam.rb
Expand Up @@ -66,7 +66,6 @@ class Webcam
# camera_id: '0' to autodetect.
def initialize(camera_id=0)
@capture_handler = Highgui.create_camera_capture(camera_id)
@size = size
end

# Open camera with 'method with block' sentence.
Expand Down Expand Up @@ -106,7 +105,7 @@ def resolution_mode
height: Highgui.get_property(@capture_handler, :height)}
end

attr_reader :capture_handler, :size
attr_reader :capture_handler

# Modifier for image from webcam.
# It can resize, encode, decode, etc... for image.
Expand Down

0 comments on commit e3d86e7

Please sign in to comment.