【问题标题】:OpenCV 3.4 KCF tracker HOG features (C++)OpenCV 3.4 KCF 跟踪器 HOG 功能 (C++)
【发布时间】:2018-05-16 08:50:11
【问题描述】:

在 OpenCV 3.4 KCF 跟踪器 (C++) 中,如何查看 HOG 功能是否启用以及如何设置 HOG 相关参数?

【问题讨论】:

    标签: opencv video-tracking


    【解决方案1】:

    我看到下面的代码here:

    // Create the KCFTracker object with one of the available options
    KCFTracker tracker(HOG, FIXEDWINDOW, MULTISCALE, LAB);
    
    // Give the first frame and the position of the object to the tracker
    tracker.init( Rect(xMin, yMin, width, height), frame );
    
    // Get the position of the object for the new frame
    result = tracker.update(frame);
    

    现在我正在为此寻找 Python 代码:/

    【讨论】:

    • 感谢您的回答。但我的问题主要针对 OpenCV 中 KCF 的内置实现,以及如何从那里控制 hog 参数。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-10-22
    • 1970-01-01
    • 2013-01-09
    • 1970-01-01
    • 2017-03-19
    相关资源
    最近更新 更多