legacy_TrackerMedianFlow (OpenCV 4.13.0 Java documentation)
Примеры с cv2.imshow требуют сборки OpenCV с GUI. В ноутбуке с headless-версией используйте вывод изображений через Matplotlib.
Package org.opencv.tracking
Class legacy_TrackerMedianFlow
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.tracking.legacy_Tracker
-
- org.opencv.tracking.legacy_TrackerMedianFlow
-
public class legacy_TrackerMedianFlow extends legacy_Trackerthe Median Flow tracker Implementation of a paper CITE: MedianFlow . The tracker is suitable for very smooth and predictable movements when object is visible throughout the whole sequence. It's quite and accurate for this type of problems (in particular, it was shown by authors to outperform MIL). During the implementation period the code at <http://www.aonsquared.co.uk/node/5>, the courtesy of the author Arthur Amarra, was used for the reference purpose.