Class: TencentCloud::Iai::V20200303::DetectFaceSimilarityRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iai::V20200303::DetectFaceSimilarityRequest
- Defined in:
- lib/v20200303/models.rb
Overview
DetectFaceSimilarity请求参数结构体
Instance Attribute Summary collapse
-
#ImageA ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。.
-
-
#ImageB ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。.
-
-
#QualityControl ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。.
-
-
#UrlA ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。.
-
-
#UrlB ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imagea = nil, imageb = nil, urla = nil, urlb = nil, qualitycontrol = nil) ⇒ DetectFaceSimilarityRequest
constructor
A new instance of DetectFaceSimilarityRequest.
Constructor Details
#initialize(imagea = nil, imageb = nil, urla = nil, urlb = nil, qualitycontrol = nil) ⇒ DetectFaceSimilarityRequest
Returns a new instance of DetectFaceSimilarityRequest.
1418 1419 1420 1421 1422 1423 1424 |
# File 'lib/v20200303/models.rb', line 1418 def initialize(imagea=nil, imageb=nil, urla=nil, urlb=nil, qualitycontrol=nil) @ImageA = imagea @ImageB = imageb @UrlA = urla @UrlB = urlb @QualityControl = qualitycontrol end |
Instance Attribute Details
#ImageA ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
1416 1417 1418 |
# File 'lib/v20200303/models.rb', line 1416 def ImageA @ImageA end |
#ImageB ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
1416 1417 1418 |
# File 'lib/v20200303/models.rb', line 1416 def ImageB @ImageB end |
#QualityControl ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
1416 1417 1418 |
# File 'lib/v20200303/models.rb', line 1416 def QualityControl @QualityControl end |
#UrlA ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
1416 1417 1418 |
# File 'lib/v20200303/models.rb', line 1416 def UrlA @UrlA end |
#UrlB ⇒ Object
-
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
1416 1417 1418 |
# File 'lib/v20200303/models.rb', line 1416 def UrlB @UrlB end |
Instance Method Details
#deserialize(params) ⇒ Object
1426 1427 1428 1429 1430 1431 1432 |
# File 'lib/v20200303/models.rb', line 1426 def deserialize(params) @ImageA = params['ImageA'] @ImageB = params['ImageB'] @UrlA = params['UrlA'] @UrlB = params['UrlB'] @QualityControl = params['QualityControl'] end |