From 93001d715c38b296bedf2b2e5f4d1efb3151f666 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 14 十一月 2019 16:31:24 +0800
Subject: [PATCH] fix:set the plate sdk parameters by api

---
 go2c.go |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/go2c.go b/go2c.go
index 0e663a3..6431f48 100644
--- a/go2c.go
+++ b/go2c.go
@@ -66,6 +66,39 @@
 	ID      uint64
 }
 
+type CPlateIDCfg struct {
+	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
 	Color   [8]uint8

--
Gitblit v1.8.0