dynamic_degree
¶
Modules¶
fastvideo.eval.metrics.vbench.dynamic_degree.metric
¶
VBench Dynamic Degree — RAFT optical flow motion detection.
For each consecutive frame pair, computes optical flow via RAFT and takes the mean of the top 5% flow magnitudes. If enough pairs exceed an adaptive threshold, the video is classified as dynamic (1.0) vs static (0.0).