Command Palette
Search for a command to run...
Every Shot Counts: Using Exemplars for Repetition Counting in Videos
Saptarshi Sinha; Alexandros Stergiou; Dima Damen

Abstract
Video repetition counting infers the number of repetitions of recurring actions or motion within a video. We propose an exemplar-based approach that discovers visual correspondence of video exemplars across repetitions within target videos. Our proposed Every Shot Counts (ESCounts) model is an attention-based encoder-decoder that encodes videos of varying lengths alongside exemplars from the same and different videos. In training, ESCounts regresses locations of high correspondence to the exemplars within the video. In tandem, our method learns a latent that encodes representations of general repetitive motions, which we use for exemplar-free, zero-shot inference. Extensive experiments over commonly used datasets (RepCount, Countix, and UCFRep) showcase ESCounts obtaining state-of-the-art performance across all three datasets. Detailed ablations further demonstrate the effectiveness of our method.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| repetitive-action-counting-on-countix | ESCounts | MAE: 0.276 OBO: 0.673 OBZ: 0.319 RMSE: 3.029 |
| repetitive-action-counting-on-repcount | ESCounts | MAE: 0.213 OBO: 0.563 OBZ: 0.245 RMSE: 4.455 |
| repetitive-action-counting-on-ucfrep | ESCounts | MAE: 0.216 OBO: 0.704 OBZ: 0.381 RMSE: 1.972 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.