Class: SpectrumTextRois

Inherits:
StbTextRois show all
Defined in:
lib/rois/stb/spectrum/spectrum_text_rois.rb

Overview

Defines Spectrum-specific Text ROIs.

Direct Known Subclasses

Spectrum1080TextRois, Spectrum720TextRois

Instance Method Summary collapse

Methods inherited from TextRois

#SAMPLE, #initialize, #new

Constructor Details

This class inherits a constructor from TextRois

Instance Method Details

#duration_channel_barObject



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

def duration_channel_bar
  new(:x => 634, :y => 493, :width => 147, :height => 50, :similarity => 80, :preprocessing => 6, :text => '',
      :only_digits => false, :ref_img => '')
end

#duration_info_bannerObject



36
37
38
39
# File 'lib/rois/stb/spectrum/spectrum_text_rois.rb', line 36

def duration_info_banner
  new(:x => 634, :y => 630, :width => 148, :height => 46, :similarity => 80, :preprocessing => 6, :text => '',
      :only_digits => false, :ref_img => '')
end

#duration_mini_guideObject



46
47
48
49
# File 'lib/rois/stb/spectrum/spectrum_text_rois.rb', line 46

def duration_mini_guide
  new(:x => 634, :y => 891, :width => 132, :height => 49, :similarity => 80, :preprocessing => 6, :text => '',
      :only_digits => false, :ref_img => '')
end

#duration_progress_barObject



41
42
43
44
# File 'lib/rois/stb/spectrum/spectrum_text_rois.rb', line 41

def duration_progress_bar
  new(:x => 633, :y => 756, :width => 144, :height => 56, :similarity => 80, :preprocessing => 6, :text => '',
      :only_digits => false, :ref_img => '')
end

#guide_setting_your_recordingObject



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

def guide_setting_your_recording
  new(:x => 509, :y => 417, :width => 639, :height => 87, :similarity => 80, :preprocessing => 6,
      :text => 'Setting Your Recording', :only_digits => false,
      :ref_img => 'tsimages/reference/spectrum_1080/guide_setting_your_recording.jpg')
end

#guide_unable_to_schedule_recordingObject



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

def guide_unable_to_schedule_recording
  new(:x => 511, :y => 303, :width => 824, :height => 78, :similarity => 80, :preprocessing => 6,
      :text => 'Unable to Schedule Recording', :only_digits => false,
      :ref_img => 'tsimages/reference/spectrum_1080/unable_to_schedule_recording.jpg')
end


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

def menu_search_text
  new(:x => 72, :y => 288, :width => 161, :height => 89, :similarity => 80, :preprocessing => 0, :text => 'Search',
      :only_digits => false, :ref_img => 'tsimages/reference/mobile/saerch.jpg')
end

#no_input_signalObject

None yet



9
10
11
12
# File 'lib/rois/stb/spectrum/spectrum_text_rois.rb', line 9

def no_input_signal
  new(:x => 254, :y => 302, :width => 776, :height => 86, :similarity => 80, :preprocessing => 0,
      :text => 'No Input Signal', :only_digits => false, :ref_img => '')
end