派生自 libgowrapper/yolo

zhangmeng
2019-12-11 5a43718b678531f0db9073ef636ed74624154549
update
1个文件已修改
3 ■■■■ 已修改文件
goyolo.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
goyolo.go
@@ -80,7 +80,7 @@
        C.float(thrsh), C.int(umns),
        &cobjinfo, &count)
    if ret == 0 {
    if ret > 0 {
        defer C.free(cobjinfo)
        return CYoloObjInfoArrayToGoArray(unsafe.Pointer(cobjinfo), int(count))
    }
@@ -198,6 +198,5 @@
    whole, recent := YoloDetectTrack2(y, v.lastTrackObjs, &v.lastTrackID, data, w, h, channel, thrsh, umns)
    y.tracker[id].lastTrackObjs = whole
    y.tracker[id].lastTrackID = v.lastTrackID
    return whole, recent
}