skvideo.measure.scenedet
skvideo.measure.scenedet¶Scene detection algorithms
Given a sequence of frames, this function is able to run find the first index of new scenes.
an input frame sequence, shape (T, M, N, C), (T, M, N), (M, N, C) or (M, N)
“histogram” –> threshold-based (parameter1 defaults to 1.0) approach using intensity histogram differences. [1]
“edges” –> threshold-based (parameter1 defaults to 0.5) approach measuring the edge-change fraction after global motion compensation [2]
“intensity” –> Detects fast cuts using changes in colour and intensity between frames. Parameter1 is the threshold used for detection, which defaults to 30.0.
Number used as a tuning parameter. See method argument for details.
Number used for determining minimum scene length.
The indices corresponding to the first frame in the detected scenes.
References