Ask Your Question

Revision history [back]

switch KCF mode with python binding?

I'm using the python bindings to track vehicles using the KCF tracker. [python 2.7, OpenCV 3.1]

I instantiate my tracker like this:

tracker = cv2.Tracker_create("KCF")

How do I specify the MODE parameter for the KCFTracker class as shown in the documentation for this class http://docs.opencv.org/trunk/d2/dff/classcv_1_1TrackerKCF.html.

Specifically I want to use the CN color names mode.