Rebuilding camera-trap detection counts from a corridor study's abundance index

A 2025 camera-trap study of three wildlife underpasses at Rajaji National Park publishes only its abundance index. fibub's Camera-trap tagger turns that index back into detection counts, and finds the forest column's effort does not match.

Camera-trap papers almost always publish an index, not the counts behind it. The usual index is the Relative Abundance Index (RAI): the number of independent detections of a species divided by the survey effort in trap nights. Divide by the same effort, and the counts can be put back: an index printed to two decimals, multiplied by the stated trap nights, lands on a whole number if, and only if, the effort in the table is the effort that was used. A 2025 study in the Journal of Threatened Taxa of three wildlife underpasses around Rajaji National Park, in Uttarakhand, India, gives us a clean test, because it prints its index for 19 rows and four survey units but no detection counts at all. This article does that arithmetic with the maths behind fibub’s camera-trap tagger, recovers every count, and finds that three of the four columns check out exactly while the fourth does not. For the steps after an index, try the occupancy estimator and the habitat connectivity analyser analyser.

The paper in brief

Three underpasses were built in 2021 under roads and a railway that cut Rajaji National Park’s forest into pieces: Laltappar, Teenpani and Chilla-Motichur. The authors set 64 motion-triggered cameras in the corridors and in seven nearby forest beats through 2022, for 8,198 trap nights in total, and treated photos more than a minute apart as separate events.

They recorded 17 wild species in the forest and nine inside the corridors. Wild boar and sambar were photographed most often; the Teenpani corridor had the highest index of all. Daily activity shifted between forest and corridor: elephants, active by day in the forest, used the corridors mostly at night, and human traffic through the corridors (overwhelmingly by day) overlapped strongly with chital and much less with leopards. The paper’s conclusion is that the underpasses are used, but that they carry far less wildlife than the forest and a great deal of human and livestock traffic.

Checked with the tools

The tool’s summary gives, for each species, independent detections, animals, the stations it was seen at, naive occupancy and RAI as detections per 100 trap nights (the paper uses 1,000, so our numbers are a tenth of the paper’s).

Step 1: recover the counts. For each column we multiplied each published index by the column’s trap nights and looked at how far the result sits from a whole number. Because the index is printed to two decimals, a genuine whole count can miss by at most 0.005 × N / 1000, which is 0.008 detections at Laltappar and 0.022 at Chilla-Motichur. Laltappar, Teenpani and Chilla-Motichur all come in under that limit, so their counts are recovered exactly: 1,656, 1,184 and 4,485 trap nights are also the smallest efforts that work, which is strong evidence we have the right denominators.

Unit Trap nights (paper) Wild detections (recovered) Livestock Human Wild species
Laltappar 1,656 328 658 1,246 7
Teenpani 1,184 441 395 30,896 6
Chilla-Motichur 4,485 199 487 10,589 7
Forest beats 873 (does not fit) 1,648 at 465 nights 247 96 17

Feeding those counts back through the tool’s detections and summarise reproduces all 45 published index values to the last decimal (largest difference 0.00). Teenpani’s human figure is the one to sit with: 30,896 human detections in 1,184 trap nights, 26 a night, against 441 detections of wild animals.

Step 2: the forest column does not fit its effort. With the stated 873 trap nights, the worst row misses a whole count by 0.468 detections, over a hundred times the rounding limit. Searching every effort from 1 to 6,000 trap nights, the smallest that works is 465 (and then its multiples, 930, 1,395, 1,860). At 465 nights every one of the 19 forest values is a whole count to within 0.002. The forest beats in the paper’s own Table 1 add up to 873 camera-days, so either the index column was computed on a subset of the effort, or 873 is the wrong total. Figure 2 shows the mismatch.

Which effort fits the published index?Which effort fits the published index?02.557.51012.52004006008001e+3Assumed trap nights for the forest columnWorst miss ÷ rounding limitwhole counts possible below here465 fits873 statedfibub.com
Figure 2. How far the forest column of the paper’s index table is from whole detection counts, for each assumed survey effort. Zero means every one of the 19 published values is exactly a whole number of detections per 1000 trap nights.

Step 3: does the paper’s conclusion survive? Yes, comfortably. Wild detections per 100 trap nights come to 13.2 across the three corridors together (968 detections in 7,325 trap nights). The forest beats give 354.4 per 100 at 465 nights, or 188.8 per 100 if the full 873 is used instead. Either way the forest is an order of magnitude richer than the corridors, which is what the authors conclude. Only the size of the gap moves, and that matters if anyone reuses these numbers as a baseline for later monitoring.

Detections per 100 trap nights, rebuilt from the paperDetections per 100 trap nights, rebuilt from the paper0.1110100Species (in the paper’s order)RAI (per 100 trap nights)Forest beatsThree corridors togetherfibub.com
Figure 1. Relative abundance index per 100 trap nights for every wild species in the paper’s Table 2, worked out by the Camera-trap tagger’s maths from detection counts rebuilt from that table. Left to right: barking deer, chital, sambar, nilgai, elephant, wild boar, macaque, langur, hare, porcupine, peafowl, pangolin, leopard, tiger, hyena, jackal, civet. Log scale.
Check Paper Camera-trap tagger
Sambar, Teenpani 123.31 per 1,000 nights 146 detections, 12.33 per 100 nights
Wild boar, Teenpani 227.20 per 1,000 269 detections, 22.72 per 100
Leopard, three corridors 12.08, 15.20, 4.01 per 1,000 20, 18 and 18 detections
Chital, forest 1,363.44 per 1,000 634 detections, but only at 465 trap nights
Smallest effort that fits the column 1,656 / 1,184 / 4,485 / 873 1,656 / 1,184 / 4,485 / 465

How we made the graphs

Everything comes from scripts/blog-figures/wildlife-corridor-camera-trap-relative-abundance-rajaji.mjs in fibub’s public code. It calls detections and summarise from src/lib/sci/camtrap.ts, the maths behind the camera-trap tagger.

The trap nights, camera counts and all 76 index values come from the paper’s Tables 1 and 2. The detection counts are recovered, not published. To feed them to the tool we rebuilt a photo set that carries exactly those counts: each detection is two photos 20 seconds apart, with detections an hour apart, so the tool’s 30-minute independence rule finds one detection per burst. The timestamps themselves are our invention and carry no information; the paper gives activity only as overlap coefficients, so the tool’s activity-by-hour output is not used here. Treating each survey unit as one station is also our choice: per-camera counts are not published, so naive occupancy here means “share of the four units”, not of the 64 cameras.

How we test the maths

tests/sci.mjs runs tests/sci-tools/camera-trap-tagger.mjs on every change to fibub:

  • On 123 made-up records, the independence rule must find 54 detections at a 30-minute gap from the last photo, 65 from the first photo of the detection, 50 at 60 minutes and 102 at 5 minutes, with the same photos and animal count per detection as the same rules written in pandas, and the same detections, animals, stations, RAI, naive occupancy and activity-by-hour table.
  • The EXIF time reader must agree field for field with exifread 3 and Pillow on JPEGs with little-endian, big-endian, IFD0-only and missing EXIF blocks.
  • With zero trap nights the RAI must be “not a number” rather than infinity.
  • New with this article: rebuilt photo sets for the paper’s four units must give back all 45 published index values exactly, and the forest column must be reproducible at 465 trap nights but not at 873.

Check it yourself

On the camera-trap tagger page, no files needed:

  1. In the Photos card, press Use the example. It loads 178 made-up photos at three stations, already tagged.
  2. Set Independence interval (minutes) to 30 and leave Interval counted from on The last photo.
  3. The Summary table reads Deer: 23 detections, 48 animals, 3 of 3 stations, naive occupancy 1.00, RAI 57.50, and Badger: 6, 9, 2 of 3, 0.67, 15.00. The totals are 70 detections over 40 trap nights.
  4. Under Trap-nights per station, change Camera C from 12 to 100. Nothing about the photos changes, but Deer’s RAI falls to 17.97: the index is only as good as the effort you divide by. That is the arithmetic our forest-column test runs backwards.
  5. Set Independence interval (minutes) to 5: Fox goes from 17 detections to 18, RAI 42.50 to 45.00. The independence rule is part of the index, so papers that compare indices must share it.

What researchers can use it for

  • Audit a published index before reusing it: multiply by the stated effort and check you land on whole numbers, as we did here.
  • Tag your own survey in the browser, with keyboard species keys, and get detections, animals, RAI and naive occupancy without uploading photos anywhere.
  • Report the independence interval with every index, and show how much the index moves between 5, 30 and 60 minutes.
  • Separate human and livestock traffic from wildlife in the same table, which is what makes a corridor study readable.
  • Carry on to occupancy: the occupancy estimator turns per-station detection histories into a detection-corrected occupancy, and the habitat connectivity analyser analyser puts the corridors themselves on a map.

The fine print

  • The detection counts here are recovered from the published index, not taken from the paper. They are whole-number solutions, and the three corridor columns have only one plausible solution each, but they are still inferred.
  • Our photo timestamps are invented to drive the tool’s independence rule. No activity-pattern result in this article comes from them.
  • The 465-trap-night finding is arithmetic about the paper’s own table, not a claim about the fieldwork. Any multiple of 465 fits equally well; 465 is the smallest.
  • The paper also notes two internal inconsistencies of its own: its methods mention eight forest beats where Table 1 lists seven, and the Chilla-Motichur corridor is described as 3 km long in the introduction and 900 m in the methods.
  • RAI is an index of photographic rate, not a density. Species differ in how readily they trip a camera, so indices compare places for one species far better than they compare species.

Sources

  • Verma, N., Badola, S. and Mondol, S. (2025), Evaluating wildlife activity and corridor functionality: a study of underpasses in and around Rajaji National Park, India, Journal of Threatened Taxa 17(4): 26780-26788, doi:10.11609/jott.9621.17.4.26780-26788. Licence CC BY 4.0, checked on the journal's article page and in the Crossref record, 2026-11-24. Values used here: 64 motion-triggered cameras; 8,198 trap nights in all; Laltappar 8 cameras and 1,656 trap nights, Teenpani 8 and 1,184, Chilla-Motichur 24 and 4,485, seven forest beats 24 and 873; a one-minute interval between photos of the same event; the Relative Abundance Index defined as independent detections per 1,000 trap nights, and its 19 rows (17 wild species, livestock, humans) for the four units; 17 wild species in the forest and nine in the corridors; activity overlap values 0.25 to 0.71.
  • Relative abundance indices from camera traps, and their dependence on effort: O'Brien, T. G., Kinnaird, M. F. and Wibisono, H. T. (2003), Animal Conservation 6: 131-139 (method and definition only).

If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.

Tools in this article

Read next