Release DetectKitchenAnimals DetectWorkwear.
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#include "model/ClassifyVehicleInsuranceResult.h"
|
||||
#include "model/DetectIPCObjectRequest.h"
|
||||
#include "model/DetectIPCObjectResult.h"
|
||||
#include "model/DetectKitchenAnimalsRequest.h"
|
||||
#include "model/DetectKitchenAnimalsResult.h"
|
||||
#include "model/DetectMainBodyRequest.h"
|
||||
#include "model/DetectMainBodyResult.h"
|
||||
#include "model/DetectObjectRequest.h"
|
||||
@@ -38,10 +40,14 @@
|
||||
#include "model/DetectVehicleICongestionResult.h"
|
||||
#include "model/DetectVehicleIllegalParkingRequest.h"
|
||||
#include "model/DetectVehicleIllegalParkingResult.h"
|
||||
#include "model/DetectVideoFrameRequest.h"
|
||||
#include "model/DetectVideoFrameResult.h"
|
||||
#include "model/DetectVideoIPCObjectRequest.h"
|
||||
#include "model/DetectVideoIPCObjectResult.h"
|
||||
#include "model/DetectWhiteBaseImageRequest.h"
|
||||
#include "model/DetectWhiteBaseImageResult.h"
|
||||
#include "model/DetectWorkwearRequest.h"
|
||||
#include "model/DetectWorkwearResult.h"
|
||||
#include "model/GenerateVehicleRepairPlanRequest.h"
|
||||
#include "model/GenerateVehicleRepairPlanResult.h"
|
||||
#include "model/GetAsyncJobResultRequest.h"
|
||||
@@ -69,6 +75,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DetectIPCObjectResult> DetectIPCObjectOutcome;
|
||||
typedef std::future<DetectIPCObjectOutcome> DetectIPCObjectOutcomeCallable;
|
||||
typedef std::function<void(const ObjectdetClient*, const Model::DetectIPCObjectRequest&, const DetectIPCObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectIPCObjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectKitchenAnimalsResult> DetectKitchenAnimalsOutcome;
|
||||
typedef std::future<DetectKitchenAnimalsOutcome> DetectKitchenAnimalsOutcomeCallable;
|
||||
typedef std::function<void(const ObjectdetClient*, const Model::DetectKitchenAnimalsRequest&, const DetectKitchenAnimalsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectKitchenAnimalsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectMainBodyResult> DetectMainBodyOutcome;
|
||||
typedef std::future<DetectMainBodyOutcome> DetectMainBodyOutcomeCallable;
|
||||
typedef std::function<void(const ObjectdetClient*, const Model::DetectMainBodyRequest&, const DetectMainBodyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectMainBodyAsyncHandler;
|
||||
@@ -87,12 +96,18 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DetectVehicleIllegalParkingResult> DetectVehicleIllegalParkingOutcome;
|
||||
typedef std::future<DetectVehicleIllegalParkingOutcome> DetectVehicleIllegalParkingOutcomeCallable;
|
||||
typedef std::function<void(const ObjectdetClient*, const Model::DetectVehicleIllegalParkingRequest&, const DetectVehicleIllegalParkingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectVehicleIllegalParkingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectVideoFrameResult> DetectVideoFrameOutcome;
|
||||
typedef std::future<DetectVideoFrameOutcome> DetectVideoFrameOutcomeCallable;
|
||||
typedef std::function<void(const ObjectdetClient*, const Model::DetectVideoFrameRequest&, const DetectVideoFrameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectVideoFrameAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectVideoIPCObjectResult> DetectVideoIPCObjectOutcome;
|
||||
typedef std::future<DetectVideoIPCObjectOutcome> DetectVideoIPCObjectOutcomeCallable;
|
||||
typedef std::function<void(const ObjectdetClient*, const Model::DetectVideoIPCObjectRequest&, const DetectVideoIPCObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectVideoIPCObjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectWhiteBaseImageResult> DetectWhiteBaseImageOutcome;
|
||||
typedef std::future<DetectWhiteBaseImageOutcome> DetectWhiteBaseImageOutcomeCallable;
|
||||
typedef std::function<void(const ObjectdetClient*, const Model::DetectWhiteBaseImageRequest&, const DetectWhiteBaseImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectWhiteBaseImageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectWorkwearResult> DetectWorkwearOutcome;
|
||||
typedef std::future<DetectWorkwearOutcome> DetectWorkwearOutcomeCallable;
|
||||
typedef std::function<void(const ObjectdetClient*, const Model::DetectWorkwearRequest&, const DetectWorkwearOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectWorkwearAsyncHandler;
|
||||
typedef Outcome<Error, Model::GenerateVehicleRepairPlanResult> GenerateVehicleRepairPlanOutcome;
|
||||
typedef std::future<GenerateVehicleRepairPlanOutcome> GenerateVehicleRepairPlanOutcomeCallable;
|
||||
typedef std::function<void(const ObjectdetClient*, const Model::GenerateVehicleRepairPlanRequest&, const GenerateVehicleRepairPlanOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateVehicleRepairPlanAsyncHandler;
|
||||
@@ -122,6 +137,9 @@ namespace AlibabaCloud
|
||||
DetectIPCObjectOutcome detectIPCObject(const Model::DetectIPCObjectRequest &request)const;
|
||||
void detectIPCObjectAsync(const Model::DetectIPCObjectRequest& request, const DetectIPCObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectIPCObjectOutcomeCallable detectIPCObjectCallable(const Model::DetectIPCObjectRequest& request) const;
|
||||
DetectKitchenAnimalsOutcome detectKitchenAnimals(const Model::DetectKitchenAnimalsRequest &request)const;
|
||||
void detectKitchenAnimalsAsync(const Model::DetectKitchenAnimalsRequest& request, const DetectKitchenAnimalsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectKitchenAnimalsOutcomeCallable detectKitchenAnimalsCallable(const Model::DetectKitchenAnimalsRequest& request) const;
|
||||
DetectMainBodyOutcome detectMainBody(const Model::DetectMainBodyRequest &request)const;
|
||||
void detectMainBodyAsync(const Model::DetectMainBodyRequest& request, const DetectMainBodyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectMainBodyOutcomeCallable detectMainBodyCallable(const Model::DetectMainBodyRequest& request) const;
|
||||
@@ -140,12 +158,18 @@ namespace AlibabaCloud
|
||||
DetectVehicleIllegalParkingOutcome detectVehicleIllegalParking(const Model::DetectVehicleIllegalParkingRequest &request)const;
|
||||
void detectVehicleIllegalParkingAsync(const Model::DetectVehicleIllegalParkingRequest& request, const DetectVehicleIllegalParkingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectVehicleIllegalParkingOutcomeCallable detectVehicleIllegalParkingCallable(const Model::DetectVehicleIllegalParkingRequest& request) const;
|
||||
DetectVideoFrameOutcome detectVideoFrame(const Model::DetectVideoFrameRequest &request)const;
|
||||
void detectVideoFrameAsync(const Model::DetectVideoFrameRequest& request, const DetectVideoFrameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectVideoFrameOutcomeCallable detectVideoFrameCallable(const Model::DetectVideoFrameRequest& request) const;
|
||||
DetectVideoIPCObjectOutcome detectVideoIPCObject(const Model::DetectVideoIPCObjectRequest &request)const;
|
||||
void detectVideoIPCObjectAsync(const Model::DetectVideoIPCObjectRequest& request, const DetectVideoIPCObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectVideoIPCObjectOutcomeCallable detectVideoIPCObjectCallable(const Model::DetectVideoIPCObjectRequest& request) const;
|
||||
DetectWhiteBaseImageOutcome detectWhiteBaseImage(const Model::DetectWhiteBaseImageRequest &request)const;
|
||||
void detectWhiteBaseImageAsync(const Model::DetectWhiteBaseImageRequest& request, const DetectWhiteBaseImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectWhiteBaseImageOutcomeCallable detectWhiteBaseImageCallable(const Model::DetectWhiteBaseImageRequest& request) const;
|
||||
DetectWorkwearOutcome detectWorkwear(const Model::DetectWorkwearRequest &request)const;
|
||||
void detectWorkwearAsync(const Model::DetectWorkwearRequest& request, const DetectWorkwearAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectWorkwearOutcomeCallable detectWorkwearCallable(const Model::DetectWorkwearRequest& request) const;
|
||||
GenerateVehicleRepairPlanOutcome generateVehicleRepairPlan(const Model::GenerateVehicleRepairPlanRequest &request)const;
|
||||
void generateVehicleRepairPlanAsync(const Model::GenerateVehicleRepairPlanRequest& request, const GenerateVehicleRepairPlanAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GenerateVehicleRepairPlanOutcomeCallable generateVehicleRepairPlanCallable(const Model::GenerateVehicleRepairPlanRequest& request) const;
|
||||
|
||||
@@ -35,10 +35,16 @@ namespace AlibabaCloud
|
||||
DetectIPCObjectRequest();
|
||||
~DetectIPCObjectRequest();
|
||||
|
||||
std::string getOssFile()const;
|
||||
void setOssFile(const std::string& ossFile);
|
||||
std::string getRequestProxyBy()const;
|
||||
void setRequestProxyBy(const std::string& requestProxyBy);
|
||||
std::string getImageURL()const;
|
||||
void setImageURL(const std::string& imageURL);
|
||||
|
||||
private:
|
||||
std::string ossFile_;
|
||||
std::string requestProxyBy_;
|
||||
std::string imageURL_;
|
||||
|
||||
};
|
||||
|
||||
@@ -37,8 +37,8 @@ namespace AlibabaCloud
|
||||
struct Element
|
||||
{
|
||||
float targetRate;
|
||||
float score;
|
||||
std::string type;
|
||||
float score;
|
||||
std::vector<std::string> box;
|
||||
};
|
||||
long height;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSREQUEST_H_
|
||||
#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/objectdet/ObjectdetExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Objectdet
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OBJECTDET_EXPORT DetectKitchenAnimalsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetectKitchenAnimalsRequest();
|
||||
~DetectKitchenAnimalsRequest();
|
||||
|
||||
bool getFormatResultToJson()const;
|
||||
void setFormatResultToJson(bool formatResultToJson);
|
||||
std::string getImageURLB()const;
|
||||
void setImageURLB(const std::string& imageURLB);
|
||||
std::string getImageURLA()const;
|
||||
void setImageURLA(const std::string& imageURLA);
|
||||
std::string getOssFile()const;
|
||||
void setOssFile(const std::string& ossFile);
|
||||
std::string getRequestProxyBy()const;
|
||||
void setRequestProxyBy(const std::string& requestProxyBy);
|
||||
|
||||
private:
|
||||
bool formatResultToJson_;
|
||||
std::string imageURLB_;
|
||||
std::string imageURLA_;
|
||||
std::string ossFile_;
|
||||
std::string requestProxyBy_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSREQUEST_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSRESULT_H_
|
||||
#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/objectdet/ObjectdetExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Objectdet
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OBJECTDET_EXPORT DetectKitchenAnimalsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ElementsItem
|
||||
{
|
||||
struct Rectangles
|
||||
{
|
||||
long left;
|
||||
long top;
|
||||
long height;
|
||||
long width;
|
||||
};
|
||||
std::string type;
|
||||
float score;
|
||||
Rectangles rectangles;
|
||||
};
|
||||
std::vector<ElementsItem> elements;
|
||||
};
|
||||
|
||||
|
||||
DetectKitchenAnimalsResult();
|
||||
explicit DetectKitchenAnimalsResult(const std::string &payload);
|
||||
~DetectKitchenAnimalsResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTKITCHENANIMALSRESULT_H_
|
||||
@@ -36,8 +36,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct Element
|
||||
{
|
||||
float score;
|
||||
std::string type;
|
||||
float score;
|
||||
std::vector<std::string> boxes;
|
||||
};
|
||||
int height;
|
||||
|
||||
@@ -37,14 +37,20 @@ namespace AlibabaCloud
|
||||
|
||||
Array getRoadRegions()const;
|
||||
void setRoadRegions(const Array& roadRegions);
|
||||
std::string getOriginRequestId()const;
|
||||
void setOriginRequestId(const std::string& originRequestId);
|
||||
Array getPreRegionIntersectFeatures()const;
|
||||
void setPreRegionIntersectFeatures(const Array& preRegionIntersectFeatures);
|
||||
std::string getStreamArn()const;
|
||||
void setStreamArn(const std::string& streamArn);
|
||||
std::string getImageURL()const;
|
||||
void setImageURL(const std::string& imageURL);
|
||||
|
||||
private:
|
||||
Array roadRegions_;
|
||||
std::string originRequestId_;
|
||||
Array preRegionIntersectFeatures_;
|
||||
std::string streamArn_;
|
||||
std::string imageURL_;
|
||||
|
||||
};
|
||||
|
||||
@@ -34,18 +34,6 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct RegionIntersectFeaturesItem
|
||||
{
|
||||
std::vector<std::string> features;
|
||||
};
|
||||
struct RegionIntersectsItem
|
||||
{
|
||||
std::vector<std::string> ids;
|
||||
};
|
||||
struct RegionIntersectMatchedItem
|
||||
{
|
||||
std::vector<std::string> ids1;
|
||||
};
|
||||
struct Element
|
||||
{
|
||||
struct BoxesItem
|
||||
@@ -55,14 +43,26 @@ namespace AlibabaCloud
|
||||
long right;
|
||||
long bottom;
|
||||
};
|
||||
std::string typeName;
|
||||
float score;
|
||||
std::string typeName;
|
||||
std::vector<Element::BoxesItem> boxes;
|
||||
};
|
||||
struct RegionIntersectFeaturesItem
|
||||
{
|
||||
std::vector<std::string> features;
|
||||
};
|
||||
struct RegionIntersectMatchedItem
|
||||
{
|
||||
std::vector<std::string> ids;
|
||||
};
|
||||
struct RegionIntersectsItem
|
||||
{
|
||||
std::vector<std::string> ids1;
|
||||
};
|
||||
std::vector<RegionIntersectFeaturesItem> regionIntersectFeatures;
|
||||
std::vector<RegionIntersectsItem> regionIntersects;
|
||||
std::vector<RegionIntersectMatchedItem> regionIntersectMatched;
|
||||
std::vector<Element> elements;
|
||||
std::vector<RegionIntersectMatchedItem> regionIntersectMatched;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -37,11 +37,17 @@ namespace AlibabaCloud
|
||||
|
||||
Array getRoadRegions()const;
|
||||
void setRoadRegions(const Array& roadRegions);
|
||||
std::string getOriginRequestId()const;
|
||||
void setOriginRequestId(const std::string& originRequestId);
|
||||
std::string getStreamArn()const;
|
||||
void setStreamArn(const std::string& streamArn);
|
||||
std::string getImageURL()const;
|
||||
void setImageURL(const std::string& imageURL);
|
||||
|
||||
private:
|
||||
Array roadRegions_;
|
||||
std::string originRequestId_;
|
||||
std::string streamArn_;
|
||||
std::string imageURL_;
|
||||
|
||||
};
|
||||
|
||||
@@ -34,10 +34,6 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct RegionIntersect
|
||||
{
|
||||
std::vector<std::string> ids;
|
||||
};
|
||||
struct Element
|
||||
{
|
||||
struct BoxesItem
|
||||
@@ -47,10 +43,14 @@ namespace AlibabaCloud
|
||||
long right;
|
||||
long bottom;
|
||||
};
|
||||
std::string typeName;
|
||||
float score;
|
||||
std::string typeName;
|
||||
std::vector<Element::BoxesItem> boxes;
|
||||
};
|
||||
struct RegionIntersect
|
||||
{
|
||||
std::vector<std::string> ids;
|
||||
};
|
||||
std::vector<RegionIntersect> regionIntersects;
|
||||
std::vector<Element> elements;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/objectdet/ObjectdetExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Objectdet
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OBJECTDET_EXPORT DetectVideoFrameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetectVideoFrameRequest();
|
||||
~DetectVideoFrameRequest();
|
||||
|
||||
Array getFeatures()const;
|
||||
void setFeatures(const Array& features);
|
||||
long getHeight()const;
|
||||
void setHeight(long height);
|
||||
long getCreateTime()const;
|
||||
void setCreateTime(long createTime);
|
||||
std::string getFeatureConfig()const;
|
||||
void setFeatureConfig(const std::string& featureConfig);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getStreamArn()const;
|
||||
void setStreamArn(const std::string& streamArn);
|
||||
std::string getImageURL()const;
|
||||
void setImageURL(const std::string& imageURL);
|
||||
long getWidth()const;
|
||||
void setWidth(long width);
|
||||
|
||||
private:
|
||||
Array features_;
|
||||
long height_;
|
||||
long createTime_;
|
||||
std::string featureConfig_;
|
||||
long ownerId_;
|
||||
std::string streamArn_;
|
||||
std::string imageURL_;
|
||||
long width_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMEREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMERESULT_H_
|
||||
#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/objectdet/ObjectdetExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Objectdet
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OBJECTDET_EXPORT DetectVideoFrameResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string requestId;
|
||||
};
|
||||
|
||||
|
||||
DetectVideoFrameResult();
|
||||
explicit DetectVideoFrameResult(const std::string &payload);
|
||||
~DetectVideoFrameResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTVIDEOFRAMERESULT_H_
|
||||
@@ -35,12 +35,24 @@ namespace AlibabaCloud
|
||||
DetectVideoIPCObjectRequest();
|
||||
~DetectVideoIPCObjectRequest();
|
||||
|
||||
long getStartTimestamp()const;
|
||||
void setStartTimestamp(long startTimestamp);
|
||||
std::string getOssFile()const;
|
||||
void setOssFile(const std::string& ossFile);
|
||||
bool getCallbackOnlyHasObject()const;
|
||||
void setCallbackOnlyHasObject(bool callbackOnlyHasObject);
|
||||
std::string getRequestProxyBy()const;
|
||||
void setRequestProxyBy(const std::string& requestProxyBy);
|
||||
bool getAsync()const;
|
||||
void setAsync(bool async);
|
||||
std::string getVideoURL()const;
|
||||
void setVideoURL(const std::string& videoURL);
|
||||
|
||||
private:
|
||||
long startTimestamp_;
|
||||
std::string ossFile_;
|
||||
bool callbackOnlyHasObject_;
|
||||
std::string requestProxyBy_;
|
||||
bool async_;
|
||||
std::string videoURL_;
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct ElementsItem
|
||||
{
|
||||
float score;
|
||||
std::string type;
|
||||
float score;
|
||||
long x;
|
||||
long y;
|
||||
long height;
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARREQUEST_H_
|
||||
#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/objectdet/ObjectdetExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Objectdet
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OBJECTDET_EXPORT DetectWorkwearRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DetectWorkwearRequest();
|
||||
~DetectWorkwearRequest();
|
||||
|
||||
bool getFormatResultToJson()const;
|
||||
void setFormatResultToJson(bool formatResultToJson);
|
||||
std::string getOssFile()const;
|
||||
void setOssFile(const std::string& ossFile);
|
||||
std::string getRequestProxyBy()const;
|
||||
void setRequestProxyBy(const std::string& requestProxyBy);
|
||||
Struct getClothes()const;
|
||||
void setClothes(const Struct& clothes);
|
||||
std::vector<std::string> getLabels()const;
|
||||
void setLabels(const std::vector<std::string>& labels);
|
||||
std::string getImageUrl()const;
|
||||
void setImageUrl(const std::string& imageUrl);
|
||||
|
||||
private:
|
||||
bool formatResultToJson_;
|
||||
std::string ossFile_;
|
||||
std::string requestProxyBy_;
|
||||
Struct clothes_;
|
||||
std::vector<std::string> labels_;
|
||||
std::string imageUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARREQUEST_H_
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARRESULT_H_
|
||||
#define ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/objectdet/ObjectdetExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Objectdet
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_OBJECTDET_EXPORT DetectWorkwearResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct 识别内容
|
||||
{
|
||||
struct Rectangles
|
||||
{
|
||||
long left;
|
||||
long top;
|
||||
long height;
|
||||
long width;
|
||||
};
|
||||
struct 识别属性
|
||||
{
|
||||
struct Probability
|
||||
{
|
||||
double no;
|
||||
double unknown;
|
||||
double yes;
|
||||
long threshold;
|
||||
};
|
||||
Probability probability;
|
||||
std::string label;
|
||||
};
|
||||
double score;
|
||||
std::string type;
|
||||
Rectangles rectangles;
|
||||
std::vector<识别内容::识别属性> property;
|
||||
};
|
||||
std::vector<识别内容> elements;
|
||||
};
|
||||
|
||||
|
||||
DetectWorkwearResult();
|
||||
explicit DetectWorkwearResult(const std::string &payload);
|
||||
~DetectWorkwearResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_OBJECTDET_MODEL_DETECTWORKWEARRESULT_H_
|
||||
@@ -40,8 +40,8 @@ namespace AlibabaCloud
|
||||
std::string partsStdCode;
|
||||
std::string outStandardPartsName;
|
||||
std::string repairType;
|
||||
std::string repairFee;
|
||||
std::string relationType;
|
||||
std::string repairFee;
|
||||
std::string garageType;
|
||||
std::string partsStdName;
|
||||
std::string outStandardPartsId;
|
||||
|
||||
Reference in New Issue
Block a user