Skip to main content

//clika-runtime/io.clika.runtime/ProcessedVideo

ProcessedVideo

[common]
class ProcessedVideo(val clip: Tensor, val frameIndices: LongArray, val ptsSeconds: DoubleArray)

A processed clip plus the sampling facts a timestamp-aware model needs: clip[sampled, H, W, C] Float32, the source frameIndices sampled in order, and each one's presentation time in seconds. Release clip when done.

Constructors​

ProcessedVideo[common]
constructor(clip: Tensor, frameIndices: LongArray, ptsSeconds: DoubleArray)

Properties​

NameSummary
clip[common]
val clip: Tensor
frameIndices[common]
val frameIndices: LongArray
ptsSeconds[common]
val ptsSeconds: DoubleArray