Update SegmentCloth.

This commit is contained in:
sdk-team
2024-07-19 02:48:43 +00:00
parent b3758c1857
commit 4b9242545b
3 changed files with 13 additions and 1 deletions

View File

@@ -1 +1 @@
1.36.1952
1.36.1953

View File

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

View File

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