TracktorLive: an integrated real-time object tracking and response system

TracktorLive is an open-source, modular Python package that democratizes real-time object tracking and automated response systems by utilizing traditional computer vision and concurrent processing to eliminate hardware dependencies and steep learning curves, thereby offering a highly accurate and accessible solution for diverse scientific applications.

Minasandra, P., Sridhar, V. H., Roche, D. G., Planas-Sitja, I.

Published 2026-03-16
📖 4 min read☕ Coffee break read
⚕️

This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine you are a scientist trying to study how fish swim or how bugs interact. In the old days, you had to sit there with a stopwatch and a notebook, watching the animals and trying to press a button at the exact right moment when something interesting happened. But humans are slow, we get tired, and we make mistakes. We might miss a split-second event, or we might accidentally scare the animal just by being there.

TracktorLive is like a super-smart, tireless robot assistant that solves all these problems. It's a free computer program that watches video of animals in real-time and instantly reacts to what it sees, without needing expensive supercomputers or complex AI training.

Here is how it works, broken down into simple concepts:

1. The "Two-Brain" System (Concurrency)

Most computer programs do one thing at a time: they look at a picture, then they decide what to do, then they act. This takes time, like a waiter taking an order, walking to the kitchen, and then bringing the food. If the kitchen is busy, the customer waits.

TracktorLive is different. It splits the job into two teams working at the same time:

  • The Tracker (The Eyes): This part just watches the video, finding the animals and drawing little boxes around them. It never stops looking.
  • The Reactor (The Hands): This part listens to the Tracker and immediately pushes buttons, opens doors, or plays sounds based on what the Tracker sees.

Because they work simultaneously (like a chef chopping vegetables while a sous-chef plates the food), there is zero delay. The reaction happens instantly, even on a regular laptop.

2. The "Cassette" Tape System (Modularity)

Imagine you have a boombox. Instead of building a new radio from scratch every time you want to listen to jazz or rock, you just pop in a different cassette tape.

TracktorLive works the same way. The core software is the boombox. The "cassettes" are small, pre-written pieces of code that you can copy and paste into your project.

  • Want the camera to only record when two bugs touch? Pop in the "Record When Together" cassette.
  • Want to open a door when a fish swims too fast? Pop in the "Open Door" cassette.
  • Want to make the video brighter so the computer can see better? Pop in the "Boost Contrast" cassette.

You don't need to be a coding wizard to use these. You just stack the cassettes you need, like building a tower of blocks, and the robot does the rest.

3. The "Old School" Magic (No Heavy AI)

Many modern tracking tools use "Deep Learning" (AI), which is like a brain that needs to be fed thousands of hours of video to learn what a fish looks like. This requires powerful, expensive computers and takes a long time to process.

TracktorLive uses "traditional" computer vision. Think of it like a high-tech highlighter. Instead of "learning" what a fish is, it simply looks for dark shapes moving against a light background (or vice versa). It's incredibly fast and lightweight, meaning it can run on a cheap computer or even a Raspberry Pi (a tiny $35 computer). It doesn't need a supercomputer to do its job.

4. What Can It Actually Do?

The paper shows off some cool tricks:

  • The "Bouncer": If a mouse enters a specific "forbidden zone," the system instantly flashes a light or plays a sound to scare it away.
  • The "Smart Camcorder": Instead of recording 10 hours of boring footage, the camera only starts recording when two animals get close enough to interact. This saves massive amounts of hard drive space.
  • The "Speed Trap": If a fish swims faster than a certain speed, the system instantly plays a video of a predator to see how the fish reacts.
  • The "Doorman": If two pillbugs walk into a specific area, a servo motor opens a tiny door for them.

Why Does This Matter?

Before TracktorLive, setting up these kinds of experiments was like trying to build a custom car engine in your garage with no tools. It was hard, expensive, and only experts could do it.

TracktorLive is like handing everyone a Lego set for science. It makes real-time experiments accessible to anyone with a camera and a computer. It removes human error, ensures every experiment is done exactly the same way (making science more reliable), and lets researchers study fast-moving behaviors that humans simply can't react to in time.

In short: TracktorLive is the ultimate "if-then" machine for biology. If the animal does X, the machine instantly does Y, perfectly and instantly, every single time.

Get papers like this in your inbox

Personalized daily or weekly digests matching your interests. Gists or technical summaries, in your language.

Try Digest →