Class: Spectrum720VideoRois

Inherits:
SpectrumVideoRois show all
Defined in:
lib/rois/stb/spectrum/spectrum_720/spectrum_720_video_rois.rb

Overview

Defines Spectrum720-specific Video ROIs.

Instance Method Summary collapse

Methods inherited from VideoRois

#SAMPLE, #initialize, #new

Constructor Details

This class inherits a constructor from VideoRois

Instance Method Details

#channel_changeObject



11
12
13
# File 'lib/rois/stb/spectrum/spectrum_720/spectrum_720_video_rois.rb', line 11

def channel_change
  new(:x => 367, :y => 250, :width => 1074, :height => 385, :threshold => 45, :ref_img => '')
end

#fullscreen_motionObject



30
31
32
33
# File 'lib/rois/stb/spectrum/spectrum_720/spectrum_720_video_rois.rb', line 30

def fullscreen_motion
  new(:x => 327, :y => 129, :width => 653, :height => 426, :threshold => 0.1,
      :ref_img => 'tsimages/reference/spectrum_720/fullscreen_motion.jpg')
end

#guide_scalarObject



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

def guide_scalar
  new(:x => 965, :y => 20, :width => 280, :height => 165, :threshold => 80,
      :ref_img => 'tsimages/reference/spectrum_720/guide_scalar.jpg')
end

#guide_videogrid1Object



15
16
17
18
# File 'lib/rois/stb/spectrum/spectrum_720/spectrum_720_video_rois.rb', line 15

def guide_videogrid1
  new(:x => 314, :y => 273, :width => 150, :height => 77, :threshold => 80,
      :ref_img => 'tsimages/reference/spectrum_1080/guide_videogrid.jpg')
end

#health_checkObject



7
8
9
# File 'lib/rois/stb/spectrum/spectrum_720/spectrum_720_video_rois.rb', line 7

def health_check
  new(:x => 100, :y => 50, :width => 800, :height => 200, :threshold => 0, :ref_img => '')
end

#s_lifefeedObject



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

def s_lifefeed
  new(:x => 1003, :y => 40, :width => 140, :height => 110, :threshold => 80,
      :ref_img => 'tsimages/reference/spectrum_720/s_lifefeed.jpg')
end