gohumantrack/gohumantrack.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
gohumantrack/gohumantrack.go
@@ -153,8 +153,8 @@ } cRet := C.process(h.handle, cImgs, C.int(h.batchSize), h.result) if cRet == nil { return nil, errors.New("create C results error") if cRet != 0 { return nil, fmt.Errorf("process error: %d", int(cRet)) } var result []FgResult @@ -188,7 +188,7 @@ cRet := C.process(h.handle, cImgs, C.int(h.batchSize), h.result) if cRet != 0 { return nil, fmt.Errorf("process error: %d", cRet) return nil, fmt.Errorf("process image pointer error: %d", int(cRet)) } var result []FgResult