From bf32a74cbb28405eb116495eb2046880ecfceb66 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期五, 06 十二月 2019 18:03:33 +0800 Subject: [PATCH] fix 追踪bug --- structure/rule.go | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/structure/rule.go b/structure/rule.go index 99604a4..2389cca 100644 --- a/structure/rule.go +++ b/structure/rule.go @@ -45,8 +45,7 @@ IsEffective bool // 瑙勫垯涓槸鍚︾敤鍒颁簡姝ゅ尯鍩� } -// sdk杈撳嚭鐨勫浘鐗囦笂鍗曚釜鐩爣鐨勬暟鎹� -type PhotoMap struct { +type SourcePhoto struct { Id string Rects Rect // 鐭╁舰鍖哄煙鍙傛暟 Score float64 // 鐩镐技搴﹀緱鍒嗭紙鏈夊澶х▼搴﹀儚涓�涓洰鏍囥�備汉鑴革紝浜轰綋鎴栬溅绛夌瓑锛� @@ -55,6 +54,11 @@ Feature []byte Car *protomsg.PlateIDVehicle } +// sdk杈撳嚭鐨勫浘鐗囦笂鍗曚釜鐩爣鐨勬暟鎹� +type PhotoMap struct { + SourcePhoto + AttachObj SourcePhoto +} // 姣忎釜绠楁硶瀵逛簬褰撳墠甯х敾闈㈣嚜宸辨彁鍙栫殑鏁版嵁 type SdkData struct { -- Gitblit v1.8.0