video_id stringlengths 9 9 | poses listlengths 20 233 | label stringclasses 184 values | velocity listlengths 20 233 | acceleration listlengths 20 233 |
|---|---|---|---|---|
00335.mp4 | [
[
[
-0.16671647131443024,
-1.6909329891204834,
-0.691483199596405
],
[
0.967546284198761,
-0.5556400418281555,
0.6085560321807861
],
[
-0.883922278881073,
-0.691604733467102,
1.1454163789749146
],
[
0.9815583825111389,
0.7... | abdomen | [
[
[
-0.003414769656956196,
-0.0019568027928471565,
0.0055791656486690044
],
[
-0.003414769656956196,
-0.0019568027928471565,
0.0055791656486690044
],
[
-0.003414769656956196,
-0.0019568027928471565,
0.0055791656486690044
],
[
-0... | [
[
[
-0.0006253188475966454,
-0.001010226085782051,
-0.001561573939397931
],
[
-0.0006253188475966454,
-0.001010226085782051,
-0.001561573939397931
],
[
-0.0006253188475966454,
-0.001010226085782051,
-0.001561573939397931
],
[
-0... |
00336.mp4 | [
[
[
-0.057048484683036804,
-1.4941502809524536,
-0.7839011549949646
],
[
0.989000678062439,
-0.46753033995628357,
0.7681891322135925
],
[
-0.905376672744751,
-0.7797144055366516,
0.9857833385467529
],
[
0.8114772439002991,
... | abdomen | [
[
[
-0.003414769656956196,
-0.0019568027928471565,
0.0055791656486690044
],
[
-0.003414769656956196,
-0.0019568027928471565,
0.0055791656486690044
],
[
-0.003414769656956196,
-0.0019568027928471565,
0.0055791656486690044
],
[
-0... | [
[
[
-0.0006253188475966454,
-0.001010226085782051,
-0.001561573939397931
],
[
-0.0006253188475966454,
-0.001010226085782051,
-0.001561573939397931
],
[
-0.0006253188475966454,
-0.001010226085782051,
-0.001561573939397931
],
[
-0... |
00338.mp4 | [[[-0.041774459183216095,-1.557804822921753,-0.8493767976760864],[1.0370733737945557,-0.631320595741(...TRUNCATED) | abdomen | [[[-0.003414769656956196,-0.0019568027928471565,0.0055791656486690044],[-0.003414769656956196,-0.001(...TRUNCATED) | [[[-0.0006253188475966454,-0.001010226085782051,-0.001561573939397931],[-0.0006253188475966454,-0.00(...TRUNCATED) |
00339.mp4 | [[[0.0010896013118326664,-1.577178955078125,-0.773270308971405],[1.0176029205322266,-0.6125342845916(...TRUNCATED) | abdomen | [[[-0.003414769656956196,-0.0019568027928471565,0.0055791656486690044],[-0.003414769656956196,-0.001(...TRUNCATED) | [[[-0.0006253188475966454,-0.001010226085782051,-0.001561573939397931],[-0.0006253188475966454,-0.00(...TRUNCATED) |
00341.mp4 | [[[-0.031647201627492905,-1.5146828889846802,-0.7043018341064453],[0.9788171648979187,-0.58175086975(...TRUNCATED) | abdomen | [[[-0.003414769656956196,-0.0019568027928471565,0.0055791656486690044],[-0.003414769656956196,-0.001(...TRUNCATED) | [[[-0.0006253188475966454,-0.001010226085782051,-0.001561573939397931],[-0.0006253188475966454,-0.00(...TRUNCATED) |
00376.mp4 | [[[-0.16357830166816711,-1.7002053260803223,-0.7825111150741577],[0.9783474206924438,-0.602707684040(...TRUNCATED) | able | [[[-0.003414769656956196,-0.0019568027928471565,0.0055791656486690044],[-0.003414769656956196,-0.001(...TRUNCATED) | [[[-0.0006253188475966454,-0.001010226085782051,-0.001561573939397931],[-0.0006253188475966454,-0.00(...TRUNCATED) |
00377.mp4 | [[[0.06636307388544083,-1.5383599996566772,-0.8199383020401001],[0.9400790929794312,-0.5735675096511(...TRUNCATED) | able | [[[-0.003414769656956196,-0.0019568027928471565,0.0055791656486690044],[-0.003414769656956196,-0.001(...TRUNCATED) | [[[-0.0006253188475966454,-0.001010226085782051,-0.001561573939397931],[-0.0006253188475966454,-0.00(...TRUNCATED) |
00381.mp4 | [[[-0.1519927978515625,-1.5431257486343384,-0.5400587916374207],[0.9814119338989258,-0.5657783150672(...TRUNCATED) | able | [[[-0.003414769656956196,-0.0019568027928471565,0.0055791656486690044],[-0.003414769656956196,-0.001(...TRUNCATED) | [[[-0.0006253188475966454,-0.001010226085782051,-0.001561573939397931],[-0.0006253188475966454,-0.00(...TRUNCATED) |
00382.mp4 | [[[-0.12971125543117523,-1.5175588130950928,-0.6564755439758301],[1.0240041017532349,-0.575578391551(...TRUNCATED) | able | [[[-0.003414769656956196,-0.0019568027928471565,0.0055791656486690044],[-0.003414769656956196,-0.001(...TRUNCATED) | [[[-0.0006253188475966454,-0.001010226085782051,-0.001561573939397931],[-0.0006253188475966454,-0.00(...TRUNCATED) |
00384.mp4 | [[[-0.07873024046421051,-1.457993984222412,-0.8150104880332947],[0.975565493106842,-0.60974299907684(...TRUNCATED) | able | [[[-0.003414769656956196,-0.0019568027928471565,0.0055791656486690044],[-0.003414769656956196,-0.001(...TRUNCATED) | [[[-0.0006253188475966454,-0.001010226085782051,-0.001561573939397931],[-0.0006253188475966454,-0.00(...TRUNCATED) |
WLASL Processed Motion Tokens (Normalized)
Dataset Description
This dataset contains normalized, pre-processed 3D skeletal data derived from the WLASL (World Level American Sign Language) dataset.
It is specifically designed for training MotionGPT, VQ-VAEs, and Sign Language Production (SLP) models. Unlike raw MediaPipe output, this data has been geometrically and statistically normalized to remove camera variations, scale differences, and jitter, making it ready for deep learning tokenization.
- Repository: Kibalama/wlasl-processed-motion-tokens
- Source Data: WLASL (MediaPipe Lite)
- Keypoints: 7 Upper-Body Joints (Nose, Shoulders, Elbows, Wrists)
- Feature Space: Position, Velocity, Acceleration (Z-Score Normalized)
Dataset Structure
The dataset consists of video samples where the video pixels have been replaced by high-fidelity motion features.
Columns
| Column Name | Type | Description |
|---|---|---|
video_id |
string |
Original filename (e.g., 005.mp4). |
label |
string |
The English gloss (word) being signed (e.g., "book"). |
poses |
List[List[float]] |
Normalized 3D coordinates. Shape: $(T, 7, 3)$. |
velocity |
List[List[float]] |
First-order derivative ($\Delta x$). Shape: $(T, 7, 3)$. |
acceleration |
List[List[float]] |
Second-order derivative ($\Delta^2 x$). Shape: $(T, 7, 3)$. |
Data Shape
Each row contains jagged arrays (variable length $T$).
- Dimension 0: Frame Time ($T$)
- Dimension 1: Joint Index (7 joints)
- Dimension 2: Spatial Coordinate (3 values: $x, y, z$)
Joint Indices (MediaPipe Topology)
The 7 keypoints map to the following MediaPipe Pose Landmarker indices:
| Index | MediaPipe ID | Body Part |
|---|---|---|
| 0 | 0 | Nose |
| 1 | 11 | Left Shoulder |
| 2 | 12 | Right Shoulder |
| 3 | 13 | Left Elbow |
| 4 | 14 | Right Elbow |
| 5 | 15 | Left Wrist |
| 6 | 16 | Right Wrist |
Processing Pipeline
The data underwent a rigorous cleaning and normalization pipeline to ensure high-quality motion representation.
1. Data Cleaning
- Interpolation: Missing frames (NaNs) from MediaPipe were filled using linear interpolation.
- Back/Forward Fill: Edge cases at the start/end of videos were filled to prevent gaps.
2. Geometric Normalization
- Per-Frame Centering: In every frame, the midpoint between the shoulders is translated to $(0,0,0)$. This removes the absolute position of the signer in the room.
- Per-Video Scaling: All coordinates are divided by the median shoulder width of the signer across the entire video.
- Robustness: The median is calculated filtering out the bottom 25% of widths to handle side-views/occlusions.
- This ensures the signer's size is consistent (scale $\approx 1.0$) regardless of camera distance.
3. Feature Extraction
- Velocity: Calculated using
np.diff(pre-padded) to capture motion energy. - Acceleration: Calculated from velocity to capture force/stops.
4. Statistical Normalization (Z-Score)
The data is standardized using Global Channel Statistics computed from the training set.
- $\mu, \sigma$ Calculation: Computed separately for the X, Y, and Z channels (but shared across all joints to preserve relative limb magnitude).
- Result: Values typically range between $[-3, 3]$.
Usage
Loading the Dataset
from datasets import load_dataset
import numpy as np
dataset = load_dataset("Kibalama/wlasl-processed-motion-tokens", split="train")
sample = dataset[0]
print(f"Gloss: {sample['label']}")
# Convert to Float32 NumPy Arrays
poses = np.array(sample['poses'], dtype=np.float32) # (Frames, 7, 3)
vels = np.array(sample['velocity'], dtype=np.float32)
accs = np.array(sample['acceleration'], dtype=np.float32)
print(f"Pose Shape: {poses.shape}")
- Downloads last month
- 11