Class: SamsungTv1080TextRois

Inherits:
SamsungTvTextRois show all
Defined in:
lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb

Overview

Defines Samsung TV 1080p-specific Text ROIs.

Instance Method Summary collapse

Methods inherited from SamsungTvTextRois

#search_top_results_text

Methods inherited from TextRois

#SAMPLE, #initialize, #new

Constructor Details

This class inherits a constructor from TextRois

Instance Method Details

#livetv_textObject



17
18
19
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 17

def livetv_text
  new(:x => 78, :y => 148, :width => 270, :height => 104, :ref_img => '', :similarity => 80, :text => 'Live TV')
end

#no_input_signalObject



12
13
14
15
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 12

def no_input_signal
  new(:x => 572, :y => 469, :width => 785, :height => 99, :similarity => 80, :preprocessing => 0,
      :text => ['No Input Signal', 'No Signal'], :only_digits => false, :ref_img => '')
end

#Samsung_appsObject



61
62
63
64
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 61

def Samsung_apps
  new(:x => 1230, :y => 210, :width => 258, :height => 53, :similarity => 80, :preprocessing => 0,
      :text => 'SAMSUNG APPS', :only_digits => false, :ref_img => '')
end

#Samsung_apps_pageObject



66
67
68
69
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 66

def Samsung_apps_page
  new(:x => 4, :y => 13, :width => 479, :height => 87, :similarity => 80, :preprocessing => 0, :text => 'SAMSUNG APPS',
      :only_digits => false, :ref_img => '')
end

#Samsung_settings_about_deviceidObject



46
47
48
49
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 46

def Samsung_settings_about_deviceid
  new(:x => 715, :y => 645, :width => 303, :height => 74, :similarity => 80, :preprocessing => 0, :text => '',
      :only_digits => false, :ref_img => '')
end

#Samsung_settings_about_firmwareObject



41
42
43
44
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 41

def Samsung_settings_about_firmware
  new(:x => 731, :y => 528, :width => 430, :height => 107, :similarity => 80, :preprocessing => 0, :text => '',
      :only_digits => false, :ref_img => '')
end

#Samsung_settings_about_modelidObject



36
37
38
39
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 36

def Samsung_settings_about_modelid
  new(:x => 741, :y => 449, :width => 567, :height => 62, :similarity => 80, :preprocessing => 0,
      :text => 'Device Id: SHCJS', :only_digits => false, :ref_img => '')
end

#Samsung_settings_parentalcontrolinfo1Object



51
52
53
54
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 51

def Samsung_settings_parentalcontrolinfo1
  new(:x => 744, :y => 242, :width => 1074, :height => 78, :similarity => 80, :preprocessing => 0,
      :text => 'To restrict access to videos by channel, visit SpectrumTV.com.', :only_digits => false, :ref_img => '')
end

#Samsung_settings_parentalcontrolinfo2Object



56
57
58
59
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 56

def Samsung_settings_parentalcontrolinfo2
  new(:x => 735, :y => 335, :width => 727, :height => 74, :similarity => 80, :preprocessing => 0, :text => '',
      :only_digits => false, :ref_img => '')
end

#Samsung_settings_support_phoneObject



26
27
28
29
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 26

def Samsung_settings_support_phone
  new(:x => 736, :y => 346, :width => 387, :height => 68, :similarity => 80, :preprocessing => 0,
      :text => 'Phone: 844-762-1297', :only_digits => false, :ref_img => '')
end

#Samsung_settings_support_urlObject



31
32
33
34
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 31

def Samsung_settings_support_url
  new(:x => 731, :y => 439, :width => 538, :height => 73, :similarity => 80, :preprocessing => 0,
      :text => 'Website: Spectrum.net/tvapp', :only_digits => false, :ref_img => '')
end

#Samsung_settings_support_usernameObject



21
22
23
24
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 21

def Samsung_settings_support_username
  new(:x => 728, :y => 248, :width => 410, :height => 66, :similarity => 80, :preprocessing => 0,
      :text => 'Username: reno_gold', :only_digits => false, :ref_img => '')
end

#SettingsObject



71
72
73
74
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 71

def Settings
  new(:x => 78, :y => 584, :width => 235, :height => 89, :similarity => 80, :preprocessing => 0, :text => 'Settings',
      :only_digits => false, :ref_img => '')
end

#Settings_about_publicipaddressObject



81
82
83
84
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 81

def Settings_about_publicipaddress
  new(:x => 742, :y => 751, :width => 511, :height => 68, :similarity => 80, :preprocessing => 0,
      :text => 'Public IP Address: 180.151.254.', :only_digits => false, :ref_img => '')
end

#Settings_homeipaddressObject



86
87
88
89
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 86

def Settings_homeipaddress
  new(:x => 739, :y => 834, :width => 511, :height => 68, :similarity => 80, :preprocessing => 0,
      :text => 'Home IP Address: 10.157.70.50', :only_digits => false, :ref_img => '')
end

#Settings_pageObject



76
77
78
79
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 76

def Settings_page
  new(:x => 75, :y => 61, :width => 268, :height => 92, :similarity => 80, :preprocessing => 0, :text => 'Settings',
      :only_digits => false, :ref_img => '')
end

#sign_in_page_header_textObject



7
8
9
10
# File 'lib/rois/samsung_tv/samsung_tv_1080/samsung_tv_1080_text_rois.rb', line 7

def 
  new(:x => 1060, :y => 704, :width => 196, :height => 104, :similarity => 70, :text => 'SIGN IN',
      :only_digits => false, :ref_img => 'tsimages/reference/samsung_tv/1080/sign_in_page.jpeg')
end