From 3c5bc166a563cd851f3e3b5e1a019f7fa0207ab0 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期四, 18 四月 2024 23:22:01 +0800
Subject: [PATCH] fix cycle import

---
 db/person.go |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/db/person.go b/db/person.go
index 3224daa..7bdd7ca 100644
--- a/db/person.go
+++ b/db/person.go
@@ -2,7 +2,7 @@
 
 import (
 	"encoding/base64"
-	"sdkCompare/compare"
+	"sdkCompare/util"
 	"strconv"
 )
 
@@ -66,7 +66,7 @@
 				Id:          p.Id,
 				TableId:     p.TableId,
 				AreaId:      p.AreaID,
-				FaceFeature: compare.ByteSlice2float32Slice(byteFeat),
+				FaceFeature: util.ByteSlice2float32Slice(byteFeat),
 				Enable:      int32(p.Enable),
 			})
 		}
@@ -91,7 +91,7 @@
 			Id:          p.Id,
 			TableId:     p.TableId,
 			AreaId:      p.AreaID,
-			FaceFeature: compare.ByteSlice2float32Slice(byteFeat),
+			FaceFeature: util.ByteSlice2float32Slice(byteFeat),
 			Enable:      int32(p.Enable),
 		}
 	}

--
Gitblit v1.8.0