Back to search

University of Alberta

Efficient Online Keyframe Extraction in Videos and its Applications in Temporal Classification of Human Action

Abstract

dc:description.abstract

Human–action recognition, the task of identifying specific actions from short videos, has gained considerable attention due to its broad applicability in domains such as behavior analysis, human–computer interaction, robotics, autonomous driving, surveillance, healthcare monitoring, and sports analytics. A closely related problem, action detection, involves localizing the temporal boundaries of an action in long, untrimmed videos while assigning the correct label. Recently, online action detection has emerged as a critical research area, aiming to process and recognize actions in real time using only the frames observed so far, enabling “just-in-time” predictions for time-sensitive applications. Conventional human–action recognition approaches fall into two broad categories: handcrafted feature–based methods and deep learning–based methods. With the growth of labeled datasets, research has shifted toward deep learning, particularly two-stream networks and 3D convolutional neural networks (3D CNNs), which capture spatiotemporal features essential for action understanding. While effective, two-stream approaches rely on computationally expensive optical flow estimation and struggle with long-term dependencies, whereas 3D CNNs incur high memory and processing costs and often process redundant frames, limiting their real-time applicability. Keyframe-based methods address redundancy by selecting only the most informative frames that sufficiently represent an action, enabling faster inference and reduced memory consumption. However, existing methods often require manual selection, complex training procedures, or complete access to the entire video sequence before processing, making them unsuitable for online scenarios. Moreover, most approaches, whether 2D, 3D, or keyframe-based, classify actions by aggregating results over video segments, disrupting the natural temporal sequence and potentially reducing classification accuracy. Another open challenge is multi-action detection (MAD), where multiple, possibly overlapping actions occur simultaneously in a video. This situation arises in real-world contexts such as surveillance, where several individuals perform unrelated actions at once, or sports footage, where multiple players act concurrently. Robust MAD requires precise temporal modeling, actor localization, and the ability to handle overlapping and interacting actions, but few existing methods support online operation or early action prediction. Swimming analysis further illustrates the limitations of current approaches. While swimming is an important field for sports science, little research has been conducted in this area due to a lack of annotated datasets. Swimming videos pose unique difficulties, including repetitive strokes, frequent occlusion by splashes, and the presence of multiple swimmers. Developing effective methods for swimming analysis requires tailored techniques and suitable datasets. This thesis addresses these limitations through three core objectives: (1) designing an online learnable keyframe extraction method, (2) developing online temporal classification for real-time recognition in both short and long videos, and (3) introducing an online framework for multi-action detection and early prediction, with a special application to swimming analysis. The contributions are fivefold. First, an Online Keyframe Extraction Module (OKFEM) is proposed as the first learnable framework for extracting keyframes in an online manner. It is efficient, memory-friendly, and transferable across domains, achieving state-of-the-art results in both video summarization and action recognition benchmarks. Second, an Online Temporal Classification Model (OTCM) is introduced to perform real-time action recognition. Leveraging keyframes from OKFEM, OTCM reduces redundancy while maintaining accuracy. A novel Action Inference Graph (AIG) enables sequential classification without relying on averaging across segmented clips. Uniquely, OTCM supports both short trimmed sequences and long untrimmed videos, achieving accurate recognition with as little as 10% of video frames. Third, the thesis proposes the Online Adaptive Multi-action Detector (OAMD), a unified framework with a Dynamic Multi-Layer Perceptron (D-MLP) for adaptive classification. OAMD supports simultaneous detection of overlapping actions, operates online with low latency, and performs early recognition, consistently surpassing state-of-the-art approaches across multiple datasets. Fourth, as a domain-specific application, the SWIM Stroke Rate Analyzer (SWIM-STAR) is developed for swimming analysis. SWIM-STAR detects multiple swimmers and estimates stroke rates in real time from long, untrimmed videos. To improve robustness under occlusion, a Swimming State Refiner (SSR) corrects misclassified stroke states, significantly boost the accuracy. Finally, two new annotated datasets, Swimming Stroke Detection 1 (SSD1) and Swimming Stroke Detection 2 (SSD2), are introduced, representing the first publicly available resources for swimming video analysis. In summary, this thesis advances human-action recognition by introducing online frameworks that balance accuracy, efficiency, and scalability. By addressing the shortcomings of offline methods, it contributes both to the general field of video understanding and to specialized domains such as sports performance analysis.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
Doctoral
Grantor
University of Alberta
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • E Elahi, G M Mashrur
Advisor dc:contributor.advisor
  • Yang, Herbert (Computing Science)

Subjects

dc:subject × 4

Rights

dc:rights
Statement dc:rights
  • This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
Language dc:language.iso
en

Identifiers

dc:identifier.*
DOI dc:identifier.doi
https://doi.org/10.7939/84014

Chain of custody

source
Harvested from
University of Alberta
Base URL
era.library.ualberta.ca/oai
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

E Elahi, G M Mashrur. Efficient Online Keyframe Extraction in Videos and its Applications in Temporal Classification of Human Action. Doctoral thesis, University of Alberta, 2026. https://doi.org/10.7939/84014