Class: AppleTv1080TextRois
Overview
Defines AppleTv 1080p-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
7
8
9
10
|
# File 'lib/rois/apple_tv/apple_tv_1080/apple_tv_1080_text_rois.rb', line 7
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
|
#password_page_displayed ⇒ Object
24
25
26
27
28
|
# File 'lib/rois/apple_tv/apple_tv_1080/apple_tv_1080_text_rois.rb', line 24
def password_page_displayed
new(:x => 1176, :y => 366, :width => 318, :height => 64,
:ref_img => 'tsimages/reference/AppleTv1080/password_page.jpg', :similarity => 70, :text => 'PASSWORD',
:only_digits => false)
end
|
#password_page_verification_appletv ⇒ Object
30
31
32
33
34
|
# File 'lib/rois/apple_tv/apple_tv_1080/apple_tv_1080_text_rois.rb', line 30
def password_page_verification_appletv
new(:x => 1176, :y => 366, :width => 318, :height => 58,
:ref_img => 'tsimages/reference/AppleTv1080/lowercase_password_appletv', :similarity => 70, :text => '',
:only_digits => false)
end
|
#search_page_displayed_text ⇒ Object
12
13
14
15
16
|
# File 'lib/rois/apple_tv/apple_tv_1080/apple_tv_1080_text_rois.rb', line 12
def search_page_displayed_text
new(:x => 996, :y => 278, :width => 122, :height => 54,
:ref_img => 'tsimages/reference/AppleTv1080/search_page_displayed.jpg', :similarity => 70, :text => 'Search',
:only_digits => false)
end
|
#search_page_new ⇒ Object
42
43
44
45
46
|
# File 'lib/rois/apple_tv/apple_tv_1080/apple_tv_1080_text_rois.rb', line 42
def search_page_new
new(:x => 918, :y => 278, :width => 118, :height => 60,
:ref_img => 'tsimages/reference/AppleTv1080/search_page_new.jpg', :similarity => 70, :text => 'Search',
:only_digits => false)
end
|
#username_page_displayed ⇒ Object
18
19
20
21
22
|
# File 'lib/rois/apple_tv/apple_tv_1080/apple_tv_1080_text_rois.rb', line 18
def username_page_displayed
new(:x => 1176, :y => 366, :width => 314, :height => 58,
:ref_img => 'tsimages/reference/AppleTv1080/username_page.jpg', :similarity => 70, :text => 'USERNAME',
:only_digits => false)
end
|
#username_page_verification_appletv ⇒ Object
36
37
38
39
40
|
# File 'lib/rois/apple_tv/apple_tv_1080/apple_tv_1080_text_rois.rb', line 36
def username_page_verification_appletv
new(:x => 1176, :y => 364, :width => 310, :height => 64,
:ref_img => 'tsimages/reference/AppleTv1080/lowercase_username_appletv', :similarity => 70, :text => '',
:only_digits => false)
end
|