UBC Faculty Research and Publications

Introducing GaitLib : a library for real-time gait analysis in smartphones Wu, Michael Ming-An; Schneider, Oliver Stirling; Karuei, Idin; Leong, Larissa; MacLean, Karon


Modern smartphones are pervasive, powerful, and richly endowed with sensors. These have recently enabled smartphone use for gait analysis, a powerful resource for many applications including biometric identification and context-aware apps that motivate exercises. However, there is little support for software R&D with mobile gait analysis beyond basic sensing. Through a participatory design process, we developed GaitLib, a library for real-time gait analysis in smart- phones. With on-board accelerometers and other sensors, GaitLib supports both cadence estimation and gait classification. The library is implemented on the Android platform, using Weka as the classification engine while supporting customizable gait analysis algorithms. An end user who participated in the design team used successive versions of the library in a series of studies, providing design input which was used to improve the library’s functionality and usability. This library can support and stimulate future research in gait analysis and the development of innovative applications.

Item Media

Item Citations and Data


Attribution-NonCommercial 2.5 Canada