Просмотр исходного кода

Add list event algorithm details.

sdk-team 6 лет назад
Родитель
Сommit
e1718ed478

+ 3 - 0
CHANGELOG

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

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.594
+1.36.595

+ 4 - 4
vcs/include/alibabacloud/vcs/model/GetFaceModelResultResult.h

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

+ 4 - 4
vcs/src/model/GetFaceModelResultResult.cc

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