소스 검색

Update SegmentCloth.

sdk-team 2 년 전
부모
커밋
4b9242545b
3개의 변경된 파일13개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      VERSION
  2. 3 0
      imageseg/include/alibabacloud/imageseg/model/SegmentClothRequest.h
  3. 9 0
      imageseg/src/model/SegmentClothRequest.cc

+ 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_;
 }