// // This file is auto-generated. Please don't modify it! // package org.opencv.tracking; import org.opencv.tracking.TrackerKCF; import org.opencv.tracking.TrackerKCF_Params; import org.opencv.video.Tracker; // C++: class TrackerKCF /** * the KCF (Kernelized Correlation Filter) tracker * * KCF is a novel tracking framework that utilizes properties of circulant matrix to enhance the processing speed. * This tracking method is an implementation of CITE: KCF_ECCV which is extended to KCF with color-names features (CITE: KCF_CN). * The original paper of KCF is available at <http://www.robots.ox.ac.uk/~joao/publications/henriques_tpami2015.pdf> * as well as the matlab implementation. For more information about KCF with color-names features, please refer to * <http://www.cvl.isy.liu.se/research/objrec/visualtracking/colvistrack/index.html>. */ public class TrackerKCF extends Tracker { protected TrackerKCF(long addr) { super(addr); } // internal usage only public static TrackerKCF __fromPtr__(long addr) { return new TrackerKCF(addr); } // C++: enum MODE (cv.TrackerKCF.MODE) public static final int GRAY = (1 << 0), CN = (1 << 1), CUSTOM = (1 << 2); // // C++: static Ptr_TrackerKCF cv::TrackerKCF::create(TrackerKCF_Params parameters = TrackerKCF::Params()) // /** * Create KCF tracker instance * @param parameters KCF parameters TrackerKCF::Params * @return automatically generated */ public static TrackerKCF create(TrackerKCF_Params parameters) { return TrackerKCF.__fromPtr__(create_0(parameters.nativeObj)); } /** * Create KCF tracker instance * @return automatically generated */ public static TrackerKCF create() { return TrackerKCF.__fromPtr__(create_1()); } @Override protected void finalize() throws Throwable { delete(nativeObj); } // C++: static Ptr_TrackerKCF cv::TrackerKCF::create(TrackerKCF_Params parameters = TrackerKCF::Params()) private static native long create_0(long parameters_nativeObj); private static native long create_1(); // native support for java finalize() private static native void delete(long nativeObj); }