Class: SpectrumImageRois

Inherits:
StbImageRois show all
Defined in:
lib/rois/stb/spectrum/spectrum_image_rois.rb

Overview

Defines Spectrum-specific Image ROIs.

Direct Known Subclasses

Spectrum1080ImageRois, Spectrum720ImageRois

Instance Method Summary collapse

Methods inherited from ImageRois

#SAMPLE, #initialize, #new

Constructor Details

This class inherits a constructor from ImageRois

Instance Method Details

#asset_confrim_purchase_ppvObject



19
20
21
22
23
# File 'lib/rois/stb/spectrum/spectrum_image_rois.rb', line 19

def asset_confrim_purchase_ppv
  new(:x => 717, :y => 663, :width => 249, :height => 95, :similarity => 60,
      :ref_img => 'tsimages/reference/mobile/confirm.jpg', :img_x => 717, :img_y => 663, :img_width => 249,
      :img_height => 95)
end

#guide_top3_faveObject



43
44
45
46
47
# File 'lib/rois/stb/spectrum/spectrum_image_rois.rb', line 43

def guide_top3_fave
  new(:x => 263, :y => 463, :width => 59, :height => 261, :similarity => 80,
      :ref_img => 'tsimages/reference/spectrum_1080/guide_top3_fave.jpg', :img_x => 263, :img_y => 463,
      :img_width => 59, :img_height => 261)
end

#mylibrary_fav_cwObject



37
38
39
40
41
# File 'lib/rois/stb/spectrum/spectrum_image_rois.rb', line 37

def mylibrary_fav_cw
  new(:x => 172, :y => 422, :width => 1682, :height => 153, :similarity => 80,
      :ref_img => 'tsimages/reference/spectrum_1080/mylibrary_fav_spectrum.jpg', :img_x => 699, :img_y => 460,
      :img_width => 165, :img_height => 83)
end

#mylibrary_fav_ionObject



31
32
33
34
35
# File 'lib/rois/stb/spectrum/spectrum_image_rois.rb', line 31

def mylibrary_fav_ion
  new(:x => 172, :y => 422, :width => 1682, :height => 153, :similarity => 80,
      :ref_img => 'tsimages/reference/spectrum_1080/mylibrary_fav_spectrum.jpg', :img_x => 469, :img_y => 452,
      :img_width => 135, :img_height => 102)
end

#mylibrary_fav_spectrumObject



25
26
27
28
29
# File 'lib/rois/stb/spectrum/spectrum_image_rois.rb', line 25

def mylibrary_fav_spectrum
  new(:x => 172, :y => 422, :width => 1682, :height => 153, :similarity => 80,
      :ref_img => 'tsimages/reference/spectrum_1080/mylibrary_fav_spectrum.jpg', :img_x => 205, :img_y => 476,
      :img_width => 180, :img_height => 50)
end

#ppv_listing_titleObject



7
8
9
10
11
# File 'lib/rois/stb/spectrum/spectrum_image_rois.rb', line 7

def ppv_listing_title
  new(:x => 671, :y => 302, :width => 607, :height => 85, :similarity => 60,
      :ref_img => 'tsimages/reference/mobile/ppv_title.jpg', :img_x => 671, :img_y => 302, :img_width => 607,
      :img_height => 85)
end

#program_listingObject



13
14
15
16
17
# File 'lib/rois/stb/spectrum/spectrum_image_rois.rb', line 13

def program_listing
  new(:x => 650, :y => 285, :width => 641, :height => 110, :similarity => 80,
      :ref_img => 'tsimages/reference/mobile/ppv.jpg', :img_x => 650, :img_y => 285, :img_width => 641,
      :img_height => 110)
end