Video Tracking for Behaviour Research

Bench notes

Your camera sees pixels. Your paper needs paths.

How behavioural video tracking works, how to set up the camera and lights, and how to prove your data are clean.

Three small black M12 camera lenses on a white background.

Image: credit

Video tracking looks like magic until it goes wrong. A reflection becomes a second mouse, a shadow eats a corner of the arena, and suddenly your animal has teleported across the pool at forty metres a second.

These notes take the opposite approach to magic. They explain what the software is doing in each frame, how a sensible camera and lighting set-up prevents most problems, which tests you can track, and how to check and report data quality before a reviewer does it for you.

Four-panel diagram: raw frame, background subtracted, centre point found, and a time-stamped track.
Four steps from a camera frame to a usable track. Image credit.

Explore

On this site

Watch

HVS Image Morris water maze pool and platform calibration

Calibrating the pool and platform, the five minutes that make every later distance trustworthy.

Video from the HVS Image channel on YouTube. It's loaded in privacy-enhanced mode and only plays when you press play.

From the journals

Spotted on the wire

Recent work where cameras and trackers did the heavy lifting, from robot fish to chewing rats.

  • Notebookcheck ·

    A muscle-powered robot the size of a stick of gum

    A different kind of water maze: MIT engineers built a flat gel strip with fins of light-sensitive muscle cells. Flash one fin and it contracts, so the robot can be steered through a small obstacle course. Top speed is about four body lengths a minute, roughly the cruising pace of a sixgill shark. For tracking fans, it's a fresh case of following a swimmer frame by frame.

    Read the original at Notebookcheck
  • Bioengineer.org ·

    Soft food, older mice and the hippocampus's support cells

    Female Swiss albino mice aged 6 or 18 months lived on hard pellets, soft food, or a switch between them, and astrocytes in one hippocampal layer were counted and measured. The team reanalysed earlier water maze data as a single contrast index, and older mice scored lower on day four. A study about texture, chewing and glia that uses maze data as its behavioural anchor. Published in Behavioral and Brain Functions.

    Behavioral and Brain Functions

    Read the original at Bioengineer.org
  • Bioengineer.org ·

    Anabolic steroid, foggier spatial memory, and a careful design

    Twenty-seven male Wistar rats received nandrolone at 5 or 15 mg/kg, or vehicle, every third day for 22 days. Animals were coded, the tester was blind and a separate person ran the statistics. In the water maze (four trials a day for four days, platform 1 cm under the surface) the probe trial showed a memory deficit while movement stayed normal, and hippocampal calcineurin rose. Published in Behavioral and Brain Functions.

    Behavioral and Brain Functions

    Read the original at Bioengineer.org