New in version 19.04.0.
Motion tracking is the process of locating a moving object across time. Kdenlive uses OpenCV (Open Source Computer Vision Library) for motion detection.
The basic workflow for tracking a region consists of:
Select the desired region to track on the Project Monitor.
Choose a tracking algorithm.
Click on the Analyse button.
When Analyse is done you can export the keyframes to the clipboard by click on and choose . See: Exchange keyframes across effects
Kernelized Correlation Filters
Pros: Accuracy and speed are both better than MIL and it reports tracking failure better than MIL.
Cons: Does not recover from full occlusion.
In the Discriminative Correlation Filter with Channel and Spatial Reliability (DCF-CSR), we use the spatial reliability map for adjusting the filter support to the part of the selected region from the frame for tracking. This ensures enlarging and localization of the selected region and improved tracking of the non-rectangular regions or objects. It uses only 2 standard features (HoGs and Colornames). It also operates at a comparatively lower fps (25 fps) but gives higher accuracy for object tracking.
Minimum Output Sum of Squared Error
MOSSE uses an adaptive correlation for object tracking which produces stable correlation filters when initialized using a single frame. MOSSE tracker is robust to variations in lighting, scale, pose, and non-rigid deformations. It also detects occlusion based upon the peak-to-sidelobe ratio, which enables the tracker to pause and resume where it left off when the object reappears. MOSSE tracker also operates at a higher fps (450 fps and even more).
Pros: It is as accurate as other complex trackers and much faster.
Cons: On a performance scale, it lags behind the deep learning based trackers.
Pros: The performance is pretty good. It does a reasonable job under partial occlusion.
Cons: Tracking failure is not reported reliably. Does not recover from full occlusion.
Pros: Excellent tracking failure reporting. Works very well when the motion is predictable and there is no occlusion.
Cons: Fails under large motion.
The DaSiamRPN visual tracking algorithm relies on deep-learning models to provide extremely accurate results.
In order to use the DaSiam algorithm you need to download the AI models and place them in:
Press Win + R (Windows key and R key simultaneously) and copy %AppData%/kdenlive/. Then create the folder opencvmodels
Four blur types are available: Median blur, Gaussian blur, Pixelate, Opaque fill