Update RecognizeDriverLicense RecognizeLicensePlate.

This commit is contained in:
sdk-team
2021-05-10 08:27:01 +00:00
parent 6234d4fd3d
commit 6ac69f79bc
6 changed files with 97 additions and 30 deletions

View File

@@ -34,6 +34,13 @@ namespace AlibabaCloud
public:
struct Data
{
struct BackResult
{
std::string cardNumber;
std::string record;
std::string archiveNumber;
std::string name;
};
struct FaceResult
{
std::string startDate;
@@ -42,13 +49,10 @@ namespace AlibabaCloud
std::string vehicleType;
std::string issueDate;
std::string gender;
std::string issueUnit;
std::string endDate;
std::string name;
};
struct BackResult
{
std::string archiveNumber;
};
FaceResult faceResult;
BackResult backResult;
};
@@ -57,12 +61,16 @@ namespace AlibabaCloud
RecognizeDriverLicenseResult();
explicit RecognizeDriverLicenseResult(const std::string &payload);
~RecognizeDriverLicenseResult();
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_;
};
}

View File

@@ -43,9 +43,15 @@ namespace AlibabaCloud
int x;
int y;
};
struct PositionsItem
{
long x;
long y;
};
std::string plateNumber;
float confidence;
std::string plateType;
std::vector<Plate::PositionsItem> positions;
float plateTypeConfidence;
Roi roi;
};
@@ -56,12 +62,16 @@ namespace AlibabaCloud
RecognizeLicensePlateResult();
explicit RecognizeLicensePlateResult(const std::string &payload);
~RecognizeLicensePlateResult();
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_;
};
}