0

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

4

1 回答 1

0

我在这里看到下面的代码:

// 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 代码:/

于 2018-09-19T18:25:18.963 回答