EnvisionHGdetector: A Computational Framework for Co-Speech Gesture Detection, Kinematic Analysis, and Interactive Visualization

Antonio Rueda-Toicen, Shahin Shaikh, Babajide Owoyele, Gerard de Melo, Wim Pouw, Bosco Yung, James TrujilloPsyarxiv 2026

Abstract

We introduce the EnvisionHGdetector toolkit (v3.0.4), which allows for the kinematic analysis of automatically detected co- speech gestures from single-person videos. The Convolutional Neural Network (CNN) and Light Gradient Boosting Machine (LightGBM) model for detecting gestures is trained on seven open datasets with varying recording conditions: ZHUBO, SaGA, SaGA++, MULTI- SIMO, ECOLANG, TEDM3D, and GESRes. These data combined yielded 7774 unique gesture instances amenable for data augmen- tation, pose extraction, and model training. Inspired and further building on the action detection tool Nodding Pigeon (Yung, 2022), EnvisionHGdetector utilizes MediaPipe Holistic for skeleton-based tracking, and a CNN/ LightGBM model for classification. The tool is designed to work in an out-of-the-box fashion, broadly applicable for any single-person frontal view recording, without custom (p)re- training on specific target datasets and without needing GPU support on inference. On our test set, we attain a class-balanced gesture detection accuracy of 60.1% with our CNN model and 69.4% with the LightGBM model. Additionally, on our out-of-sample test set, CNN achieves an average accuracy of 81.3% while LightGBM achieves 75.0%. The envisionHGdetector PyPI package produces as output gesture segment labels, label confidence time series, segmented videos, as well as ELAN files, DTW distance matrices for gesture similarities, kinematic feature summaries, and a data visualization and exploration dashboard. The code for the package and training is available on GitHub, and the training feature data is archived at the OSF. We further discuss this project’s outlook, which aims to improve the inte- gration of open-source computational innovations in gesture studies and cognitive science.
BibTeX
@misc{ruedatoicen2026envisionhgdetector,
  author = {Antonio Rueda-Toicen and Shahin Shaikh and Babajide Owoyele and Gerard de Melo and Wim Pouw and Bosco Yung and James Trujillo},
  title = {{EnvisionHGdetector: A Computational Framework for Co-Speech Gesture Detection, Kinematic Analysis, and Interactive Visualization}},
  year = {2026},
  howpublished = {Psyarxiv},
}

Loading related content...

Figure