Class: TencentCloud::Tci::V20190318::FaceIdentifyResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::FaceIdentifyResult
- Defined in:
- lib/v20190318/models.rb
Overview
FaceIdentifyResult
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(faceid = nil, libraryid = nil, personid = nil, similarity = nil) ⇒ FaceIdentifyResult
constructor
A new instance of FaceIdentifyResult.
Constructor Details
#initialize(faceid = nil, libraryid = nil, personid = nil, similarity = nil) ⇒ FaceIdentifyResult
Returns a new instance of FaceIdentifyResult.
1966 1967 1968 1969 1970 1971 |
# File 'lib/v20190318/models.rb', line 1966 def initialize(faceid=nil, libraryid=nil, personid=nil, similarity=nil) @FaceId = faceid @LibraryId = libraryid @PersonId = personid @Similarity = similarity end |
Instance Attribute Details
#FaceId ⇒ Object
1964 1965 1966 |
# File 'lib/v20190318/models.rb', line 1964 def FaceId @FaceId end |
#LibraryId ⇒ Object
1964 1965 1966 |
# File 'lib/v20190318/models.rb', line 1964 def LibraryId @LibraryId end |
#PersonId ⇒ Object
1964 1965 1966 |
# File 'lib/v20190318/models.rb', line 1964 def PersonId @PersonId end |
#Similarity ⇒ Object
1964 1965 1966 |
# File 'lib/v20190318/models.rb', line 1964 def Similarity @Similarity end |
Instance Method Details
#deserialize(params) ⇒ Object
1973 1974 1975 1976 1977 1978 |
# File 'lib/v20190318/models.rb', line 1973 def deserialize(params) @FaceId = params['FaceId'] @LibraryId = params['LibraryId'] @PersonId = params['PersonId'] @Similarity = params['Similarity'] end |