Every Shot Counts: Using Exemplars for Repetition Counting in Videos

Saptarshi Sinha, Alexandros Stergiou, Dima Damen
3/26/2024
cs.CVeess.IV

No official code found. Best implementation: sinhasaptarshi/EveryShotCounts (32 stars, MIT, last commit 2024-12-18).

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.

View on arXivView PDF

Code Implementations(1)

MIT

Codebase for "Every Shot Counts: Using Exemplars for Repetition Counting in Videos"

320PythonMar 8, 20241 years agoMIT

Similar Papers

Cite this paper

@article{sinha2024every,
  title  = {Every Shot Counts: Using Exemplars for Repetition Counting in Videos},
  author = {Saptarshi Sinha and Alexandros Stergiou and Dima Damen},
  year   = {2024},
  eprint = {2403.18074},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.18074v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.18074.svg)](https://codeofpaper.com/paper/2403.18074)

Discussion