From 94e9f50569bd20a697edb36711d017de1c19d1a5 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期一, 13 一月 2020 14:19:38 +0800
Subject: [PATCH] update vehicle

---
 go.mod                    |    2 +-
 work/sdk/plateIDdetect.go |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/go.mod b/go.mod
index bfeffbd..d266e4c 100644
--- a/go.mod
+++ b/go.mod
@@ -11,7 +11,7 @@
 	basic.com/valib/godraw.git v0.0.0-20191122082247-26e9987cd183
 	basic.com/valib/gogpu.git v0.0.0-20190711044327-62043b070865
 	basic.com/valib/gopherdiscovery.git v0.0.0-20190605034340-15d89d8b4e28
-	basic.com/valib/gosdk.git v0.0.0-20191120115744-308defe0578c
+	basic.com/valib/gosdk.git v0.0.0-20200111071951-8464662ccdff
 	basic.com/valib/shm.git v0.0.0-20190829074754-ad2e00879627 // indirect
 	github.com/ajg/form v1.5.1 // indirect
 	github.com/amoghe/distillog v0.0.0-20180726233512-ae382b35b717
diff --git a/work/sdk/plateIDdetect.go b/work/sdk/plateIDdetect.go
index d5e5cf0..92eeca0 100644
--- a/work/sdk/plateIDdetect.go
+++ b/work/sdk/plateIDdetect.go
@@ -93,7 +93,7 @@
 		}
 		logo.Infoln("RUN CLOUD PLATE ID")
 	} else {
-		ret := gosdk.InitVehicleITSDetector(2, 0, []byte(d.licSrvPath), []byte(d.modelPath))
+		ret := gosdk.InitVehicleITSDetector(4, 0, []byte(d.licSrvPath), []byte(d.modelPath))
 		if ret != 0 {
 			logo.Errorf("INIT PLATE ID VEHICLE SDK ERROR: %d\n", ret)
 			return false

--
Gitblit v1.8.0