Video2IMU: Realistic IMU features and signals from videos

Arttu Lämsä, Jaakko Tervonen, Jussi Liikka, Constantino Álvarez Casado, Miguel Bordallo López

Introduction

Human Activity Recognition (HAR) is a cornerstone of modern wearable technology, enabling devices like smartwatches to track fitness metrics or detect emergency events such as falls. However, developing robust HAR models requires vast amounts of labeled Inertial Measurement Unit (IMU) data—specifically accelerometer and gyroscope readings.

Labeling this data is a significant bottleneck; while a human can easily identify an activity in a video, interpreting raw sensor signals is unintuitive and time-consuming. Video2IMU addresses this scarcity by leveraging abundant, easily labeled video data to generate realistic synthetic IMU signals and features using a deep learning approach.

Methodology

The Video2IMU pipeline transforms monocular (2D) video into virtual sensor data through a multi-stage process:

  1. Pose Estimation: Using Detectron2, the system extracts 17 human body keypoints from video frames.
  2. Coordinate Mapping: The "body center" is estimated via hip keypoint interpolation. To compensate for the lack of depth in 2D video, a Z-coordinate is estimated based on the relative size of the detected person.
  3. Physics-Based Acceleration: A "naive" acceleration signal is calculated by taking the second derivative of these 3D coordinates over time.
  4. U-Net Translation: The core innovation is a U-Net architecture (an encoder-decoder network with skip connections) that refines the naive acceleration. The U-Net learns to map clean physics-based movement to the complex, noisy characteristics of a physical sensor, including gravity-related effects.
Examples of construction-related activities from the VTT-ConIoT dataset used to train and evaluate Video2IMU.

Dataset and Experimental Setup

The study utilized the VTT-ConIoT dataset, featuring synchronized video and 100Hz IMU data from 13 subjects. The evaluation focused on a six-class subset of industrial and construction tasks, such as cleaning, climbing, and painting. These activities represent challenging real-world scenarios for sensor-based recognition.

Key Results

The researchers evaluated the synthetic data using "Leave-One-Subject-Out" (LOSO) cross-validation. The results demonstrate that the U-Net refinement is critical for performance:

Training Data Source Accuracy on Real IMU Data
Real IMU Data (Gold Standard) 52.1%
Video2IMU (Generated Data) 48.1%
Naive Video (Direct Physics) 26.1%

Models trained on Video2IMU data performed remarkably close to those trained on real sensor data, nearly doubling the accuracy of the naive physics-based approach. This confirms that the neural network successfully "hallucinates" the specific signatures and noise patterns of wearable sensors.

A subject performing a cleaning/painting task, illustrating the type of complex motion captured by the monocular video input.

Discussion and Limitations

Despite its success, the model faced challenges with vertical (Z-axis) acceleration. The authors attribute this to the difficulty of inferring sensor orientation from 2D video; as a person's posture changes (e.g., crouching), the effect of gravity on the hip-mounted sensor shifts in ways that are hard to capture without explicit 3D orientation data.

Future work will explore expanding the system to different sensor placements (such as the wrist for fine motor tasks) and improving the inference of 3D sensor orientation to further close the gap between synthetic and real-world data.

Summary updated

BibTeX
@inproceedings{lamsa2022video,
  author = {Arttu Lämsä and Jaakko Tervonen and Jussi Liikka and Constantino Álvarez Casado and Miguel Bordallo López},
  title = {{Video2IMU: Realistic IMU features and signals from videos}},
  booktitle = {BSN},
  year = {2022},
  url = {https://openreview.net/forum?id=rs26eYfVuJ},
}
Figure