Add face quality detection API.

This commit is contained in:
sdk-team
2020-06-23 20:07:28 +08:00
parent c9ae7d0b7e
commit 743309716b
4 changed files with 7 additions and 1 deletions

View File

@@ -68,6 +68,8 @@ void SearchFaceResult::parse(const std::string &payload)
recordObject.score = std::stof(dataNodeRecordsRecord["Score"].asString());
if(!dataNodeRecordsRecord["TargetImageUrl"].isNull())
recordObject.targetImageUrl = dataNodeRecordsRecord["TargetImageUrl"].asString();
if(!dataNodeRecordsRecord["MatchSuggestion"].isNull())
recordObject.matchSuggestion = dataNodeRecordsRecord["MatchSuggestion"].asString();
data_.records.push_back(recordObject);
}
if(!value["Code"].isNull())