Class: Percept::CheckboxDetector

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/percept/checkbox_detector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Utils

#color_tolerance, #scaled_color

Instance Attribute Details

#imageObject

Returns the value of attribute image.



7
8
9
# File 'lib/percept/checkbox_detector.rb', line 7

def image
  @image
end

Instance Method Details

#detect_checkboxes(image) ⇒ Object



9
10
11
12
# File 'lib/percept/checkbox_detector.rb', line 9

def detect_checkboxes(image)
  self.image = image
  # checkboxes = checkbox_collection.new
end

#find_checkboxesObject



14
15
# File 'lib/percept/checkbox_detector.rb', line 14

def find_checkboxes
end