001//
002// This file is auto-generated. Please don't modify it!
003//
004package org.opencv.video;
005
006import org.opencv.video.Tracker;
007import org.opencv.video.TrackerDaSiamRPN;
008import org.opencv.video.TrackerDaSiamRPN_Params;
009
010// C++: class TrackerDaSiamRPN
011
012public class TrackerDaSiamRPN extends Tracker {
013
014    protected TrackerDaSiamRPN(long addr) { super(addr); }
015
016    // internal usage only
017    public static TrackerDaSiamRPN __fromPtr__(long addr) { return new TrackerDaSiamRPN(addr); }
018
019    //
020    // C++: static Ptr_TrackerDaSiamRPN cv::TrackerDaSiamRPN::create(TrackerDaSiamRPN_Params parameters = TrackerDaSiamRPN::Params())
021    //
022
023    /**
024     * Constructor
025     *     @param parameters DaSiamRPN parameters TrackerDaSiamRPN::Params
026     * @return automatically generated
027     */
028    public static TrackerDaSiamRPN create(TrackerDaSiamRPN_Params parameters) {
029        return TrackerDaSiamRPN.__fromPtr__(create_0(parameters.nativeObj));
030    }
031
032    /**
033     * Constructor
034     * @return automatically generated
035     */
036    public static TrackerDaSiamRPN create() {
037        return TrackerDaSiamRPN.__fromPtr__(create_1());
038    }
039
040
041    //
042    // C++:  float cv::TrackerDaSiamRPN::getTrackingScore()
043    //
044
045    /**
046     * Return tracking score
047     * @return automatically generated
048     */
049    public float getTrackingScore() {
050        return getTrackingScore_0(nativeObj);
051    }
052
053
054    @Override
055    protected void finalize() throws Throwable {
056        delete(nativeObj);
057    }
058
059
060
061    // C++: static Ptr_TrackerDaSiamRPN cv::TrackerDaSiamRPN::create(TrackerDaSiamRPN_Params parameters = TrackerDaSiamRPN::Params())
062    private static native long create_0(long parameters_nativeObj);
063    private static native long create_1();
064
065    // C++:  float cv::TrackerDaSiamRPN::getTrackingScore()
066    private static native float getTrackingScore_0(long nativeObj);
067
068    // native support for java finalize()
069    private static native void delete(long nativeObj);
070
071}