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