Real-Time Hand Gesture Recognition for OpenXR
Using Transformer-Based Machine Learning

OpenXR hand tracking + Machine Learning (Transformers) for real-time VR gesture recognition

1University of Waterloo  ·  2Bishop’s University
srezayan@uwaterloo.ca  ·  russell.butler@ubishops.ca
Targeting IEEE AIxVR 2027 · Vancouver, Canada
Paper IEEE 2-page
System pipeline

Our system maps OpenXR hand-tracking input to gesture predictions with a Transformer encoder.

Abstract

We present a real-time hand gesture recognition system built on hand-tracking data captured through the OpenXR standard in Unity. Unlike video- or electromyography-based approaches, our method operates directly on 3D hand-joint positions and wrist rotation angles, which are embedded and processed by a Transformer encoder that models temporal dependencies within short frame windows. Normalizing joints relative to the palm makes recognition robust to hand orientation and size. We also outline how the approach can be extended toward detecting the flow of movement — the transitions between gestures — as future work.

93.7%
Gesture classification accuracy
9
Gesture classes
Real-time
Runs live via OpenXR in Unity

Reported on a custom OpenXR-collected dataset. Public-benchmark (SHREC'17) evaluation is in progress.

Recognized Gestures

Point
Open Hand
Fist
Ball Grab
Gun
Gun Shot
Victory
Like
OK

Impact of Data-Collection Refinement

Accuracy before/after

Per-gesture accuracy before and after broadening coverage of hand rotations, sizes, and joint distances.

Benchmark Context (SHREC'17)

MethodVenue14-class28-class
ST-GCNAAAI 201892.787.7
Shift-GCNCVPR 202095.589.4
CTR-GCNICCV 202196.194.4
TD-GCNIEEE TMM 202397.0295.36
DSTSA-GCN202597.7495.37
Our method (this work)OpenXR + TransformerTBDTBD

Published accuracies of representative skeleton-based methods, as compiled by Cui et al. (2025). Our SHREC'17 numbers are pending and will replace the TBD row.

BibTeX

@inproceedings{rezayani2027openxr,
  title     = {Real-Time Hand Gesture Recognition for OpenXR
               Using Transformer-Based Machine Learning},
  author    = {Rezayani, Salar and Butler, Russell},
  booktitle = {Proc. IEEE Int. Conf. on AI and Extended/Virtual Reality (AIxVR)},
  year      = {2027},
  note      = {To appear / under review}
}