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 --- gosdk.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gosdk.go b/gosdk.go index 8c0a914..c22a8ae 100644 --- a/gosdk.go +++ b/gosdk.go @@ -412,8 +412,8 @@ } // InitPlateIDDetector init plateid detector -func InitPlateIDDetector(width, height int, soPath []byte) { - C.c_api_plate_id_init(C.int(width), C.int(height), (*C.char)(unsafe.Pointer(&soPath[0]))) +func InitPlateIDDetector(config *CPlateIDCfg, soPath []byte) { + C.c_api_plate_id_init((*C.cPlateIDCfg)(unsafe.Pointer(config)), (*C.char)(unsafe.Pointer(&soPath[0]))) } // PlateIDDetect plateid detect -- Gitblit v1.8.0