log
panlei
2019-11-29 92d26f02fcc06968a6943d3bcb85b1f84d581737
algorithm/middleware/readyData.go
@@ -180,8 +180,11 @@
            }
            for _, info := range plateIDResult.Result {
               logger.Info("接收车牌数据:",info.FvdConf,info.NVehicleColor1,info.NPlateFlag,info.RcCarLocation)
               photoMap := structure.PhotoMap{Id: info.License,Score: float64(info.FvdConf)*100,Rects: rectFormat(info.RcCarLocation), Type: "plate", Car:info}
               arg.Photo = append(arg.Photo, photoMap)
               if info.NConfidence > 70 {
                  logger.Info("车牌也符合的数据",info.FvdConf,info.NVehicleColor1,info.NPlateFlag,info.RcCarLocation,info.NConfidence,)
                  photoMap := structure.PhotoMap{Id: info.License,Score: float64(info.FvdConf)*100,Rects: rectFormat(info.RcCarLocation), Type: "plate", Car:info}
                  arg.Photo = append(arg.Photo, photoMap)
               }
            }
            args.Sdkdata = append(args.Sdkdata, &arg)
         } else {