Interactive camera trap lab · Field biologist mode

Camera Trap Detective: how do scientists count animals nobody sees?

Strap each camera trap to a tree, then wait 42 nights. After that, sort the infrared photos and tell quolls apart by their spots. Finally, use capture-recapture to estimate the population.

By Cesar Medina, conservation biologist · Built from peer-reviewed wildlife survey methods

Spotted-tailed quoll, the animal this camera trap survey counts
1 PlanPlace 10 trail cameras
Bare-nosed wombat, one of the animals the trail cameras photograph
2 SortName what walked past
Red fox, an introduced predator detected by wildlife cameras
3 CountCapture-recapture maths
Long-nosed bandicoot, a nocturnal mammal recorded in the survey
4 ReportCompare with the truth

Short answer: A camera trap is a camera that fires by itself when an animal passes. Scientists then use the photos to name species, recognise individuals and estimate numbers.

173individual quolls identified by spot pattern in one NSW study
0.13 to 0.66quolls per km² in that study
7×higher feral cat detection on roads than off roads, in one Victorian study
44%more sites occupied by toads than raw counts showed, once missed detections were modelled

What is a camera trap?

A camera trap, or trail camera, is a weatherproof camera strapped to a tree or post. Nobody presses the button. Instead, the animal does.

Most models use a passive infrared sensor. Every surface gives off infrared radiation, so the sensor watches for a rapid change in it. When a warm animal moves across a cooler background, the camera fires.

At night, the camera lights the scene with infrared LEDs. People cannot see that flash, so the photos come out in black and white. However, the cameras are not perfectly hidden. Many mammals can hear them, and some can also see the infrared glow.

The sensor makes mistakes too. For example, sun-warmed plants swaying in wind can trigger it. An animal can also pass without triggering it. As a result, every survey deals with both problems.

How do scientists count animals with camera trap photos?

The tool above follows the real workflow. In fact, each step answers one question.

Where do I put cameras?

On the routes animals use, such as trails, logs, creek lines and rock ledges. Spacing also matters.

What walked past?

People, and now AI models, tag every photo with a species. Empty frames get tagged as well.

Who is it?

Some species carry natural marks. In that case, stripes, spots and scars work like a name tag.

How many are there?

Capture-recapture then turns repeat sightings of known individuals into a population estimate.

Where do they live?

Spatial models use camera locations to estimate density, so you get animals per square kilometre.

What about plain animals?

When a species has no marks, occupancy models estimate the share of sites it uses.

Recognising individuals in camera trap photos

In a 1995 paper, Ullas Karanth used camera-trap photos of tigers in Nagarahole, India. Stripe patterns told the tigers apart. He then applied capture-recapture models to the photos. Since then, that approach has become standard for tigers and leopards.

Australia also has its own spotted example. The spotted-tailed quoll is the largest marsupial carnivore on the mainland. Each quoll carries a unique pattern of white spots. So researchers in New South Wales and Queensland use those spots to identify individuals.

For example, one study in the Hunter region of NSW identified 173 quolls this way. Each camera faced a large log, with a canister of chicken necks as a lure. Cameras sat at least 500 metres apart, and surveys ran for 42 nights. The tool copies that design.

Feral cats can be identified by coat markings too. However, it is harder. Plain black cats carry no pattern, and observers do not always agree.

In the tool, quoll coats are illustrations. The code adds extra spots so every simulated quoll is unique. Still, they are not photos of real quolls. The left and right sides differ, as they do in spotted and striped animals generally.

Capture recapture: the Lincoln-Petersen estimator

Capture-recapture is also called mark and recapture. The simplest version needs two sessions.

  1. First, catch some animals, mark them and let them go. Call that number n1.
  2. Later, catch animals again. Call that number n2.
  3. Finally, count how many in session two already carry a mark. Call that m.
N = (n1 × n2) ÷ mIf a quarter of session two is marked, you marked about a quarter of the population.

With cameras, however, nobody handles the animal. Instead, its own spots are the mark, and a photo is the capture.

Small samples bias the formula. So ecologists often use Chapman’s version: (n1 + 1)(n2 + 1) ÷ (m + 1) − 1.

The assumptions

  • The population is closed, so nothing is born, dies, arrives or leaves during the survey.
  • Every animal also has the same chance of capture.
  • Finally, marks are never lost or misread.

But wild animals break these rules. For example, some individuals avoid cameras while others love the bait. Animals at the edge of the study area also wander in and out.

Why real camera trap studies use spatial capture-recapture

Lincoln-Petersen gives a number of animals. However, it does not say what area they live in. Without an area, you cannot work out density.

Spatial capture-recapture solves this because it uses where each individual was photographed. The model assumes each animal has a home-range centre. Detection becomes less likely as a camera sits farther from that centre. From that pattern, the model then estimates density directly.

Every estimate also comes with uncertainty. For instance, the quoll study reported ranges, not single numbers. One survey gave 0.13 quolls per square kilometre, with a 95% interval of 0.08 to 0.22.

The tool runs a small spatial model in your browser. It shows the middle estimate only, while research software also reports the uncertainty.

Occupancy: counting without telling animals apart

Most species have no natural marks. For example, one fox looks like another. So for them, biologists ask a different question: what share of sites does the species use?

The catch is imperfect detection. If a camera never sees a species, that does not prove it is absent. In 2002, Darryl MacKenzie and colleagues published a model that deals with this. It uses repeat surveys at each site to estimate the chance of missing the species.

Their example used frog and toad surveys at 32 wetlands. According to the model, American toads occupied 49% of sites. That was 44% higher than the raw share of sites with a detection.

Wildlife survey methods compared

MethodNeedsGives youMain weakness
Lincoln-PetersenMarked individuals, two sessionsNumber of animalsStrict assumptions, no area
Spatial capture-recaptureMarked individuals, camera locationsDensity per km²Needs repeat photos at several cameras
OccupancyDetections at repeat visitsShare of sites usedDoes not count animals

Where to put a camera trap

  • Roads and trails: predators use them a lot. In one south-eastern Australian reserve, on-road detectability was seven times higher for cats. It was also three times higher for foxes.
  • Logs and rocks: spotted-tailed quolls den in hollow logs and rock crevices. They also leave shared latrines on flat rocks and along creeks.
  • Spacing: space cameras to match home ranges. For example, female quoll ranges in one NSW study averaged 244 hectares, while male ranges averaged 992 hectares.

Animal signs help you choose, too. For instance, quoll scats are dark, twisted and often full of fur or beetle shell. Wombat scats, on the other hand, are cubes. You can also practise reading footprints in Animal Tracks.

My first camera trap: a desert in Baja California

I have only set camera traps as a student. The main time was a field trip during my bachelor’s degree in Mexico.

First, we went to the desert near San Quintín, in Baja California. There, the conservation group Terra Peninsular showed us how they sample wildlife with camera traps. Then we set the cameras ourselves and followed their method.

A student fixes a camera trap to a metal stake in the desert near San Quintin, Baja California
A classmate sets a camera trap on our field trip near San Quintín, Baja California.

The goal was to photograph the San Quintín kangaroo rat. Nobody had recorded this small rodent since 1986. Then, in 2017, researchers found it again.

A camouflaged camera trap on a short stake, held in place by rocks in a dry desert wash in Baja California
The finished set-up: a camera on a low stake, braced with rocks, aimed along the ground.

The biologist who worked there also told us about a risk I had not considered. In remote country, you can meet people who do not like cameras or strange equipment nearby. So he always stayed careful.

Later, on another trip in Tlaxcala, we set cameras for an ecology project. This time, we hoped to photograph rodents found only in that region.

That is the limit of my camera-trap experience. I learned the methods, but I have never run a camera survey as a job.

My later work used other tools. For example, I spent about two years as a field ecologist around Sydney. Then, at a drone startup, I identified masked lapwings in aerial images. It felt like sorting camera-trap photos, because you stare at a blurry shape and decide what it is.

Australian camera trap data

Thousands of Australian projects now use camera traps. The Wildlife Observatory of Australia, WildObs, is a national platform for that data. It also uses AI models trained on Australian species to speed up photo sorting. After that, verified images are shared through the Atlas of Living Australia.

What is real and what is simulated

  • Real: the survey design, the formulas and the published numbers quoted on this page.
  • Simulated: the forest, the animals’ positions, the detection chances and every photo.
  • Illustrated: the map, the animal cut-outs, the forest backdrops and each quoll’s spot pattern.

Keep exploring

Camera trap FAQ: counting wildlife

What is a camera trap?

A camera trap takes photos by itself when its sensor detects an animal. So scientists can study wildlife without being there.

How do camera traps work at night?

The sensor detects a warm animal moving against a cooler background. Then the camera lights the scene with infrared LEDs that people cannot see. As a result, night photos are black and white.

What is capture-recapture?

It is a way to estimate population size. First, you mark some animals. Later, you sample again and count how many carry marks. The share of marked animals then tells you the total.

What is the Lincoln-Petersen formula?

N equals n1 times n2, divided by m. Here, n1 is marked in session one, and n2 is caught in session two. Then m is how many were already marked.

Is capture recapture the same as mark and recapture?

Yes, they are two names for the same family of methods. With camera traps, however, the animal’s natural markings replace a physical mark.

How do scientists tell individual animals apart in photos?

They compare natural markings across photos. For example, tigers have unique stripes, while spotted-tailed quolls have unique spot patterns.

Why do camera traps take empty photos?

The sensor reacts to moving heat, so sun-warmed plants swaying in wind can trigger it. Fast animals can also leave the frame before the camera fires.

How do scientists count animals that all look the same?

They often use occupancy models instead. These estimate the share of sites a species uses. Repeat surveys also show how often the species is missed.

Is Camera Trap Detective free?

Yes. It is free and runs in your browser, so you do not need an account.

References

How a camera trap works

  • Welbourne DJ, Claridge AW, Paull DJ, Lambert A (2016) How do passive infrared triggered camera traps operate and why does it matter, Remote Sensing in Ecology and Conservation 2(2): 77–83, doi:10.1002/rse2.20
  • Meek PD, Ballard G-A, Fleming PJS, Schaefer M, Williams W, Falzon G (2014) Camera traps can be heard and seen by animals, PLoS ONE 9(10): e110832, doi:10.1371/journal.pone.0110832
  • Geyle HM, Stevens M, Duffy R and others (2020) Evaluation of camera placement for detection of free-ranging carnivores, Ecological Solutions and Evidence 1(1): e12018, doi:10.1002/2688-8319.12018
  • Wildlife Observatory of Australia (WildObs), with TERN, ARDC, QCIF and the Atlas of Living Australia

Individual identification

  • Karanth KU (1995) Estimating tiger Panthera tigris populations from camera-trap data using capture-recapture models, Biological Conservation 71(3): 333–338, doi:10.1016/0006-3207(94)00057-W
  • Karanth KU, Nichols JD (1998) Estimation of tiger densities in India using photographic captures and recaptures, Ecology 79(8): 2852
  • Rowland J, Hoskin CJ, Burnett S (2020) Camera traps are an effective method for identifying individuals and determining the sex of spotted-tailed quolls, Australian Mammalogy 42(3): 349–356, doi:10.1071/AM19017
  • Hohnen R, Ashby J, Tuft K, McGregor H (2013) Individual identification of northern quolls using remote cameras, Australian Mammalogy 35(2): 131–135
  • Observer differences in individual identification of feral cats from camera trap images, Australian Mammalogy, CSIRO Publishing, paper AM21030

Spotted-tailed quolls and other species

  • Henderson T, Fancourt BA, Rajaratnam R and others (2022) Density estimates reveal that fragmented landscapes provide important habitat for conserving an endangered mesopredator, the spotted-tailed quoll, Scientific Reports 12: 12688, doi:10.1038/s41598-022-16982-x
  • Claridge AW, Paull D, Dawson J and others (2005) Home range of the spotted-tailed quoll, a marsupial carnivore, in a rainshadow woodland, Wildlife Research 32(1): 7–14, doi:10.1071/WR04031
  • Körtner G, Holznagel N, Fleming PJS, Ballard G (2016) Home range and activity patterns measured with GPS collars in spotted-tailed quolls, Australian Journal of Zoology 63(6): 424
  • NSW Government, Spotted-tailed Quoll threatened species profile and the fact sheet on identifying quoll den and latrine sites
  • Yang PJ, Lee AB, Chan M and others (2021) Intestines of non-uniform stiffness mold the corners of wombat feces, Soft Matter 17: 475–488, doi:10.1039/D0SM01230K
  • San Diego Natural History Museum (2018) Museum researchers rediscover animal not seen in 30 years, press release on the San Quintín kangaroo rat with Terra Peninsular

Statistics and survey methods

  • Chapman DG (1951) Some properties of the hypergeometric distribution with applications to zoological sample censuses, University of California Publications in Statistics 1: 131–160
  • Efford M (2004) Density estimation in live-trapping studies, Oikos 106(3): 598–610
  • Borchers DL, Efford MG (2008) Spatially explicit maximum likelihood methods for capture-recapture studies, Biometrics 64
  • Royle JA, Chandler RB, Sollmann R, Gardner B (2014) Spatial Capture-Recapture, Academic Press
  • MacKenzie DI, Nichols JD, Lachman GB and others (2002) Estimating site occupancy rates when detection probabilities are less than one, Ecology 83(8): 2248–2255

Camera Trap Detective is a teaching simulation. The forest and its animals are invented, but the methods and quoted figures come from the sources above.