SlowFastSampler
Models & Types · AiDotNet.Data.Video.Sampling
SlowFast sampling: produces two sets of frame indices at different temporal resolutions for SlowFast networks (Feichtenhofer et al., 2019).
Implements: IVideoFrameSampler
Constructors
| Constructor | Summary |
|---|---|
SlowFastSampler(int alpha) |
Creates a new SlowFast sampler. |
Methods
| Method | Summary |
|---|---|
int[] SampleFrameIndices(int totalFrames, int numFramesToSample) |
Samples frames for the slow pathway. |