Tracker KCF

asked 2017-05-09 21:48:08 -0500

cagiva gravatar image

updated 2017-05-10 00:24:32 -0500

berak gravatar image

How do I create a Tracker object in Java? I find examples for C++ and Python, but I'm not able to find the interface for Java.

C++: Tracker::create( "MIL" );
Python: cv2.Tracker_create("MIL")

edit retag flag offensive close merge delete


  • did you build opencv3.2 with opencv_contrib libs ?
  • cmake -DBUILD_DOCS=ON should have generated javadocs for the tracking module, too.
  • there are no java samples, try to port thisc++ one , come back, when you run into trouble
berak gravatar imageberak ( 2017-05-10 00:55:14 -0500 )edit

@berak, I built opencv-master with opencv_contrib-master libs as you suggested; and I now have access to the Tracker api and its documentation via the provided java wrapper. Big thanks for that.

cagiva gravatar imagecagiva ( 2017-05-13 13:51:10 -0500 )edit