TIC_Dataset / README.md
ChengxuZuo's picture
Upload README.md with huggingface_hub
64c584c verified
|
Raw History Blame Contribute Delete
5 kB
metadata
pretty_name: TIC Dataset (DSTIC) - Dynamic On-body IMU Calibration
task_categories:
  - other
tags:
  - imu
  - inertial-motion-capture
  - motion-capture
  - calibration
  - smpl
  - optical-tracking
  - siggraph2025

TIC Dataset

Transformer IMU Calibrator: Dynamic On-body IMU Calibration for Inertial Motion Capture

Paper · Project Code · Fast-forward Video · Demo

A real-world dataset released with the SIGGRAPH 2025 paper Transformer IMU Calibrator. In the paper it is referred to as DSTIC ((DS_{\text{TIC}})). It contains synchronized on-body IMU measurements, optical-motion-capture ground truth, and the ground-truth calibration variables (global coordinate drift and sensor-to-body measurement offset) needed to study dynamic IMU calibration for sparse inertial motion capture.

Five volunteers (3 male, 2 female) wore six IMUs (NOITOM Axis Lab) together with optical motion capture suits from a NOKOV system. Each volunteer performed a 60-minute protocol covering stretching, walking/running/jumping, table tennis, aerobics, boxing, and free activity (10 minutes each). Every IMU was integrated with three optical markers, so absolute IMU orientation and acceleration, together with SMPL body pose and global translation, are available as ground truth. All data are expressed in the SMPL coordinate frame and synchronized frame by frame.

Dataset Structure

TIC_Dataset/
├── s1/
│   ├── acc.pt       # (T, 6, 3)
│   ├── acc_gt.pt    # (T, 6, 3)
│   ├── rot.pt       # (T, 6, 3, 3)
│   ├── pose.pt      # (T, 24, 3)
│   ├── trans.pt     # (T, 3)
│   ├── drift.pt     # (T, 6, 3, 3)
│   └── offset.pt    # (T, 6, 3, 3)
├── s2/
├── s3/
├── s4/
└── s5/

Each folder is one subject's continuous recording. All files within a subject have the same frame count T, are time-aligned frame by frame, and are stored as torch.float32 tensors.

Data Fields

File Shape Description
acc.pt (T, 6, 3) Accelerations of the six on-body IMUs after the initial static calibration. Gravity is included.
rot.pt (T, 6, 3, 3) Orientations of the six IMUs after the initial static calibration, as rotation matrices.
pose.pt (T, 24, 3) SMPL body pose (24 joints, axis-angle) captured by the NOKOV optical system.
trans.pt (T, 3) Global body/root translation of the SMPL body, in meters.
drift.pt (T, 6, 3, 3) Ground-truth global-coordinate drift (R_{G'G}), derived as (R_{G'S}R_{GS}^{\mathsf T}).
offset.pt (T, 6, 3, 3) Ground-truth sensor-to-body offset (R_{BS}), derived as (R_{GB}^{\mathsf T}R_{GS}).
acc_gt.pt (T, 6, 3) Ground-truth IMU accelerations reconstructed from the optical tracker.

IMU Order

Index 0-5 correspond to:

  1. left forearm
  2. right forearm
  3. left lower leg
  4. right lower leg
  5. head
  6. hip (root)

Sequence Lengths

The data were collected at 60 fps, and the released evaluation code assumes 60 Hz data (data_frame_rate=60 in TicOperator); the paper's network windows downsample them to 30 Hz. Durations below are approximate values at 60 Hz. The paper reports a 60-minute protocol per volunteer; the uploaded s3 recording is shorter (~52 min).

Subject Frames T Duration @ 60 Hz
s1 214,805 ~59.7 min
s2 215,999 ~60.0 min
s3 186,498 ~51.8 min
s4 215,996 ~60.0 min
s5 215,996 ~60.0 min
Total 1,049,294 ~4.86 h

Loading the Data

from pathlib import Path

import torch
from huggingface_hub import snapshot_download

repo_path = Path(
    snapshot_download(repo_id="ChengxuZuo/TIC_Dataset", repo_type="dataset")
)

subject_dir = repo_path / "s1"
data = {p.stem: torch.load(p, map_location="cpu") for p in subject_dir.glob("*.pt")}

acc = data["acc"]        # (T, 6, 3)
rot = data["rot"]        # (T, 6, 3, 3)
pose = data["pose"]      # (T, 24, 3)
drift = data["drift"]    # (T, 6, 3, 3)
offset = data["offset"]  # (T, 6, 3, 3)

Following the correction used in TicOperator.calibrate_step, the statically calibrated measurements can be mapped back with the ground-truth matrices:

g = torch.tensor([0.0, -9.80848, 0.0]).view(1, 1, 3, 1)

acc_corrected = (
    drift.transpose(-1, -2) @ (acc.unsqueeze(-1) - g) + g
)  # (T, 6, 3, 1)
rot_corrected = (
    drift.transpose(-1, -2) @ rot @ offset.transpose(-1, -2)
)  # (T, 6, 3, 3)

Other Downloads