Live Tracking
Tools > Live Tracking. Needs a camera with its camera service running; Camera setup prepares a computer for it.
![]()
How a session runs
The camera's memory is divided into partitions. The camera records one partition and goes on into the next while TraCell reads the finished one into the computer's memory and tracks it. Nothing waits for a disk.
Each partition is tracked on its own, because the camera leaves a gap between two partitions. A cell that is in the picture when a partition starts or ends is incomplete: it is kept and marked, and left out of counts.
Before you start
Initial background optionally learns from a cell-free feed once before tracking starts. Enter the number of learning frames (for example 1,000), or leave it Off to keep the mask method's usual learning. After learning, AutoTrack reuses that background with learning frozen across partitions. Learning frames and any remainder of their source partition are excluded from tracking results and frame/partition stop counts. Activity shows the learning progress, and Stop works during learning. The method determines how it learns from that feed; stateless segmentation methods do not need one. Start a new session to learn a fresh background.
- Set resolution, frame rate and exposure. Live View shows the camera's picture without recording. CSR takes the black reference; cover the lens when asked.
- Set detection and tracking on the live picture as for a video (Mask, Contours, Tracker).
- Say how many cells the session should collect (Stop after).
-
Give the channel length in view and the expected cell velocity in Edit > Experiment, and choose a Partition length. TraCell works out how many frames a partition gets:
Partition length Frames per partition What you get Quick updates 3 times the crossing time Results come often; half the cells are cut at a partition's ends Balanced 9 times the crossing time 80% of the cells are tracked from entering to leaving Most cells 19 times the crossing time 90% complete; results come less often and need more memory Manual what you type The channel length, the velocity and the frames per partition show, for you to set The number never goes above what this computer's free memory holds. If the channel length or the velocity is missing, AutoTrack says so instead of starting.
Capture: keep what you just saw
Capture makes one recording over the camera's whole memory, for the moment something interesting shows up.
- Once, in Edit > Preferences, choose what a Capture keeps: the time before the press (what you just saw, the default), half before and half after, or the time after it.
- Press Capture. The camera's picture shows while the camera records in a loop; the status bar says how many frames and seconds its memory holds at this resolution and frame rate.
- Press Keep when you see it. With "around" or "after" the camera first records on for that share of its memory.
The recording opens in the main window like a video, with the slider on the frame of the press. Play it, mark a range with the Chopper, track it and export it as usual. The frames stay in the camera and are read as you look at them, so there is no waiting for a download.
A capture lives in the camera
It is gone when the camera is used again (AutoTrack, Live View, a CSR, another capture) or loses power. TraCell asks before that happens. Track or export what you need first.
Stop rules
The session stops by itself after a number of completely tracked cells, which is what a new session starts with, or when you press Stop. Other rules shows the rest: a number of partitions, frames or seconds. The rule is checked when a partition is done.
Saving results
- A session folder with a table per partition, a table of all cells and the settings used is always written, partition by partition as the session runs, so nothing is lost if the session ends early. Tables only; frames are never written unless you press Record.
- In a long session the oldest partitions leave the PC's memory: first their frames, then their trajectories. Their tables stay in the folder, and TraCell reads them from there when you select such a partition or export.
- Afterwards: in Trajectories, Open table and choose the folder's
session.jsonto load every partition as one table. A very long session (more than 500,000 rows) opens in parts; thetablesfolder holds one CSV per partition for your own analysis. - Cell crops: a small picture of every tracked cell, with background, without, or both. Crops make the session slower.
- Measure: values computed from the crops become columns of the tables: brightness, contrast and granularity computed by TraCell, or numbers computed by an external server that you run. Measuring runs behind the session and never holds the camera up.
- Record also saves each partition's raw frames as AVI. Save results > Record chooses how: Lossless
(FFV1), every pixel as the camera sent it (the default), or Compact (MJPEG), smaller and off by a few
levels per pixel. A lossless file of a session above 1000 fps says 1000 fps; the real rate is in
session.json.
During a session
While a session runs, the button that started it turns pink and reads Stop Tracking or Stop Recording: that is the only thing to press. The fields of this window and the Adjustment, Mask, Contours, Chopper and Tracker windows are grayed out until it ends; they belong to the running session. Stop Recording ends the session, tracking included. The Dashboard, the Activity window, the session folder and the viewer stay usable.
Live View is different: it is for looking and setting up, so everything stays open. Press AutoTrack, Record or Capture while it runs and TraCell stops the live view and starts what you pressed.
Changes to adjustment, mask, contours or tracker wait until the session stops, so every partition is processed the same way. Viewer: Live plays each partition as it is tracked; Partition stays on the one you pick by its ID, while new ones keep arriving in the list. Clear Memory frees the partitions TraCell holds in RAM; the camera's memory and the session folder are not touched. The Live Dashboard shows the cells as they come in.

The Live Activity window opens when a session starts (the Activity button brings it back if you close it). It shows what the session is doing as a flow: Record, Read out, Track and, when you use them, Save, Measure and Video. Each step shows how far it is and which partition it works on, and the bar on top is the way to the stop rule. Details opens the steps as a log with their times.