how-to-quantify-swimming-activity-in-zebrafish-larvae-with-automated-analysis, how-to-quantify-swimming-activity-in-zebrafish-larvae-with-automated-analysis, /blog
Inquiry
how-to-quantify-swimming-activity-in-zebrafish-larvae-with-automated-analysis, how-to-quantify-swimming-activity-in-zebrafish-larvae-with-automated-analysis, 
Inquiry

How to quantify swimming activity in zebrafish larvae with automated analysis

2026/09/30

How to quantify swimming activity in zebrafish larvae with automated analysis

Why larval swimming activity is harder to quantify than it looks

A zebrafish larva is small, fast, and only a few millimeters long. Watching one swim across a well plate by eye tells you something is happening, but it does not give you a number. And numbers are what experiments need. Dose-response curves, treatment comparisons, and statistical tests all depend on turning behavior into a measurable quantity. Automated analysis is the tool that makes that possible.

The problem is that "swimming activity" is not a single thing. A larva that darts across a well and a larva that hovers with small movements are both active, but in different ways. A larva that stops moving entirely may be resting, stunned, or dead. Automated systems can measure all of these, but the measurement only makes sense if the analysis is designed around the biological question.

What automated tracking actually measures in a larval well

A typical automated analysis pipeline starts with video. The larva is recorded in a multiwell plate under controlled lighting. The software detects the larva in each frame, tracks its position over time, and computes a set of movement metrics. The most common ones are distance moved, average velocity, peak velocity, and duration of movement bursts.

  1. Total distance moved gives a broad measure of overall activity.

  2. Average velocity captures sustained swimming speed.

  3. Peak velocity highlights bursts and startle responses.

  4. Movement duration and frequency describe the temporal pattern.

  5. Immobility or freezing episodes flag reduced responsiveness.

Each of these metrics captures a different aspect of behavior. Total distance is easy to interpret but can be misleading if a larva moves in a tight circle. Peak velocity picks up brief events that average velocity smooths out. Choosing the right metric is part of the analysis design.

Setting up imaging conditions that support clean data

The quality of the analysis depends on the quality of the video. A few factors matter more than most people expect.

Lighting is at the top of the list. Uneven illumination can make one side of the plate brighter than the other, which affects how the software detects the larva. Reflections from the water surface can create false objects. A backlit or diffused light source usually produces the most consistent contrast.

Camera frame rate is another factor. A larva can move quickly, and a low frame rate will miss short bursts. A frame rate that is too high produces large files and may add noise. A practical starting point is a rate that captures several frames per second of movement. The exact value depends on the behavior being studied.

Temperature control matters for the same reason it matters in any larval assay. Movement speed is temperature dependent. A plate that sits at room temperature during recording may show different activity than one held at the standard rearing temperature.

Imaging factor Typical consideration Impact on data
Lighting Even, diffused Affects detection consistency
Frame rate Matched to behavior speed Missed bursts or extra noise
Camera resolution Enough for larva size Tracking precision
Temperature Stable during recording Movement speed
Plate type Consistent across groups Reflection and contrast

Distinguishing activity types in the analysis

Raw movement data is not the same as behavior. Two larvae can have the same total distance but very different movement patterns. One might swim smoothly around the well. The other might stay in one spot and twitch periodically. Automated analysis can separate these patterns if the right metrics are used.

Burst analysis is one approach. The software identifies periods of high acceleration and counts them. Startle responses appear as sharp bursts after a stimulus. Spontaneous bursts occur without an external trigger. Habituation, which is a decline in response over repeated stimuli, can also be quantified by tracking burst amplitude over time.

Another approach is zone-based analysis. The well is divided into zones, and the time spent in each zone is measured. Larvae that stay near the edge may be showing thigmotaxis. Larvae that explore the center may be showing more exploratory behavior. The two patterns are different even if total distance is similar.

Handling noise, occlusion, and other practical problems

Automated analysis is not magic. It has failure modes that show up in real experiments.

A larva that touches the well edge may be partially cut off in the frame, which confuses the tracking algorithm. A reflection may be detected as a second object. A larva that stops moving may be missed entirely if the detection threshold is set too high. These issues are common and have to be addressed.

  1. Use background subtraction to reduce false objects.

  2. Set detection thresholds based on pilot data, not guesswork.

  3. Review raw video for a subset of wells to confirm tracking quality.

  4. Exclude wells with obvious tracking failures from the analysis.

  5. Report the number of excluded wells in the methods.

Excluding data is a delicate topic. Throwing out wells that do not fit the expected pattern is a form of bias. Excluding wells because the tracking failed is a technical necessity. The distinction is important and should be documented clearly.

A field example from a facility running larval screens

A developmental neurotoxicity lab in southern China was screening a set of compounds for effects on larval swimming. The initial analysis used total distance moved as the primary metric. Some compounds appeared to increase activity, but the effect was inconsistent across replicates.

A closer look at the raw tracking data revealed that the "increased activity" was concentrated in short bursts near the well edge. Larvae were not swimming more overall. They were startling more often and hitting the wall. The total distance metric had merged two different behaviors into one number.

The lab added burst frequency and edge-time metrics to the analysis. The compounds that increased burst frequency were separated from those that increased exploratory swimming. The results became clearer, and the interpretation became more defensible. The change was not a new camera or a new algorithm. It was a better choice of metrics.

What automated analysis can and cannot tell you

Automated analysis is powerful, but it is not a complete picture. It measures movement. It does not measure motivation, sensory processing, or the internal state of the animal. A larva that does not move may be resting, sick, or unable to move due to a motor defect. The analysis cannot distinguish those without additional experiments.

It also depends on the quality of the assay design. A poorly designed plate layout, inconsistent lighting, or variable temperature will produce data that no analysis can fix. The automation amplifies whatever is already in the experiment, whether that is a real effect or a systematic bias.

Hunter Lab (Hunter) builds zebrafish laboratory equipment with attention to the imaging stability that automated larval analysis depends on. The manufacturing and quality control side supports the consistency that long-term screening programs require. For labs quantifying larval swimming activity, that kind of build discipline is part of the foundation.

Popular News

Hunter Laboratory Technology (Hangzhou) Co., Ltd. Completes First Official Southeast Asia Showcase at InaLab 2026 Jakarta, Chinese Zebrafish Lab Equipment Gains Global Recognition Overview of InaLab 2026 – The Most Influential Laboratory Instrument Exhibi

Hunter Laboratory Technology (Hangzhou) Co., Ltd. Completes First Official Southeast Asia Showcase at InaLab 2026 Jakarta, Chinese Zebrafish Lab Equipment Gains Global Recognition Overview of InaLab 2026 – The Most Influential Laboratory Instrument Exhibi

2026/08/07

From July 28 to July 30, 2026, the 4th Indonesia International Laboratory Equipment, Analytical Instruments & Services Exhibition (InaLab 2026) grandly opened at Jakarta International Expo Convention Center, a landmark professional event covering...

Hunter Co-Authors Chinese Group Standard for Zebrafish Housing Laboratory Construction

Hunter Co-Authors Chinese Group Standard for Zebrafish Housing Laboratory Construction

2026/07/05

Hunter Laboratory co-authored T/CALAS 126-2024, a Chinese standard for zebrafish housing laboratory construction, covering layout, systems, and operations.

Zebrafish Safety Screening Supports the Development of NMPA-Approved Adamgammadex Sodium Injection

Zebrafish Safety Screening Supports the Development of NMPA-Approved Adamgammadex Sodium Injection

2026/07/01

Hunter Laboratory's zebrafish safety screening identified safety differences during preclinical development of NMPA-approved Adamgammadex Sodium Injection.

Hunter Presents Zebrafish Rare Disease Models and AI Drug Screening Platform at Hope for Rare Science Conference

Hunter Presents Zebrafish Rare Disease Models and AI Drug Screening Platform at Hope for Rare Science Conference

2026/06/27

Hunter Laboratory presented its zebrafish rare disease model and AI drug screening platform at the Hope for Rare Science Conference, Shanghai 2026.

Hunter Zebrafish Laboratory Equipment Project Recognized at an Internationally Advanced Level

Hunter Zebrafish Laboratory Equipment Project Recognized at an Internationally Advanced Level

2025/08/11

Hunter Laboratory's zebrafish laboratory equipment was recognized at an internationally advanced level by a 7-member expert panel in Hangzhou, August 2025.

Related Insights

Explore more resources combining zebrafish equipment advances and laboratory best practices to broaden your research horizons.

Zebrafish Imaging Solutions

Zebrafish Imaging Solutions

Discover innovative tools that enhance zebrafish experiment efficiency and accuracy, supporting diverse applications across medical and cosmetic research.

Read More
Data Management in Labs

Data Management in Labs

Learn how digital platforms transform the management and traceability of experimental data, ensuring greater reliability for academia and health companies.

Learn More
Application in Drug Testing

Application in Drug Testing

See how zebrafish equipment is applied in the screening and evaluation processes of pharmaceuticals, advancing efficient pre-clinical research in laboratories.

View Details
how to quantify swimming activity in zebrafish larvae with automated analysis-1

Technical Support & Services

Comprehensive solutions for laboratory and industrial equipment, including rapid installation, calibration, remote troubleshooting, and on-site maintenance. Our specialists ensure seamless operation for research labs and commercial clients.

  • Installation & Training
  • Calibration Services
  • 24/7 Remote Support
  • On-site Maintenance
how to quantify swimming activity in zebrafish larvae with automated analysis-2

Get a Free Quote

Our representative will contact you soon.
Email
Mobile/WhatsApp
Name
Company Name
Message
0/1000