class TencentCloud::Ticm::V20181127::FaceResult
人脸识别结果。
def deserialize(params)
def deserialize(params) unless params['FaceRect'].nil? @FaceRect = FaceRect.new @FaceRect.deserialize(params['FaceRect']) end unless params['Candidates'].nil? @Candidates = [] params['Candidates'].each do |i| candidate_tmp = Candidate.new candidate_tmp.deserialize(i) @Candidates << candidate_tmp end end end
def initialize(facerect=nil, candidates=nil)
def initialize(facerect=nil, candidates=nil) @FaceRect = facerect @Candidates = candidates end