Video Analysis底层库拆分,sdk的go封装
chenshijun
2019-07-12 82cdc5963540891a419b45fccc340294c6fc1184
gosdk.go
@@ -326,12 +326,6 @@
   var tmp CObjTrackInfo
   //LastYoloObjs
   detectObjs := YoloDetect(handle, img, thrsh, umns)
   for i := 0; i < len(detectObjs); i++ {
      if detectObjs[i].Typ != 0 {
         detectObjs = append(detectObjs[:i], detectObjs[i+1:]...) //从检测目标里删除已经查到的跟踪目标
         i--
      }
   }
   for _, vLast := range LastYoloObjs {
      for i := 0; i < len(detectObjs); i++ {