panlei
2019-11-26 770da0e3e04da28d58a96526226ceece4e1a771e
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("车牌也符合的数据")
                  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 {