From 525877f13d85d4a5d0f8b06e459e9871011c1667 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期六, 29 六月 2019 14:22:03 +0800 Subject: [PATCH] test --- service/FaceSdkService.go | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/service/FaceSdkService.go b/service/FaceSdkService.go index edda4bb..d47ab83 100644 --- a/service/FaceSdkService.go +++ b/service/FaceSdkService.go @@ -67,8 +67,6 @@ return nil,err } - fmt.Println("imgB.len:",len(imgB)) - picMat, err := gocv.IMDecode(imgB, gocv.IMReadColor) if err !=nil { fmt.Println("gocv.IMDecode err:",err) @@ -194,6 +192,12 @@ return coms,ok } +func (f *FeaResult) Delete(id string){ + f.Lock.Lock() + defer f.Lock.Unlock() + delete(f.FeaM,id) +} + var resultMap = FeaResult{} func InitService() { -- Gitblit v1.8.0