Problem

West of Coimbatore, the forest comes right down to the railway. Elephants use this ground to move between the Nilgiri hills and the Anamalai Hills, and the line from Coimbatore toward Kerala runs straight across their path.

Trains killed at least 11 elephants on the two tracks near Madukkarai between 2008 and 2021, Deccan Herald reported; the BBC, citing official data, also counted 11 deaths there. Across Tamil Nadu, 36 elephants died in train collisions in the decade to 2024. In 2021 the state’s high court ordered the forest department and the railways to stop the deaths.

The traffic is steady. About 66 long-distance passenger trains a week pass through the stretch, at an average of about 40 km an hour, and freight trains use the line too.

For years the answer was people on foot. Forest guards patrolled the tracks day and night, and barriers and warning signs went up. But at night, herds stepped out of thick cover with little warning, and guards often could not see them in time. Patrols had limits, Supriya Sahu, then secretary of the state forest department, told the BBC, and keeping elephants fully safe posed “significant challenges”.

AI solution

The department’s answer was a set of eyes that do not get tired. Along about 7 km of the two lines, it built 12 towers, each 12 to 15 meters tall, carrying 24 cameras between them.

The cameras see in two ways. Ordinary video works in daylight. Thermal imaging picks up body heat, so a warm elephant stands out against cool forest even in total darkness.

Software from Binomial Solutions, a technology company that has built wildlife detection systems in protected areas across India, watches the feeds. It uses machine learning: the program has learned from many examples what an animal looks like in the camera’s view, and it flags the shape when one appears.

When the cameras spot an elephant within 100 feet (about 30 meters) of the track, an alert reaches the control room, which is staffed around the clock. A person checks the picture first. If it is real, the message goes to the station master at the nearest station, who passes it to the drivers of approaching trains, known in India as loco pilots. They slow down or stop, while forest teams on the ground guide the herd across or back into the forest.

“Alerts are sent if any animal, not just elephants, is found nearing the track,” Manikandan, who works in the control room, told the BBC. Leopards, gaur (Indian bison), nilgai antelopes and deer have also been recorded on the line.

A view from a train window: green fields, palm trees and electric line poles stretch toward a misty forested hill, with the side of the coach on the right.
A train passing through Walayar forest on the railway between Coimbatore and Palakkad, on the Kerala side of the border near Madukkarai, in 2014, before the AI system. Photo: PP Yoonus, CC BY-SA 4.0, via Wikimedia Commons.

The system keeps learning as staff check its alerts, according to Binomial’s chief executive, Ravikant Singh. He says false alarms have dropped a lot over time, but no false alarm rate has been published.

Impact

The system began running in November 2023 and was officially launched in February 2024. It cost 72.4 million rupees (about $868,000), Sahu told the BBC. All the results below come from the department or from news outlets quoting it. None has been independently checked.

Within its first months, the cameras detected nearly 400 occasions when elephants approached the tracks, Sahu said in May 2024.

The headline result is about deaths. A case study published in September 2025 and a Deccan Herald report from December 2025 both said no elephant had died on the section since November 2023. In January 2026, Sahu, by then the state’s Additional Chief Secretary for Climate Change and Forests, described the result as “near-zero elephant deaths” in the area.

The number of safe crossings is harder to pin down. In August 2025, The Hindu, citing the Forest Department, reported about 2,800 safe crossings since February 2024, and separately more than 6,000 alerts about elephants near the tracks. Other reports give 6,592 crossings (September 2025), “nearly 6,000” (December 2025) and 1,698 (October 2026, with no start date), so some may be counting alerts rather than crossings.

The state is now copying the idea. In December 2025, the Gudalur forest division in the Nilgiris opened a command center with 46 AI cameras placed where elephants were seen over the past 10 years. That system works in a different setting, near villages rather than railways, and sends warnings by text message and through 24 loudspeakers near homes. There, the district forest officer said, the cameras send an alert directly when the AI is at least 92 percent sure it has seen an elephant; below that, staff check first. Response takes about 20 minutes, and the team wants to halve that within a year.

People

The system is people’s work as much as software. Around 25 forest staff keep it running, with four people watching the control room at all times. Four people from a local indigenous community were trained to maintain the equipment, and they also train other frontline staff. Train drivers say they now get real-time alerts about animals on the tracks, even at night, the BBC reported.

Supriya Sahu has been the project’s public voice in most coverage. N. Jayaraj, an officer in the Indian Forest Service, headed the team that built the system while he was the district forest officer, The Hindu reported, and led the work with Southern Railway, according to The Logical Indian. In November 2026 he was recognised for best use of technology in national awards for forest officers run by the Indian Forest Service Association and the publication Indian Masterminds. The BBC names Ashish Rajput as the project manager.

Ravikant Singh founded Binomial Solutions in 2009 with Raja Brijbhusan. Its “e-Eye” system won an award in 2018 in the Wildlife Crime Tech Challenge, a competition run by USAID with the Smithsonian, National Geographic and TRAFFIC, a wildlife trade monitoring group.

Why it matters

Elephants and trains share ground across much of India, and a single collision can kill an elephant. Madukkarai shows a way to keep both moving: cameras that see in the dark, and people who check each alert and pick up the phone. The early record is encouraging, and a published count of crossings and false alarms would show other states what they can expect.

What we could not confirm (9)

  • One settled count of safe elephant crossings. The Forest Department figure reported by The Hindu is about 2,800 (August 2025, since February 2024), with more than 6,000 elephant alerts. Other reports give 6,592 (September 2025), “nearly 6,000” in two years (December 2025) and 1,698 (October 2026, no start date). We could not find a newer department figure or the department’s own published report.
  • Whether deaths are exactly zero. Two 2025 sources say no elephant has died on the section since November 2023; the senior official said “near-zero” in January 2026.
  • How often the cameras raise false alarms, or how accurate they are at Madukkarai. Only a general statement from the company that false alarms have fallen.
  • Any independent evaluation of the system.
  • The exact length of track covered. Sources give 7.05 km, about 7 km, 9 km and 13 km; the 13 km figure appears to describe the wider railway section.
  • The exact name of N. Jayaraj’s 2026 award. The Hindu says he was “recognised” for best use of technology; The Logical Indian had reported his nomination for the Eco Warrior Awards 2026 in that category.
  • The statewide figure for elephant deaths on Tamil Nadu railways. The BBC cites official data of 36 deaths in the decade to 2024; the 2025 case study gives 6 for 2016 to 2022.
  • The views of train crews and nearby villagers, beyond a general line in the BBC report.
  • Whether the plan, reported by the BBC in 2024, to expand to five other areas of Tamil Nadu has gone ahead, apart from the Nilgiris.

FAQs (5)

How does the AI system detect elephants near the railway?

Thermal and regular cameras on 12 towers watch about 7 km of track near Madukkarai. Machine learning software recognizes animals in the video, and when an elephant comes within 100 feet of the track, staff check the image and alert train drivers.

Has it stopped elephant deaths?

The department and news reports say no elephant died on the stretch from November 2023 to at least December 2025. In January 2026 the senior official called it "near-zero". At least 11 elephants died there between 2008 and 2021.

Does the AI stop the trains by itself?

No. People do. Control room staff confirm each alert and pass it through the station master to the train driver, who slows or stops. Forest teams then guide the elephants away.

How much did it cost?

About 72.4 million rupees (around $868,000), according to the Tamil Nadu forest administration in 2024.

Is it being used anywhere else?

Yes. In December 2025 the Gudalur forest division in the Nilgiris opened a 46-camera AI system that warns villagers about elephants by text message and loudspeaker.

Sources (7)

BBC News (BBC Tamil), 'Tamil Nadu: These elephants are dying on rail tracks - can AI save them?', S Prasanth, 2024-05-21

Transport Ecology, 'Use of sensor cameras in detecting wildlife near railway lines to prevent Train-Wildlife Collision (TWC) in Tamil Nadu, India', Pramod Neupane (Amity University), 2025-09-30

Deccan Herald, 'Tamil Nadu: AI intervention to address human-elephant conflict in Nilgiris', ETB Sivapriyan, 2025-12-25

DT Next (PTI), 'Tamil Nadu has successfully deployed AI tools to prevent human-animal conflicts, says official', 2026-01-02

The Hindu, 'AI-based warning system helped 2,800 safe crossings of elephants through railway tracks near Coimbatore', Wilson Thomas, 2025-08-11

The Hindu, 'Tamil Nadu's wildlife conservation initiatives against country-made guns, on AI-based elephant warning system win awards', B. Aravind Kumar, 2026-11-05

The Logical Indian, 'How IFS Officer N Jayaraj Uses AI Surveillance To Protect Elephants In Tamil Nadu', Muizz Ahmed Zaidi, 2026-10-01

Fact-checked against sources on November 11, 2026. Spot an error? Tell us.

This story supports