在OpenCV 3.4 KCF跟踪器(C ++)中,如何查看HOG功能是否已启用以及如何设置HOG相关参数?
答案 0 :(得分:0)
我在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代码:/