From 4d025c4a8c81c0bfdd159586528db0af72e6a6d6 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 15 十一月 2019 13:55:48 +0800
Subject: [PATCH] update

---
 csdk.cpp |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/csdk.cpp b/csdk.cpp
index cf259b4..052fd84 100644
--- a/csdk.cpp
+++ b/csdk.cpp
@@ -100,4 +100,18 @@
 
 const char* c_api_yolo_obj_name(const int typ){
     return yolo_obj_name_by_type(typ);
+}
+
+// plateid api
+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) {
+    const cIMAGE img{data, w, h, 3};
+    return plate_id_detect(plateIDCount, &img);
+}
+
+int c_api_plate_id_free() {
+    return uninit_plate_id_detector();
 }
\ No newline at end of file

--
Gitblit v1.8.0