Better ways to measure infant movement

Comparing video coding, wearable sensors and markerless tracking, plus the coding pipelines behind them.

Early signs of cerebral palsy often show up in how infants move, but measuring that movement reliably is hard. Our lab compares several ways of capturing it:

  • Video observation, scored through behavioral coding
  • Wearable sensors (inertial measurement units, or IMUs)
  • Markerless motion tracking with DeepLabCut during infant reaching

I build and maintain the lab’s behavioral coding pipelines in Datavyu, using Ruby and Python, including the inter-rater reliability workflows that make the coded data trustworthy.

What behavioral coding looks like

Coding means watching video and marking exactly when a behavior happens, such as each moment an infant’s hand touches a toy. Two trained coders score the same sessions, and their agreement (inter-rater reliability) tells us whether the codes can be trusted. Try it:

Ready

or hold the space bar

Fig. 3a. Try behavioral coding. Press Start, then hold Touching (or the space bar) whenever the hand is in contact with the block. Afterwards, compare your record with a trained coder's. The clip is simulated.

Coding which hand

Real coding schemes go further than “touching or not.” To study how infants learn to use their two hands together, we also code which hand is on the toy: the left, the right, or both. Telling these apart reliably is the first step toward spotting more advanced skills, like pulling apart the pieces of a toy, opening containers, or putting things into them.

Ready

or hold ← ↓ →

Fig. 3b. Code which hand is touching the rattle. Hold Left, Right or Both while it happens (holding Left and Right together also counts as Both). The view is from above and behind the infant, so the infant's left hand is on the left. The clip is simulated.

Video or wearable sensors?

Video coding is detailed but slow: someone has to watch every second. Wearable sensors (IMUs), worn on the wrists and ankles like bracelets, record movement automatically, but their continuous signal has to be turned into “moving” and “not moving” with a threshold. Part of our work compares the two. Try picking a threshold:

Fig. 3c. One movement, two ways of measuring it. The video coder marks when the infant's arm is moving; the wrist sensor (IMU) records acceleration continuously, but needs a threshold to decide what counts as movement. Drag the threshold to see how well the sensor agrees with video coding. Simulated data.
  1. Feasibility of Using DeepLabCut for Markerless Motion Tracking During Infant Reaching
    X. Su, M. Kelly, H. Kim, Evan Yarnall, and C. L. Ferre
    In American Academy for Cerebral Palsy and Developmental Medicine (AACPDM) 80th Annual Meeting, Sep 2026
    Scientific poster SP167

    In plain words: Can free video-tracking software (DeepLabCut) follow babies’ arms as they reach for toys, with no markers or sensors on the body? This poster tested whether the approach is practical for infant studies.

  2. Comparison of Spontaneous Movement Measurements Using Video Observation and Inertial Measurement Units (IMUs) in Typically Developing Infants and Infants at Risk for Cerebral Palsy
    X. Su, Evan Yarnall, M. Kelly, H. Kim, and C. L. Ferre
    In American Academy for Cerebral Palsy and Developmental Medicine (AACPDM) 79th Annual Meeting, Oct 2025
    Free paper Q2

    In plain words: Two ways to measure babies’ spontaneous movements, compared side by side: trained observers coding video, and small wearable motion sensors. The study included babies developing typically and babies at risk for cerebral palsy. The wearable sensors captured spontaneous movement acceptably well compared with video coding.

  3. Exploring the Dynamics of Spontaneous Infant Movement: A Longitudinal Study of Movement Patterns and Cortical Activity
    X. Su, M. Kelly, H. Kim, Evan Yarnall, and C. L. Ferre
    In American Academy for Cerebral Palsy and Developmental Medicine (AACPDM) 78th Annual Meeting, Oct 2024
    Scientific poster SP169

    In plain words: In their first months, babies wave their arms and kick on their own. This study followed babies over time to see how those movement patterns change and how they relate to brain activity.