Seedlabs
Source research

Live Spoofing Detection for Automatic Human Activity Recognition Applications

Viktor Dénes Huszár, Vamsi Kiran Adhikarla · 2021 · 24 citationsRead the paper

Human Activity Recognition (HAR) has become increasingly crucial in several applications, ranging from motion-driven virtual games to automated video surveillance systems. In these applications, sensors such as smart phone cameras, web cameras or CCTV cameras are used for detecting and tracking physical activities of users. Inevitably, spoof detection in HAR is essential to prevent anomalies and false alarms. To this end, we propose a deep learning based approach that can be used to detect spoofing in various fields such as border control, institutional security and public safety by surveillance cameras. Specifically, in this work, we address the problem of detecting spoofing occurring from video replay attacks, which is more common in such applications. We present a new database containing several videos of users juggling a football, captured under different lighting conditions and using different display and capture devices. We train our models using this database and the proposed system is capable of running in parallel with the HAR algorithms in real-time. Our experimental results show that our approach precisely detects video replay spoofing attacks and generalizes well, even to other applications such as spoof detection in face biometric authentication. Results show that our approach is effective even under resizing and compression artifacts that are common in HAR applications using remote server connections.

What the full text shows

Working prototype
  • The ensemble multi-stream (EM) model processes a single frame in average 4 ms on an iPhone 8. — 250 frames per second (Implemented in Swift using CoreML on iPhone 8 (2.39 GHz hexa-core))
  • The EM model remains robust under extreme video compression. — Effective at 300 kbps (Bitrates ranging from 300 kbps to 1500 kbps generated via ffmpeg)
  • The model generalizes to face biometric authentication datasets. — Performs well on REPLAY-MOBILE; reasonably well on CASIA (Images resized to 64x64 pixels)
Setup
Custom dataset of 101,000 images from 38 players juggling a football; tested on Idiap REPLAY-MOBILE and CASIA Face AntiSpoofing databases.
How
The authors developed an ensemble multi-stream deep learning model that uses a YOLO model for real-time head bounding box detection followed by a CNN to classify genuine vs. spoofed frames. The system was converted to CoreML for mobile deployment on iOS.
Limitations
Fails if the user is outside the 0.5–2.5 m distance range due to fixed YOLO anchor sizes. · Fails if the recording camera rotates beyond -15 to 15 degrees along the Z axis. · Fails if the user faces completely away from the camera. · Issues detecting spoofing when more than one light source is present in the scene.

Summarized by Gemma 4 from the open-access full text · 18 Oct 2026. Read it