A Weighted Sparse Sampling and Smoothing Frame Transition Approach for Semantic Fast-Forward First-Person Videos

Michel Melo Silva, Washington L. S. Ramos, João P. K. Ferreira, Felipe C. Chamone, Mario F. M. Campos, Erickson R. NascimentoCVPR 2018

Abstract

First-person (egocentric) videos are often long and unstable, making them difficult to consume. This paper presents a novel framework for semantic hyperlapse creation that balances visual smoothness, semantic relevance, and computational efficiency. By modeling frame selection as a weighted sparse reconstruction problem using Locality-constrained Linear Coding (LLC), the proposed method identifies important segments while maintaining smooth transitions through a motion-aware smoothing step. Experimental results on a new 80-hour multimodal dataset (DoMSEV) demonstrate that this approach is 53x faster than state-of-the-art methods while achieving superior semantic retention and visual stability.

Introduction

First-person videos, typically captured by head-mounted or chest-mounted cameras like GoPros, present unique challenges for viewers. Raw footage is often hours long, contains significant mundane activity, and is frequently physically nauseating due to jerky, constant camera movements. Existing solutions generally fall into two categories: hyperlapse methods that focus on camera path smoothing but ignore content importance, and semantic fast-forward methods that prioritize "interesting" segments but often suffer from jumpy transitions and high computational costs.

This research addresses the need for a solution that balances semantics (content relevance), smoothness (visual stability), and efficiency (processing speed).

Methodology

The proposed framework utilizes a four-step pipeline to transform raw egocentric video into a smooth, semantically-focused hyperlapse.

Overview of the proposed semantic fast-forward pipeline, illustrating the transition from raw video to a smoothed, semantically-aware hyperlapse.

Temporal Semantic Profiling

The process begins by scoring every frame based on its content. Using object detectors like YOLO, the system identifies relevant segments (e.g., faces, pedestrians, or specific objects) to create a temporal semantic profile. This profile guides the subsequent sampling process to ensure important moments are preserved.

Weighted Sparse Sampling

The core innovation of this work is treating video summarization as a weighted sparse reconstruction problem. The video is viewed as a "dictionary" of frames, and the goal is to find the smallest subset of frames that can mathematically reconstruct the "essence" of the original sequence.

Detailed breakdown of the temporal semantic profile, frame descriptor components, and the weighted sampling mechanism based on camera motion.

The authors employ Locality-constrained Linear Coding (LLC) for this task, which is significantly faster than traditional sparse coding. Crucially, they introduce motion-aware weighting: frames captured during abrupt camera movements (detected via Optical Flow) are assigned lower weights. This forces the algorithm to sample these segments more densely, effectively slowing down the video during jerky movements to maintain visual smoothness.

Smoothing Frame Transitions (SFT) and Compositing

Following the initial selection, the Smoothing Frame Transitions (SFT) step identifies "shaky" transitions where the visual difference between consecutive selected frames exceeds a threshold. Intermediate frames are iteratively inserted into these gaps until smoothness is achieved. Finally, the selected frames are stabilized using homography-based techniques to produce the final output.

Datasets

The study evaluates the method using two primary datasets:

  1. Semantic Dataset: A benchmark of 11 annotated videos used to measure the retention of relevant semantic content.
  2. DoMSEV (Dataset of Multimodal Semantic Egocentric Videos): A newly introduced 80-hour dataset. DoMSEV is more robust than previous benchmarks, featuring RGB-D data, IMU sensors, and GPS, along with detailed annotations for recorder profiles, activities, and wearer attention.

Results and Discussion

The proposed approach achieves state-of-the-art performance across several metrics:

  • Efficiency: The method is 53x faster than the previous state-of-the-art (MIFF), processing frames in approximately 0.5 ms. This efficiency makes it suitable for real-time applications on mobile devices.
  • Semantic Retention: Quantitative tests show that the method retains more relevant semantic information (such as faces and objects) compared to existing hyperlapse or fast-forward techniques.
  • Smoothness: The resulting videos achieve "instability indexes" comparable to dedicated hyperlapse tools like Microsoft Hyperlapse, while successfully incorporating semantic highlighting.

Conclusion

By viewing fast-forwarding as a sparse approximation problem, this framework provides a computationally efficient way to create high-quality semantic hyperlapses. While the method currently relies on some empirical constants and pre-defined object classes, it sets a new standard for speed and content retention. Future work may explore more subjective "interestingness" models and further exploit the multimodal data (GPS, Depth) provided in the DoMSEV dataset to improve camera path planning.

Summary updated

BibTeX
@inproceedings{silva2018weighted,
  author = {Michel Melo Silva and Washington L. S. Ramos and João P. K. Ferreira and Felipe C. Chamone and Mario F. M. Campos and Erickson R. Nascimento},
  title = {{A Weighted Sparse Sampling and Smoothing Frame Transition Approach for Semantic Fast-Forward First-Person Videos}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00253},
}
Figure