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 --- csdk.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/csdk.cpp b/csdk.cpp index 5f128eb..052fd84 100644 --- a/csdk.cpp +++ b/csdk.cpp @@ -103,11 +103,11 @@ } // plateid api -int c_api_plate_id_init(const int width, const int height, char *soPath) { - return init_plate_id_detector(width, height, soPath); +int c_api_plate_id_init(const cPlateIDCfg *config, char *soPath) { + return init_plate_id_detector(config, soPath); } -cPlateIDResult* c_api_plate_id_detect(int *plateIDCount, uchar*data, const int w, const int h) { +cPlateIDResult* c_api_plate_id_detect(int *plateIDCount, uchar *data, const int w, const int h) { const cIMAGE img{data, w, h, 3}; return plate_id_detect(plateIDCount, &img); } -- Gitblit v1.8.0