← back to roto on ba3a.dev

CycleAnalysis

@Serializable
data class CycleAnalysis(val repeatFrames: Int?, val repeatScore: Double?, val contacts: List<Int>, val markers: List<Int>)

What the cycle stage found in a clip: the silhouette repeating every repeatFrames frames with a mean mask overlap of repeatScore (both null when the clip does not loop or is too short to repeat), the contacts where the feet strike, and the proposed key-frame markers as KeyFrames boundaries.

Constructors

Link copied to clipboard
constructor(repeatFrames: Int?, repeatScore: Double?, contacts: List<Int>, markers: List<Int>)

Properties

Link copied to clipboard

the frames where the feet strike, in rising order

Link copied to clipboard

The proposed key frames.

Link copied to clipboard

the proposed key-frame boundaries, in rising order

Link copied to clipboard

how many frames the silhouette takes to repeat, or null

Link copied to clipboard

the mean mask overlap at that repeat, or null