TemporalSegmentSampler
Models & Types · AiDotNet.Data.Video.Sampling
Temporal Segment Networks (TSN) sampling: divides video into equal segments and samples one frame per segment.
Implements: IVideoFrameSampler
Constructors
| Constructor | Summary |
|---|---|
TemporalSegmentSampler(int? seed) |
Methods
| Method | Summary |
|---|---|
int[] SampleFrameIndices(int totalFrames, int numFramesToSample) |