Explorar el Código

Update SegmentCloth.

sdk-team hace 2 años
padre
commit
4b9242545b

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1952
+1.36.1953

+ 3 - 0
imageseg/include/alibabacloud/imageseg/model/SegmentClothRequest.h

@@ -36,6 +36,8 @@ public:
 	void setReturnForm(const std::string &returnForm);
 	std::string getOssFile() const;
 	void setOssFile(const std::string &ossFile);
+	long getOutMode() const;
+	void setOutMode(long outMode);
 	std::string getRequestProxyBy() const;
 	void setRequestProxyBy(const std::string &requestProxyBy);
 	std::string getImageURL() const;
@@ -45,6 +47,7 @@ private:
 	std::vector<std::string> clothClass_;
 	std::string returnForm_;
 	std::string ossFile_;
+	long outMode_;
 	std::string requestProxyBy_;
 	std::string imageURL_;
 };

+ 9 - 0
imageseg/src/model/SegmentClothRequest.cc

@@ -51,6 +51,15 @@ void SegmentClothRequest::setOssFile(const std::string &ossFile) {
   setParameter(std::string("OssFile"), ossFile);
 }
 
+long SegmentClothRequest::getOutMode() const {
+  return outMode_;
+}
+
+void SegmentClothRequest::setOutMode(long outMode) {
+  outMode_ = outMode;
+  setParameter(std::string("OutMode"), std::to_string(outMode));
+}
+
 std::string SegmentClothRequest::getRequestProxyBy() const {
   return requestProxyBy_;
 }