From 06d9122600054934d4793f8a55fe10289f410743 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 15 十一月 2019 10:07:46 +0800
Subject: [PATCH] add comment
---
go2c.go | 61 ++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/go2c.go b/go2c.go
index 0aaa446..97909d6 100644
--- a/go2c.go
+++ b/go2c.go
@@ -65,3 +65,64 @@
ObjInfo CObjInfo
ID uint64
}
+
+type CPlateIDCfg struct {
+ FastMemorySize int32 // DSP绛夌殑鐗囧唴鍐呭瓨澶у皬 鍗曚綅K
+ MemorySize int32 // 鏅�氬唴瀛樺ぇ灏� 鍗曚綅 M
+ MinPlateWidth int32 // 妫�娴嬬殑鏈�灏忚溅鐗屽搴︼紝浠ュ儚绱犱负鍗曚綅
+ MaxPlateWidth int32 // 妫�娴嬬殑鏈�澶ц溅鐗屽搴︼紝浠ュ儚绱犱负鍗曚綅
+ MaxImageWidth int32 // 鏈�澶у浘鍍忓搴�
+ MaxImageHeight int32 // 鏈�澶у浘鍍忛珮搴�
+ IsFieldImage uint8 // 鏄惁鏄満鍥惧儚
+ MovingImage uint8 // 璇嗗埆杩愬姩or闈欐鍥惧儚
+ OrderOpt uint8 // 杈撳嚭椤哄簭閫夐」 0-缃俊搴� 1-鑷笂鑰屼笅 2-鑷笅鑰屼笂
+ LeanCorrection uint8 // 鏄惁鍚敤杞︾墝鏃嬭浆鍔熻兘锛岄粯璁ゅ紑鍚�
+ ImproveSpeed uint8 // 0: 璇嗗埆鐜囦紭鍏� 1:璇嗗埆閫熷害浼樺厛
+ CarLogo uint8 // 0: 涓嶆娴嬭溅鏍� 1: 妫�娴嬭溅鏍�
+ LotDetect uint8 // 0: 涓嶆娴嬭溅浣� 1: 妫�娴嬭溅浣�
+ Shadow uint8 // 0: 閽堝鏃犻槾褰辩殑杞︾墝 1锛氶拡瀵规湁闃村奖鐨勮溅鐗岋紝榛樿寮�鍚�
+ ShieldRailing uint8 // 0: 灞忚斀鏍忔潌骞叉壈锛� 1:涓嶅睆钄芥爮鏉嗗共鎵�
+ CarModel uint8 // 0: 涓嶈瘑鍒溅鍨嬶紝 1: 璇嗗埆杞﹀瀷
+ LocateTh uint8 // 杞︾墝瀹氫綅闃堝��
+ OCRTh uint8 // 杞︾墝璇嗗埆闃堝��
+
+ Individual uint8 // 涓�у寲杞︾墝寮�鍚�
+ TwoRowYellow uint8 // 鍙屽眰榛勮壊杞︾墝寮�鍚�
+ ArmPolice uint8 // 鍗曞眰姝﹁杞︾墝寮�鍚�
+ ArmPolice2 uint8 // 鍙屽眰姝﹁杞︾墝寮�鍚�
+ TwoRowArmy uint8 // 鍙屽眰鍐涢槦杞︾墝寮�鍚�
+ Tractor uint8 // 鍐滅敤杞﹁溅鐗屽紑鍚�
+ Embassy uint8 // 浣块杞︾墝寮�鍚�
+ ChangNei uint8 // 鍘傚唴杞︾墝寮�鍚�
+ MinHang uint8 // 姘戣埅杞︾墝寮�鍚�
+ Consulate uint8 // 棰嗕簨棣嗚溅鐗屽紑鍚�
+ NewEnergy uint8 // 鏂拌兘婧愯溅鐗屽紑鍚�
+ OnlyTwoRowYellow uint8 // 鍙瘑鍒弻灞傞粍鐗屽紑鍚�
+ OnlyLocation uint8 // 鍙畾浣嶈溅鐗屽紑鍚�
+}
+
+type CPlateIDResult struct {
+ License [16]uint8 // 杞︾墝瀛楃涓� STRING
+ Color [8]uint8 // 杞︾墝棰滆壊 STRING
+
+ NColor int32 // 杞︾墝棰滆壊
+ NType int32 // 杞︾墝绫诲瀷
+ NConfidence int32 // 鏁寸墝鍙俊搴�
+ NBright int32 // 浜害璇勪环
+ NDirection int32 // 杞︾墝杩愬姩鏂瑰悜锛�0 unknown, 1 left, 2 right, 3 up, 4 down
+
+ RcLocation CRECT // 杞︾墝鍧愭爣
+ PbyBits [4]uint8 // 璇嗗埆缁撴灉瀵瑰簲鐨勫浘鐗囩殑缂撳啿鍖� NO USE
+ NTime int32 // 璇嗗埆鑰楁椂
+ NCarBright uint8 // 杞︾殑浜害
+ NCarColor uint8 // 杞︾殑棰滆壊
+ NCarLogo uint8 // 杞︽爣绫诲瀷
+ NCarType uint8 // 杞﹁締绫诲瀷
+ PbyPlateBin [4]uint8 // 杞︾墝浜屽�煎寲缁撴灉锛堟寜bit瀛樺偍锛塏O USE
+ NBinPlateWidth [2]uint8 // 浜屽�煎寲缁撴灉涓溅鐗屽搴� NO USE
+ NBinPlateHeight [2]uint8 // 浜屽�煎寲缁撴灉涓溅鐗岄珮搴� NO USE
+ Reserved [70]uint8 // 淇濈暀
+ RcLogoLocation CRECT // 杞︽爣鍧愭爣
+ NCarModel [2]uint8 // 杞﹁締绫诲瀷
+ NCarModelConfidence [2]uint8 // 杞﹀瀷鍙俊搴�
+}
--
Gitblit v1.8.0