zhangmeng
2019-12-19 1f11a8a98e70606664a103dfa65ec448cc81738a
update
1个文件已修改
6 ■■■■ 已修改文件
gohumantrack/gohumantrack.go 6 ●●●● 补丁 | 查看 | 原始文档 | 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