From 6c5479bec34af351eebf956adf993975ab12e2ae Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期四, 14 十一月 2019 11:31:30 +0800 Subject: [PATCH] feat: add plateid sdk --- csdk_struct.h | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/csdk_struct.h b/csdk_struct.h index f0952f1..5d8d74f 100644 --- a/csdk_struct.h +++ b/csdk_struct.h @@ -69,4 +69,31 @@ float prob; } cObjInfo; +typedef struct _cPlateIDResult +{ + char license[16]; // 杞︾墝瀛楃涓� + char color[8]; // 杞︾墝棰滆壊 + + int nColor; // 杞︾墝棰滆壊 + int nType; // 杞︾墝绫诲瀷 + int nConfidence; // 鏁寸墝鍙俊搴� + int nBright; // 浜害璇勪环 + int nDirection; // 杞︾墝杩愬姩鏂瑰悜锛�0 unknown, 1 left, 2 right, 3 up, 4 down + + cRECT rcLocation; // 杞︾墝鍧愭爣 + const unsigned char *pbyBits; // 璇嗗埆缁撴灉瀵瑰簲鐨勫浘鐗囩殑缂撳啿鍖� + int nTime; // 璇嗗埆鑰楁椂 + unsigned char nCarBright; // 杞︾殑浜害 + unsigned char nCarColor; // 杞︾殑棰滆壊 + unsigned char nCarLogo; // 杞︽爣绫诲瀷 + unsigned char nCarType; // 杞﹁締绫诲瀷 + unsigned char *pbyPlateBin; // 杞︾墝浜屽�煎寲缁撴灉锛堟寜bit瀛樺偍锛� + unsigned short nBinPlateWidth; // 浜屽�煎寲缁撴灉涓溅鐗屽搴� + unsigned short nBinPlateHeight; // 浜屽�煎寲缁撴灉涓溅鐗岄珮搴� + char reserved[70]; // 淇濈暀 + cRECT rcLogoLocation; // 杞︽爣鍧愭爣 + unsigned short nCarModel; // 杞﹁締绫诲瀷 + unsigned short nCarModelConfidence; // 杞﹀瀷鍙俊搴� +}cPlateIDResult; + #endif \ No newline at end of file -- Gitblit v1.8.0