Class: OdnTextRois
Overview
Defines Odn-specific Text ROIs.
Instance Method Summary
collapse
Methods inherited from TextRois
#SAMPLE, #initialize, #new
Constructor Details
This class inherits a constructor from TextRois
Instance Method Details
#asset_overview_rent_price_text ⇒ Object
30
31
32
33
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 30
def asset_overview_rent_price_text
new(:x => 519, :y => 321, :width => 436, :height => 509, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|
#episode_name_episode_listing_text ⇒ Object
40
41
42
43
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 40
def episode_name_episode_listing_text
new(:x => 753, :y => 362, :width => 719, :height => 73, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|
#episode_number_episode_lisitng_text ⇒ Object
45
46
47
48
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 45
def episode_number_episode_lisitng_text
new(:x => 576, :y => 370, :width => 104, :height => 71, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|
#episode_on_demand_indicator_text ⇒ Object
50
51
52
53
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 50
def episode_on_demand_indicator_text
new(:x => 1514, :y => 367, :width => 270, :height => 68, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|
#episodes_collapsed_select_text ⇒ Object
55
56
57
58
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 55
def episodes_collapsed_select_text
new(:x => 579, :y => 464, :width => 809, :height => 61, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|
#fast_forward_disabled_text ⇒ Object
35
36
37
38
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 35
def fast_forward_disabled_text
new(:x => 9, :y => 826, :width => 1573, :height => 79, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|
#guide_roi ⇒ Object
60
61
62
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 60
def guide_roi
new(:x => 530, :y => 996, :width => 116, :height => 46, :similarity => 70, :text => 'GUIDE', :only_digits => false)
end
|
64
65
66
67
68
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 64
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
|
#odn_asset_overview_asset_name ⇒ Object
15
16
17
18
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 15
def odn_asset_overview_asset_name
new(:x => 517, :y => 56, :width => 1107, :height => 69, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|
#odn_asset_overview_season_text ⇒ Object
20
21
22
23
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 20
def odn_asset_overview_season_text
new(:x => 553, :y => 318, :width => 1093, :height => 42, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|
#odn_movie_asset_view_option ⇒ Object
25
26
27
28
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 25
def odn_movie_asset_view_option
new(:x => 129, :y => 589, :width => 324, :height => 67, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|
#odn_no_search_result_text ⇒ Object
10
11
12
13
|
# File 'lib/rois/stb/odn/odn_text_rois.rb', line 10
def odn_no_search_result_text
new(:x => 503, :y => 369, :width => 598, :height => 67, :similarity => 80, :preprocessing => 0, :text => '',
:only_digits => false, :ref_img => '')
end
|