The Wild

Thermal Cameras for Wildlife on Railway Tracks

· 9 min read · Wildlife Watching and Outdoors

In this article
  1. Why Railways Need Wildlife Detection
  2. How Thermal Imaging Works in This Context
  3. Sensor Types and Placement Strategies
  4. Software and False Alarm Reduction
  5. Integration with Train Control and Driver Alerts
  6. Real-World Performance and Limitations
  7. Choosing a System for a Specific Railway
  8. Alternatives and Complementary Technologies
  9. Frequently Asked Questions

Thermal cameras and sensors detect wildlife on railway tracks by picking up the infrared heat emitted by an animal's body, converting that heat into a visible image or an automated alarm, even in complete darkness or heavy fog. These systems work because warm-blooded animals have a consistent temperature difference from the cool track bed and surrounding vegetation, allowing software to distinguish a deer or bear from a rock or shadow.

Why Railways Need Wildlife Detection

Collisions between trains and wildlife are a global problem, affecting both animal populations and railway operations. A single large animal like a moose or elk can derail a locomotive, while smaller animals cause delays, vehicle damage, and costly cleanup. Traditional methods—fencing, reflectors, and warning signs—are passive and often fail because animals learn to bypass them or because drivers cannot react in time at high speeds.

Thermal detection offers a proactive layer: it sees the animal before the train reaches it, giving the driver or an automatic system precious seconds to brake or sound a warning. Unlike visible-light cameras, thermal sensors do not need daylight, so they work 24/7, which is critical because many wildlife collisions happen at dawn, dusk, or night when animals are most active.

How Thermal Imaging Works in This Context

All objects above absolute zero emit infrared radiation, but warm-blooded animals emit far more than their surroundings. A thermal camera contains a microbolometer—a grid of tiny heat sensors that measures this radiation and assigns a brightness value to each pixel. Warmer objects appear brighter (white or yellow) and cooler objects darker (black or blue).

For railway use, the camera is mounted on a pole or gantry beside the track, angled to cover a specific section, often a crossing or a known animal corridor. The camera streams a continuous thermal video feed to a processing unit, which applies a detection algorithm. The algorithm looks for a blob of pixels with a temperature range typical of a living animal (roughly 30–40°C for mammals and birds) and a size and shape that matches a target species. When the algorithm confirms a detection, it triggers an alert—a flashing light at the crossing, a message to the train control center, or an automated horn.

Sensor Types and Placement Strategies

Thermal cameras are the most common sensor, but they are often paired with other technologies to reduce false alarms. A typical installation uses:

  • Fixed thermal cameras – mounted on masts, covering 50–200 meters of track depending on lens and terrain.
  • Pan-tilt-zoom (PTZ) thermal cameras – rotate to follow a detected animal, useful for wide areas or curved tracks.
  • Radar sensors – detect movement and speed, often used to confirm that a thermal blob is actually moving toward the track.
  • LIDAR (light detection and ranging) – measures distance and shape, helping to filter out birds or small rodents.
  • Acoustic sensors – pick up animal calls or hoof sounds, though they are less reliable in windy conditions.

Placement is critical. Cameras are usually positioned at a height of 4–6 meters to get a downward angle that reduces occlusion from vegetation. The detection zone is calibrated to cover the track ballast and a few meters on either side, where animals are most likely to step. In hilly or forested areas, multiple cameras are staggered to avoid blind spots.

Software and False Alarm Reduction

The heart of the system is the software that interprets thermal data. A raw thermal image is noisy and full of heat sources—sun-heated rails, exhaust from a passing train, or a warm puddle. To avoid constant false alarms, the software uses several layers of filtering:

  1. Temperature thresholding – only pixels within a specific thermal range are considered.
  2. Size filtering – the blob must be larger than a rabbit but smaller than a train.
  3. Shape analysis – the outline must resemble a quadruped or bird, not a long, narrow object.
  4. Motion tracking – the blob must move across frames in a way that suggests walking or running, not stationary heat.
  5. Contextual rules – ignore detections that occur only when a train is already passing, since the train's heat signature can confuse the system.

Despite these filters, false alarms still happen. A common issue is a warm engine block of a parked vehicle near the track, or a person walking along the right-of-way. To mitigate this, many systems use a "confirmation zone"—the alarm is only triggered if the animal crosses a virtual line close to the rail, not just anywhere in the camera's view.

Integration with Train Control and Driver Alerts

Detection alone is useless without a response. The most effective systems are integrated into the railway's signaling network. When a thermal camera detects an animal, it sends a signal to a local controller that can:

  • Activate flashing warning lights at a level crossing.
  • Send an alert to the train driver's cab display, showing a map with the animal's approximate location.
  • Trigger an audible warning horn at the site, which often scares the animal away.
  • In fully automated systems, initiate braking if the train is within a certain distance and speed.

In practice, most railways use the system as a driver advisory, not an automatic brake, because braking on a mainline can cause rear-end collisions with following trains. The driver receives the alert and decides whether to slow down or sound the horn. Some modern systems also transmit the thermal image to a central monitoring station, where a human operator verifies the detection before notifying trains—this reduces false alarms but adds a few seconds of delay.

Real-World Performance and Limitations

Thermal detection has proven effective in several pilot projects, but it is not a perfect solution. The main limitations are:

  • Weather extremes – heavy rain or snow can absorb infrared, reducing detection range. Fog is less of a problem for thermal than for visible light, but dense precipitation still degrades image quality.
  • Heat camouflage – on a hot summer day, the track bed can be warmer than the animal, making the animal appear as a cool spot, which some algorithms miss.
  • Small animals – a rabbit or hedgehog emits a small heat signature that may fall below the size threshold, so the system may ignore it, which is often acceptable since they rarely cause derailments.
  • Cost – high-resolution thermal cameras and processing units are expensive, so systems are typically deployed only at high-risk locations, such as known migration corridors or areas with a history of collisions.
  • Maintenance – cameras need regular cleaning to remove dirt, spider webs, or bird droppings that can obscure the lens.

Despite these challenges, thermal systems have been shown to reduce collisions by 50–80% in controlled trials, though exact numbers vary by site and species. The key is to combine thermal detection with physical barriers like fencing, so that the detection system handles the few animals that get through.

Choosing a System for a Specific Railway

Selecting the right thermal detection system involves several factors that railway operators must weigh:

  • Target species – a system designed for large moose may use a lower resolution camera, while one for small deer needs higher sensitivity.
  • Track speed – high-speed lines require longer detection distances (500+ meters) to give the driver enough time to react, while low-speed freight lines can work with shorter ranges.
  • Terrain and vegetation – open plains allow simpler cameras, while forested curves may need multiple units or a PTZ camera.
  • Power availability – remote sites may rely on solar panels and battery packs, which limits the camera's continuous operation.
  • Integration with existing signaling – older railways may lack the digital infrastructure to transmit alerts to trains, requiring a standalone system with local alarms.
  • Budget – a basic fixed thermal camera with simple software can cost a few thousand dollars per unit, while a full network with PTZ cameras, radar, and central monitoring can run into hundreds of thousands.

Operators often start with a pilot at one high-risk site, measure the false alarm rate and detection success over a year, then expand based on results.

Alternatives and Complementary Technologies

Thermal cameras are not the only option. Other detection methods include:

  • Visible-light cameras with AI – work only in daylight, but cheaper and can identify species.
  • Infrared break-beam sensors – a simple beam that is interrupted by a large animal, but they only cover a narrow point and cannot track movement.
  • Seismic sensors – buried along the track, they detect ground vibrations from footsteps, but they are prone to false alarms from trains and maintenance vehicles.
  • Wildlife fencing and underpasses – the most reliable long-term solution, but expensive to build and maintain.

In practice, thermal cameras are often used in combination with fencing: the fence guides animals to a crossing where the thermal system is installed, so the detection zone is concentrated and the false alarm rate is lower.

Frequently Asked Questions

Can thermal cameras see through trees or bushes?

No, thermal cameras cannot see through solid objects. They detect heat from surfaces, so a deer hidden behind a thick bush will not be visible. However, they can detect the heat radiating from the animal's body through thin vegetation, and the animal's movement often exposes it briefly. For this reason, cameras are placed to have a clear line of sight over the track and a few meters of cleared vegetation.

Do thermal cameras work in rain or snow?

They work in light rain and snow, but heavy precipitation can absorb infrared and reduce detection range. Fog is less of an issue than for visible-light cameras, but dense fog combined with rain can degrade performance. Most systems are designed to operate in typical weather, but extreme conditions may cause temporary loss of detection.

How far can a thermal camera detect an animal?

Detection range depends on the camera resolution, lens, and animal size. A typical fixed thermal camera with a 25mm lens can detect a deer-sized animal at 200–400 meters, while a larger moose may be detected at 500 meters. High-end PTZ cameras with telephoto lenses can reach over 1 kilometer, but they cover a narrower field of view.

Why don't railways just use fencing to keep animals off the tracks?

Fencing is effective but expensive and impractical in many areas. It requires continuous maintenance, can be damaged by falling trees or snowplows, and animals can dig under or jump over it. Fencing also blocks wildlife corridors, which can harm populations. Thermal detection is a complement, not a replacement, for fencing—it catches the animals that get through.

Do thermal cameras harm wildlife?

No, thermal cameras are passive sensors that only receive infrared radiation; they emit nothing. They do not affect animals in any way. However, the warning horns or flashing lights triggered by the system can startle animals, which is the intended effect to scare them off the track.

Can thermal detection be used for birds?

Yes, but it is less common because birds are small and fly, making them hard to distinguish from other moving objects. Some systems are specifically designed for large birds like eagles or herons near airports, but for railways, the focus is usually on mammals. Small birds rarely cause collisions that affect train safety.