Class: Percept::CheckboxDetector
- Inherits:
-
Object
- Object
- Percept::CheckboxDetector
- Includes:
- Utils
- Defined in:
- lib/percept/checkbox_detector.rb
Instance Attribute Summary collapse
-
#image ⇒ Object
Returns the value of attribute image.
Instance Method Summary collapse
Methods included from Utils
#color_tolerance, #scaled_color
Instance Attribute Details
#image ⇒ Object
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_checkboxes ⇒ Object
14 15 |
# File 'lib/percept/checkbox_detector.rb', line 14 def find_checkboxes end |