pub fn track(frame: &Frame, params: &[f64]) -> Option<(f64, f64, f64)>Expand description
BlobTrack on the CPU: the centroid of every pixel within Tolerance of the target colour, as
(cx, cy) in 0..1 layer coordinates plus the matched area as a fraction of the frame. None when
nothing matches. params is the effect’s parameter list (EffectKind::BlobTrack.params() order).
ponytail: centroid of all matching pixels, not the largest connected component — upgrade to a union-find labelling if a second blob of the same colour ever needs to be ignored.