Class: MobileImageRois

Inherits:
ImageRois show all
Defined in:
lib/rois/mobile/mobile_image_rois.rb

Overview

The ImageRois class holds all the image ROIs for the given platform instance.

Instance Method Summary collapse

Methods inherited from ImageRois

#SAMPLE, #initialize, #new

Constructor Details

This class inherits a constructor from ImageRois

Instance Method Details

#blockedObject



25
26
27
28
29
# File 'lib/rois/mobile/mobile_image_rois.rb', line 25

def blocked
  new(:x => 530, :y => 965, :width => 60, :height => 78, :similarity => 80,
      :ref_img => 'tsimages/reference/mobile/channel_blocking_screen.jpg', :img_x => 555, :img_y => 1005,
      :img_width => 10,:img_height => 10)
end

#DVRManager_delete_dashObject



31
32
33
34
35
# File 'lib/rois/mobile/mobile_image_rois.rb', line 31

def DVRManager_delete_dash
  new(:x => 20, :y => 680, :width => 140, :height => 140, :similarity => 80,
      :ref_img => 'tsimages/reference/mobile/android/phone/dvr_delete_dash.JPG', :img_x => 20, :img_y => 680,
      :img_width => 140,:img_height => 140)
end

#favorites_heart_not_selectedObject



13
14
15
16
17
# File 'lib/rois/mobile/mobile_image_rois.rb', line 13

def favorites_heart_not_selected
  new(:x => 916, :y => 239, :width => 101, :height => 78, :similarity => 90,
      :ref_img => 'tsimages/reference/mobile/android/heart_not_selected.JPG', :img_x => 916, :img_y => 239,
      :img_width => 101,:img_height => 78)
end

#favorites_heart_selectedObject



19
20
21
22
23
# File 'lib/rois/mobile/mobile_image_rois.rb', line 19

def favorites_heart_selected
  new(:x => 903, :y => 240, :width => 117, :height => 90, :similarity => 80,
      :ref_img => 'tsimages/reference/mobile/android/heart_selected.JPG', :img_x => 2277, :img_y => 207,
      :img_width => 123,:img_height => 100)
end

#highlightObject



7
8
9
10
11
# File 'lib/rois/mobile/mobile_image_rois.rb', line 7

def highlight
  new(:x => 849, :y => 243, :width => 201, :height => 141, :similarity => 80,
      :ref_img => 'tsimages/reference/mobile/devices_screen.jpg', :img_x => 975, :img_y => 305,
                :img_width => 10,:img_height => 10)
end