| | |
| | | import ( |
| | | "basic.com/dbapi.git" |
| | | "basic.com/pubsub/protomsg.git" |
| | | "encoding/base64" |
| | | "encoding/json" |
| | | "errors" |
| | | "fmt" |
| | |
| | | // 给目标填充liker |
| | | func fillLiker(tableId []string, compareThreshold float32,arg *structure.Arg) { |
| | | //bytes := bigCache.GetComparePersonBaseInfo(tableId, arg.Feature, compareThreshold) |
| | | decodeBytes, _ := base64.StdEncoding.DecodeString(arg.Feature) |
| | | comArg := &protomsg.CompareArgs{ |
| | | TableIds:tableId, |
| | | FaceFeature:arg.Feature, |
| | | FaceFeature:decodeBytes, |
| | | CompareThreshold:compareThreshold, |
| | | Source:false, |
| | | } |