Add list event algorithm details.

This commit is contained in:
sdk-team
2020-08-17 21:04:16 +08:00
parent 56138ffe5e
commit e1718ed478
4 changed files with 12 additions and 9 deletions

View File

@@ -1,3 +1,6 @@
2020-08-17 Version: 1.36.595
- Add list event algorithm details.
2020-08-17 Version: 1.36.594
- Add list event algorithm details.

View File

@@ -1 +1 @@
1.36.594
1.36.595

View File

@@ -40,14 +40,14 @@ namespace AlibabaCloud
int genderCode;
int respiratorColor;
int ethicCode;
int rightBottomX;
float rightBottomX;
int ageLowerLimit;
std::string faceStyle;
int rightBottomY;
float rightBottomY;
std::vector<std::string> featureData;
int leftTopY;
float leftTopY;
int capStyle;
int leftTopX;
float leftTopX;
int hairColor;
int skinColor;
int ageUpLimit;

View File

@@ -53,9 +53,9 @@ void GetFaceModelResultResult::parse(const std::string &payload)
if(!dataNodeRecordsRecordsItem["SkinColor"].isNull())
recordsItemObject.skinColor = std::stoi(dataNodeRecordsRecordsItem["SkinColor"].asString());
if(!dataNodeRecordsRecordsItem["RightBottomY"].isNull())
recordsItemObject.rightBottomY = std::stoi(dataNodeRecordsRecordsItem["RightBottomY"].asString());
recordsItemObject.rightBottomY = std::stof(dataNodeRecordsRecordsItem["RightBottomY"].asString());
if(!dataNodeRecordsRecordsItem["RightBottomX"].isNull())
recordsItemObject.rightBottomX = std::stoi(dataNodeRecordsRecordsItem["RightBottomX"].asString());
recordsItemObject.rightBottomX = std::stof(dataNodeRecordsRecordsItem["RightBottomX"].asString());
if(!dataNodeRecordsRecordsItem["HairStyle"].isNull())
recordsItemObject.hairStyle = std::stoi(dataNodeRecordsRecordsItem["HairStyle"].asString());
if(!dataNodeRecordsRecordsItem["GenderCode"].isNull())
@@ -67,9 +67,9 @@ void GetFaceModelResultResult::parse(const std::string &payload)
if(!dataNodeRecordsRecordsItem["AgeLowerLimit"].isNull())
recordsItemObject.ageLowerLimit = std::stoi(dataNodeRecordsRecordsItem["AgeLowerLimit"].asString());
if(!dataNodeRecordsRecordsItem["LeftTopY"].isNull())
recordsItemObject.leftTopY = std::stoi(dataNodeRecordsRecordsItem["LeftTopY"].asString());
recordsItemObject.leftTopY = std::stof(dataNodeRecordsRecordsItem["LeftTopY"].asString());
if(!dataNodeRecordsRecordsItem["LeftTopX"].isNull())
recordsItemObject.leftTopX = std::stoi(dataNodeRecordsRecordsItem["LeftTopX"].asString());
recordsItemObject.leftTopX = std::stof(dataNodeRecordsRecordsItem["LeftTopX"].asString());
if(!dataNodeRecordsRecordsItem["HairColor"].isNull())
recordsItemObject.hairColor = std::stoi(dataNodeRecordsRecordsItem["HairColor"].asString());
if(!dataNodeRecordsRecordsItem["AgeUpLimit"].isNull())