sunty
2019-07-18 6a413e1d7d485f506e81c669bc692868c29cefb9
dbpersoninfo.go
@@ -88,7 +88,8 @@
        for _, val := range Cmap.Cam {
            tmpmap := val.Walk(Printest, faceFeature)
            for key, sec := range tmpmap {
                if sec > 70*0.01 {
                if sec > 50*0.01 {
               fmt.Println("map为",totalmap[key],sec)
                    totalmap[key] = sec
                }
            }
@@ -103,12 +104,14 @@
            }
            tmpmap := shardins.Walk(Printest, faceFeature)
            for key, sec := range tmpmap {
                if compareThreshold > 70{
                if compareThreshold > 50*0.01{
                    if sec > compareThreshold {
                       fmt.Println("map为",totalmap[key],sec)
                        totalmap[key] = sec
                    }
                }else {
                    if sec > 70*0.01 {
                    if sec > 50*0.01 {
                  fmt.Println("map为",totalmap[key],sec)
                        totalmap[key] = sec
                    }
                }
@@ -137,5 +140,6 @@
    }
    sec := gosdk.FaceCompare(ci, co_d)
    fmt.Println("比对得分为:",sec)
    return sec
}