gohumantrack/gohumantrack.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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)