ruleserver/ruleToformula.go
@@ -249,14 +249,15 @@ } } // 过完条件数据后把符合条件的人脸数据塞进结果标签里 faces := []Arg{} for _, sdkData := range args.Sdkdata { for _, areaMap := range sdkData.AreaMapList { for j := 0; j < len(groupRule.Rules); j++ { args.RuleResult["face"] = putFaceToResult(groupRule.Rules[j], &areaMap) faces = append(faces,putFaceToResult(groupRule.Rules[j], &areaMap)...) } } } args.RuleResult["face"] = faces // 再过其他数据 这步直接得到结果(真或假) 过目标数量 for j := 0; j < len(groupRule.Rules); j++ { for _, sdkData := range args.Sdkdata {