---
panlei
2019-11-19 77f15eeb6efbf42df9c34fa6fb10fab90e5bc9bd
algorithm/middleware/readyData.go
@@ -166,6 +166,7 @@
      if sdkinfo.Sdktype == "Plate" { // 车牌识别
         arg := structure.SdkData{}
         arg.TaskId = m.Tasklab.Taskid
         logger.Info("车牌的ipcid:",sdkinfo.Ipcid)
         arg.IpcId = sdkinfo.Ipcid
         arg.IsYolo = false
         arg.ImageWidth = int(i.Width)
@@ -179,7 +180,7 @@
            }
            for _, info := range plateIDResult.Result {
               logger.Info("接收车牌数据:",info)
               photoMap := structure.PhotoMap{Score: float64(info.NConfidence),Rects: rectFormat(info.RcLocation), Type: "plate", Car:info}
               photoMap := structure.PhotoMap{Id: info.License,Score: float64(info.NConfidence),Rects: rectFormat(info.RcLocation), Type: "plate", Car:info}
               arg.Photo = append(arg.Photo, photoMap)
            }
            args.Sdkdata = append(args.Sdkdata, &arg)