Video Tracking for Behaviour Research

Video Tracking for Behaviour Research

How video tracking actually works

Video tracking in behaviour research boils down to one job done thousands of times: find the animal in this frame, write down where it is, move on to the next.

Step 1: pull the animal out of the background

The simplest trick is contrast, a dark mouse on a white floor. Sturdier systems use background subtraction: grab an image of the empty arena, subtract it from every frame, and only the moving animal is left.

Step 2: find the centre, and maybe more

The software locates the animal's blob and its centre point. Some systems also pick out the nose and the base of the tail, which is what makes heading and body orientation measurable.

Step 3: stamp the time, fix the scale

Every position gets a time stamp, and pixels become centimetres through a calibration of the arena.

Step 4: tidy the track

Lost frames, reflections and sudden jumps get flagged or interpolated. A decent system tells you exactly how many frames it had to touch.

Step 5: analyse

Distance, speed, zone times and strategy measures are all just arithmetic on that cleaned-up track. Garbage in, garbage out, which is why steps 1 to 4 matter so much.