zhangmeng
2019-12-19 11807f00d353d20041e3ccc6ccecc334998b6071
gohumantrack/gohumantrack.go
@@ -51,7 +51,6 @@
import "C"
import (
   "errors"
   "fmt"
   "math"
   "unsafe"
)
@@ -187,9 +186,7 @@
      } else {
         ret = C.fill_images(cImgs, C.int(h.batchSize), C.int(k), unsafe.Pointer(&v.Data[0]), C.int(v.Width), C.int(v.Height), C.int(v.Channel))
      }
      if int(ret) != k {
         return nil, fmt.Errorf("fill C images error: %d", int(ret))
      }
   }
   cRet := C.process(h.handle, cImgs, C.int(h.batchSize), h.result)