← Latest papers
🧬 biology

A Detection and Re-Identification-Based Individual Identification Approach for Flamingo Population Counting

This study proposes a novel approach for accurate flamingo population counting by combining YOLOv8m-based detection, HQ-SAM segmentation, and OSNet-based Re-Identification to uniquely identify individuals and prevent duplicate counts in video streams.

Original authors: Kadir KAYA¹, Ahmet BAYRAM², Hasan PAŞALI³

Published 2026-11-26
📖 6 min read🧠 Deep dive

Original authors: Kadir KAYA¹, Ahmet BAYRAM², Hasan PAŞALI³

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ⚕️ 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

Counting animals in the wild has long been a task of patience and guesswork. For decades, researchers have relied on human observers to scan landscapes, often from high vantage points, trying to tally individuals in a moving crowd. This method is not only exhausting and slow, but it also carries a risk of error; in a dense group, the same animal might be counted twice, or missed entirely. The challenge becomes even more difficult with species that look nearly identical to one another. When every member of a flock shares the same shape, color, and pattern, telling them apart is like trying to distinguish one grain of sand from another in a shifting dune. Yet, knowing exactly how many unique individuals exist in a population is vital for conservation. It helps scientists understand if a species is thriving or struggling, and whether their habitat is healthy enough to support them.

To solve this, a new approach has emerged that combines the eyes of a drone with the memory of a computer. Instead of just counting how many birds appear in a picture, this method attempts to recognize each bird as a distinct individual, ensuring that no one is counted twice. This is the core of a recent study focused on flamingos, a species that gathers in massive, shifting colonies that can number in the thousands. Because flamingos look so much alike, and because they often stand shoulder-to-shoulder in water that reflects the sky, traditional counting methods often fail. The researchers set out to build a system that could fly over these flocks, spot every bird, and then track each one to confirm its identity, effectively creating a census of unique individuals rather than just a snapshot of a crowd.

The team began by capturing video footage of flamingos in the İzmir Delta Wetland in Turkey, using a drone to fly at various heights above the water. They tested how the height of the drone affected the ability to see the birds. At lower altitudes, the birds appeared larger, but they were also packed so tightly together that their bodies overlapped, making it hard for the computer to tell where one bird ended and another began. As the drone climbed higher, the birds became smaller dots, but the gaps between them became clearer. The researchers found that flying at an altitude of 30 meters provided the best balance. At this height, the computer could see enough detail to identify the birds, while the increased distance reduced the confusion caused by overlapping bodies. Using a specific detection model, the system successfully identified flamingos with a high degree of accuracy, achieving a success rate of 96.4 percent in distinguishing the birds from the water and sky.

Once the system spotted a bird, the next step was to separate it from the background. The water surface often creates confusing reflections and ripples that can trick a computer into seeing a bird where there is none, or missing a bird hidden by a shadow. The researchers used a specialized tool to cut out the exact shape of each flamingo, creating a clean silhouette that removed the distracting water and sky. This step was crucial because the computer needed to focus only on the bird's form to recognize it. After isolating the birds, the system moved to the most difficult part of the task: re-identification. This is the process of recognizing that a bird seen in one frame of the video is the same bird seen a few seconds later in a different frame. Since flamingos lack unique markings like stripes or spots, the computer had to analyze subtle differences in their overall shape, the curve of their necks, and the texture of their feathers.

To test which computer brain was best at this task, the researchers compared four different deep learning methods, all originally designed to recognize people in security footage. They fed the system thousands of images of the isolated flamingos and asked it to match individuals across different moments in time. The results showed that one specific method, known as the Omni-Scale Network, was the most effective. When tested on images taken from the optimal 30-meter altitude, this system correctly identified the same flamingo as the top match in nearly 92 percent of cases. It was also able to find the correct bird within the top five guesses more than 93 percent of the time. This performance was significantly better than the other methods tested, proving that even without unique patterns, a computer can learn to distinguish between individuals if the viewing angle is consistent and the image is clear.

The study also revealed a surprising insight about how altitude affects the ability to recognize individuals. While it might seem logical that getting closer to the birds would provide better detail, the researchers found that the opposite was true in this crowded environment. At lower altitudes, the birds were so densely packed that their bodies obscured one another, making it impossible for the system to get a clear view of any single individual. By flying higher, the system gained a broader, more uniform view of the flock, which reduced the confusion caused by overlapping bodies and allowed for more accurate identification. This finding suggests that for counting animals in dense groups, a slightly wider perspective is often more valuable than a close-up view.

The final result of this work is a framework that can count a population of flamingos by tracking unique individuals rather than just tallying heads. By combining drone footage with advanced computer vision, the researchers demonstrated that it is possible to prevent the common error of double-counting the same animal. This approach offers a non-invasive way to monitor wildlife, avoiding the stress that physical tagging or close human presence can cause to the animals. While the study focused specifically on flamingos, the method provides a blueprint for counting other waterbirds that gather in large, indistinguishable groups. The researchers plan to refine this system further, testing how it performs under different weather conditions and with other species, with the ultimate goal of creating a real-time tool that can help conservationists manage and protect wildlife populations more effectively.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →