Class: Roku720ImageRois

Inherits:
RokuImageRois show all
Defined in:
lib/rois/roku/roku_720/roku_720_image_rois.rb

Overview

The Roku720ImageRois class defines the image ROIs common to all Roku 720p devices.

Instance Method Summary collapse

Methods inherited from RokuImageRois

#movie_product_page_watch_now

Methods inherited from ImageRois

#SAMPLE, #initialize, #new

Constructor Details

This class inherits a constructor from ImageRois

Instance Method Details

#channel_selectedObject



169
170
171
172
173
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 169

def channel_selected
  new(:x => 33, :y => 89, :width => 384, :height => 64, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/channel_selected.JPG', :img_x => 53, :img_y => 92, :img_width => 372,
      :img_height => 58)
end

#image_rentObject



205
206
207
208
209
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 205

def image_rent
  new(:x => 505, :y => 398, :width => 306, :height => 142, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/rent_label.JPG', :img_x => 597, :img_y => 432, :img_width => 73,
      :img_height => 36)
end

#image_trailerObject



199
200
201
202
203
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 199

def image_trailer
  new(:x => 180, :y => 212, :width => 838, :height => 395, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/image_trailer.JPG', :img_x => 334, :img_y => 453, :img_width => 144,
      :img_height => 40)
end

#login_twc_loading_pageObject



31
32
33
34
35
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 31

def 
  new(:x => 9, :y => 18, :width => 1047, :height => 659, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/roku_login_twc_loading_page.JPG', :img_x => 358, :img_y => 72,
      :img_width => 550,:img_height => 550)
end

#mini_guide_on_demand_iconObject



55
56
57
58
59
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 55

def mini_guide_on_demand_icon
  new(:x => 512, :y => 385, :width => 58, :height => 46, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/roku_live_tv_mini_guide_on_now_on_demand_icon.JPG', :img_x => 525,
      :img_y => 395, :img_width => 31, :img_height => 30)
end

#movie_product_page_castObject



97
98
99
100
101
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 97

def movie_product_page_cast
  new(:x => 50, :y => 347, :width => 90, :height => 371, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/movie_product_page.JPG', :img_x => 57, :img_y => 550, :img_width => 67,
      :img_height => 32)
end

#movie_product_page_remove_watchlistObject



109
110
111
112
113
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 109

def movie_product_page_remove_watchlist
  new(:x => 280, :y => 279, :width => 932, :height => 413, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/movie_product_page_remove_watchlist.JPG', :img_x => 544, :img_y => 447,
      :img_width => 313, :img_height => 57)
end

#movie_product_page_watchlistObject



103
104
105
106
107
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 103

def movie_product_page_watchlist
  new(:x => 601, :y => 450, :width => 125, :height => 43, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/movie_product_page_watchlist.JPG', :img_x => 564, :img_y => 454,
      :img_width => 190, :img_height => 40)
end

#networkLabel_selectedObject



163
164
165
166
167
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 163

def networkLabel_selected
  new(:x => 61, :y => 142, :width => 319, :height => 58, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/networkLabel_selected.JPG', :img_x => 61, :img_y => 142, :img_width => 319,
      :img_height => 58)
end

#parental_controls_assetObject



151
152
153
154
155
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 151

def parental_controls_asset
  new(:x => 0, :y => 0, :width => 100, :height => 100, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/parental_controls_asset.JPG', :img_x => 612, :img_y => 148, :img_width => 58,
      :img_height => 44)
end

#parental_lockObject



157
158
159
160
161
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 157

def parental_lock
  new(:x => 58, :y => 118, :width => 334, :height => 32, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/parental_lock.JPG', :img_x => 506, :img_y => 214, :img_width => 26,
      :img_height => 22)
end

#Parentalcontrol_pinbarObject



145
146
147
148
149
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 145

def Parentalcontrol_pinbar
  new(:x => 238, :y => 258, :width => 806, :height => 204, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/Parentalcontrol_pinbar.JPG', :img_x => 226, :img_y => 226, :img_width => 830,
      :img_height => 282)
end

#pause_buttonObject



175
176
177
178
179
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 175

def pause_button
  new(:x => 46, :y => 652, :width => 62, :height => 39, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/pause_button.JPG', :img_x => 46, :img_y => 652, :img_width => 62,
      :img_height => 39)
end

#product_page_resume_buttonObject



127
128
129
130
131
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 127

def product_page_resume_button
  new(:x => 278, :y => 326, :width => 824, :height => 376, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/product_page_resume_button.JPG', :img_x => 290, :img_y => 348,
      :img_width => 242, :img_height => 56)
end

#reset_password_enter_buttonObject



229
230
231
232
233
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 229

def reset_password_enter_button
  new(:x => 948, :y => 571, :width => 129, :height => 43, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/reset_password_enter_button.JPG', :img_x => 941, :img_y => 576,
      :img_width => 88, :img_height => 36)
end

#resume_imageObject



187
188
189
190
191
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 187

def resume_image
  new(:x => 628, :y => 434, :width => 81, :height => 34, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/resume_image.JPG', :img_x => 628, :img_y => 434, :img_width => 81,
      :img_height => 34)
end

#resume_image_portionObject



193
194
195
196
197
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 193

def resume_image_portion
  new(:x => 549, :y => 369, :width => 236, :height => 212, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/resume_image_portion.JPG', :img_x => 625, :img_y => 465, :img_width => 85,
      :img_height => 27)
end

#series_product_page_common_sense_ratingObject



133
134
135
136
137
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 133

def series_product_page_common_sense_rating
  new(:x => 394, :y => 108, :width => 858, :height => 172, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/series_product_page.JPG', :img_x => 918, :img_y => 187, :img_width => 89,
      :img_height => 29)
end

#series_product_page_od_episodeObject



115
116
117
118
119
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 115

def series_product_page_od_episode
  new(:x => 1078, :y => 226, :width => 150, :height => 480, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/series_product_page_od_episode.JPG', :img_x => 1082, :img_y => 374,
      :img_width => 140, :img_height => 32)
end

#series_product_page_watch_on_demand_buttonObject



121
122
123
124
125
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 121

def series_product_page_watch_on_demand_button
  new(:x => 271, :y => 303, :width => 844, :height => 399, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/series_product_page_watch_on_demand_button.JPG', :img_x => 289,
      :img_y => 347, :img_width => 246, :img_height => 58)
end

#Spanish_ChannelLogoObject



139
140
141
142
143
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 139

def Spanish_ChannelLogo
  new(:x => 1018, :y => 520, :width => 102, :height => 70, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/Spanish_ChannelLogo.JPG', :img_x => 1018, :img_y => 520, :img_width => 98,
      :img_height => 58)
end

#spectrum_4011_slot_1Object



79
80
81
82
83
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 79

def spectrum_4011_slot_1
  new(:x => 118, :y => 152, :width => 213, :height => 164, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/spectrum_4011_slot_1.JPG', :img_x => 553, :img_y => 168, :img_width => 188,
      :img_height => 135)
end

#spectrum_4011_slot_2Object



85
86
87
88
89
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 85

def spectrum_4011_slot_2
  new(:x => 328, :y => 152, :width => 213, :height => 164, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/spectrum_4011_slot_1.JPG', :img_x => 553, :img_y => 168, :img_width => 188,
      :img_height => 135)
end

#spectrum_4011_slot_3Object



91
92
93
94
95
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 91

def spectrum_4011_slot_3
  new(:x => 542, :y => 152, :width => 213, :height => 164, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/spectrum_4011_slot_1.JPG', :img_x => 553, :img_y => 168, :img_width => 188,
      :img_height => 135)
end

#spectrum_app_slot_1Object



61
62
63
64
65
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 61

def spectrum_app_slot_1
  new(:x => 139, :y => 167, :width => 169, :height => 126, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/spectrum_app_slot_11.JPG', :img_x => 152, :img_y => 205, :img_width => 139,
      :img_height => 76)
end

#spectrum_app_slot_2Object



67
68
69
70
71
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 67

def spectrum_app_slot_2
  new(:x => 344, :y => 177, :width => 179, :height => 116, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/spectrum_app_slot_11.JPG', :img_x => 146, :img_y => 195, :img_width => 154,
      :img_height => 73)
end

#spectrum_app_slot_3Object



73
74
75
76
77
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 73

def spectrum_app_slot_3
  new(:x => 559, :y => 169, :width => 177, :height => 127, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/spectrum_app_slot_11.JPG', :img_x => 146, :img_y => 206, :img_width => 155,
      :img_height => 58)
end

#tv_guide_iconObject



37
38
39
40
41
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 37

def tv_guide_icon
  new(:x => 1172, :y => 134, :width => 46, :height => 37, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/tv_guide_icon.JPG', :img_x => 1174, :img_y => 136, :img_width => 42,
     :img_height => 32)
end

#twc_app_slot_1Object



43
44
45
46
47
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 43

def twc_app_slot_1
  new(:x => 118, :y => 152, :width => 213, :height => 164, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/twc_sitb_app_slot_1.JPG', :img_x => 129, :img_y => 168, :img_width => 188,
     :img_height => 136)
end

#twc_app_slot_2Object



49
50
51
52
53
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 49

def twc_app_slot_2
  new(:x => 337, :y => 160, :width => 196, :height => 144, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/roku_home_grid.JPG', :img_x => 341, :img_y => 174, :img_width => 188,
     :img_height => 125)
end

#twc_app_slot_3Object



7
8
9
10
11
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 7

def twc_app_slot_3
  new(:x => 547, :y => 160, :width => 196, :height => 149, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/roku_home_grid.JPG', :img_x => 552, :img_y => 166, :img_width => 188,
      :img_height => 134)
end

#twc_sitb_app_slot_1Object



13
14
15
16
17
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 13

def twc_sitb_app_slot_1
  new(:x => 556, :y => 238, :width => 122, :height => 50, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/twc_sitb_app_slot_1.JPG', :img_x => 557, :img_y => 240, :img_width => 133,
      :img_height => 46)
end

#twc_sitb_app_slot_2Object



19
20
21
22
23
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 19

def twc_sitb_app_slot_2
  new(:x => 339, :y => 162, :width => 192, :height => 145, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/twc_sitb_app_slot_1.JPG', :img_x => 562, :img_y => 160, :img_width => 173,
      :img_height => 84)
end

#twc_sitb_app_slot_3Object



25
26
27
28
29
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 25

def twc_sitb_app_slot_3
  new(:x => 551, :y => 161, :width => 189, :height => 146, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/twc_sitb_app_slot_1.JPG', :img_x => 556, :img_y => 163, :img_width => 179,
      :img_height => 82)
end

#video_playObject



181
182
183
184
185
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 181

def video_play
  new(:x => 42, :y => 654, :width => 55, :height => 35, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/play_button.JPG', :img_x => 42, :img_y => 654, :img_width => 55,
      :img_height => 35)
end

#watch_listObject



223
224
225
226
227
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 223

def watch_list
  new(:x => 53, :y => 228, :width => 1138, :height => 480, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/watch_list.JPG', :img_x => 554, :img_y => 397, :img_width => 225,
      :img_height => 43)
end

#watch_list_imageObject



211
212
213
214
215
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 211

def watch_list_image
  new(:x => 2, :y => 196, :width => 1246, :height => 351, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/watch_list_image.JPG', :img_x => 2, :img_y => 196, :img_width => 1161,
      :img_height => 332)
end

#watchlist_seriesObject



217
218
219
220
221
# File 'lib/rois/roku/roku_720/roku_720_image_rois.rb', line 217

def watchlist_series
  new(:x => 58, :y => 281, :width => 329, :height => 255, :similarity => 80,
      :ref_img => 'tsimages/reference/roku/watchlist_series.JPG', :img_x => 147, :img_y => 364, :img_width => 144,
      :img_height => 58)
end