1
Two Novel BatCams for Censusing Small Colonies of Bats Thomas H. Kunz, Johnny C. Chau, Zheng Wu, Laura Hong, Jonathan D. Reichard, Margrit Betke, and Thomas D.C. Little Abstract Results and Discussion References Acknowledgments We developed two infrared BatCams capable of censusing emerging bats—a remote controlled, pan- zoom-tilt camera, and a fixed focal-length lens camera. The remote-controlled BatCam consists of a small, weatherized Internet camera connected to a local video server and gateway for Internet access. The server enables video recording at predetermined intervals corresponding to expected nightly emergence. Internet connectivity allows sampling the real-time video from off-site. A second BatCam mounted inside a small, weatherized, transparent Pelican case recorded data directly to a laptop computer. Using both BatCam’s, we successfully censused a small bat colony of little brown myotis (Myotis lucifugus) that emerged nightly through two small portals. Bats in each video frame were first detected using custom-designed computer vision algorithms using background modeling that first compared bats with an estimate of the background images. A second algorithm tracked each newly detected bat through the camera’s field of view. Advantages and disadvantages of each camera system are considered. Tracking Introduction We wish to thank Denis and Lois Melican, Moore State Park, Paxton, MA, and the MA Department of Environmental Conservation for their assistance and for allowing us access to the park facilities. Tim Murtha assisted with data analysis. This project was funded in part by the National Science Foundation and Boston University’s Center for Ecology and Conservation Biology. From management and conservation perspectives, it is essential to understand factors that may cause bat colonies and populations to vary seasonally and annually, and further to understand the processes that govern the regulation of long-term population trends (Kunz et al. in press). This latter goal can best be achieved if accurate and reliable census methods are developed and employed. In an effort to address this latter goal, we developed two automated methods for censusing small bat colonies that roost in buildings. These two methods hold promise for remotely censusing small bat colonies that roost in buildings, tree cavities, caves, and mines. BatCam Design and Implementation Figure 3. Two bats emerged from the beneath the eaves; blue and green rectangles bound boxes of the tracked bats; red rectangles are possible regions where bats appear in the first frame. The remote-controlled BatCam consists of a pan- zoom-tilt camera using an Internet or ‘IP’ based framework. A second, BatCam has a fixed focal- length lens and recorded data directly to a laptop computer (Figure 1). The IP camera was selected for its ability to stream digital video over an Internet connection. For maximum data rates and video quality we located a video data logger (server) near the camera. Video data were logged into the local video server and optionally streamed to browsers connected to the Internet (Figure 2). Betke, M., D.E. Hirsh, A. Bagchi, N.I. Hristov, N.C. Makris, and T.H. Kunz. 2007. Tracking large variable numbers of objects in clutter. Proceedings of the IEEE Computer Society June 2007. Conference on Computer Vision and Pattern Recognition, Minneapolis, Minnesota. Kunz, T.H., M. Betke, N.I. Hristov, and M. Vonhof. In press. Methods for assessing colony size, population size, and relative abundance of bats. In: Ecological and Behavioral Methods for the Study of Bats, 2 nd edition (T.H. Kunz and S. Parsons, eds.). Johns Hopkins University Press, Baltimore. Figure 2. Internet framework. We designed and evaluated two low-cost infrared BatCams for censusing a small maternity colony of little brown myotis (Myotis lucifugus) at Moore State Park, Paxton, MA. The colony roosts in a shed that was designed specifically to house bats. During warm months, the colony occupies modular crevices installed in the attic. Bats gain ingress and egress through a small window frame, and an open space beneath the eaves directly above the window. Study Site Methods Bats in each video frame were first detected by an algorithm using background modeling, in which an observed image frame was compared with an estimate of the background images without bats. Groups of pixels whose value deviated from the estimated background value above some threshold were considered as candidates for detectable bats. This analytical method is known as background subtraction in the computer vision literature (Betke et al. 2008). Detection Trackers (with different colored labels) were generated each time a different bat appeared in a frame for the first time (Figure 3). To associate this tracker to the bat in consecutive frames, we predicted a bat’s position in the current frame by using the speed computed in the previous frame, and assigned the tracker to the newly detected bat in the current frame based on the minimum distance between predicted and detected positions. The latter step was repeated until the detected bat moved out of the camera’s field of view. This tracking method is described as nearest- neighbor filtering in the computer vision literature (Betke et al. 2008). Censusing 0 2 4 6 8 10 12 14 16 18 20:31 20:32 20:33 20:34 20:36 20:37 20:38 20:39 20:41 20:42 20:43 20:44 20:46 20:47 20:48 20:49 20:51 20:52 Time (EDT) Bats per 15 Seconds 0 100 200 300 400 500 600 700 Total Census Figure 4. Emergence pattern and census of little brown myotis at Moore State Park, Paxton, MA (15 June 2008). Figure 1. A. Remote-controlled BatCam and infrared light mounted on side of shed (scale = 20 cm). B. Fixed focal-length BatCam (scale = 10 cm). B A A B C D Tracked bats were counted during ~30 minute emergence periods. The automated computer vision algorithm yielded estimates of ~600 bats on 13 June and ~700 bats on 15 June. The example of a nightly bat emergence (Figure 4), recorded every 15 seconds, also provides a cumulative count, or census. We also manually recorded emergence sequences by visually counting the bats in each video stream. Automated counts averaged ~5% higher than manual counts. The higher numbers counted using the automated tracking algorithm likely reflects the detection of flying insects in the field of view and some additional background noise that caused false positive detections. Further adjustments in threshold filtering are needed to correct for false positives. The remote-controlled BatCam, with a pan-zoom- tilt lens and an IP based framework has both advantages and disadvantages. The stationary BatCam, fixed focal-length lens, with data recorded directly to a laptop computer may provide the most reliable and consistent data for censusing in the absence of Internet services.

Two Novel BatCams for Censusing Small Colonies …Two Novel BatCams for Censusing Small Colonies of Bats Thomas H. Kunz, Johnny C. Chau, Zheng Wu, Laura Hong, Jonathan D. Reichard,

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Two Novel BatCams for Censusing Small Colonies …Two Novel BatCams for Censusing Small Colonies of Bats Thomas H. Kunz, Johnny C. Chau, Zheng Wu, Laura Hong, Jonathan D. Reichard,

Two Novel BatCams for Censusing Small Colonies of Bats

Thomas H. Kunz, Johnny C. Chau, Zheng Wu, Laura Hong, Jonathan D. Reichard,Margrit Betke, and Thomas D.C. Little

Abstract Results and Discussion

References

Acknowledgments

We developed two infrared BatCams capable ofcensusing emerging bats—a remote controlled, pan-zoom-tilt camera, and a fixed focal-length lens camera.The remote-controlled BatCam consists of a small,weatherized Internet camera connected to a localvideo server and gateway for Internet access. Theserver enables video recording at predeterminedintervals corresponding to expected nightly emergence.Internet connectivity allows sampling the real-timevideo from off-site. A second BatCam mounted inside asmall, weatherized, transparent Pelican case recordeddata directly to a laptop computer. Using bothBatCam’s, we successfully censused a small bat colonyof little brown myotis (Myotis lucifugus) that emergednightly through two small portals. Bats in each videoframe were first detected using custom-designedcomputer vision algorithms using background modelingthat first compared bats with an estimate of thebackground images. A second algorithm tracked eachnewly detected bat through the camera’s field of view.Advantages and disadvantages of each camera systemare considered.

Tracking

Introduction

We wish to thank Denis and Lois Melican, Moore State Park,Paxton, MA, and the MA Department of EnvironmentalConservation for their assistance and for allowing us access tothe park facilities. Tim Murtha assisted with data analysis. Thisproject was funded in part by the National Science Foundationand Boston University’s Center for Ecology and ConservationBiology.

From management and conservation perspectives, itis essential to understand factors that may cause batcolonies and populations to vary seasonally and annually,and further to understand the processes that governthe regulation of long-term population trends (Kunz etal. in press). This latter goal can best be achieved ifaccurate and reliable census methods are developedand employed. In an effort to address this latter goal,we developed two automated methods for censusingsmall bat colonies that roost in buildings. These twomethods hold promise for remotely censusing small batcolonies that roost in buildings, tree cavities, caves, andmines.

BatCam Design and ImplementationFigure 3. Two bats emerged from the beneath theeaves; blue and green rectangles bound boxes of thetracked bats; red rectangles are possible regionswhere bats appear in the first frame.The remote-controlled BatCam consists of a pan-

zoom-tilt camera using an Internet or ‘IP’ basedframework. A second, BatCam has a fixed focal-length lens and recorded data directly to a laptopcomputer (Figure 1).

The IP camera was selected for its ability tostream digital video over an Internet connection. Formaximum data rates and video quality we located avideo data logger (server) near the camera. Videodata were logged into the local video server andoptionally streamed to browsers connected to theInternet (Figure 2).

Betke, M., D.E. Hirsh, A. Bagchi, N.I. Hristov, N.C. Makris, andT.H. Kunz. 2007. Tracking large variable numbers of objects inclutter. Proceedings of the IEEE Computer Society June2007. Conference on Computer Vision and Pattern Recognition,Minneapolis, Minnesota.

Kunz, T.H., M. Betke, N.I. Hristov, and M. Vonhof. In press.Methods for assessing colony size, population size, and relativeabundance of bats. In: Ecological and Behavioral Methods forthe Study of Bats, 2nd edition (T.H. Kunz and S. Parsons, eds.).Johns Hopkins University Press, Baltimore.

Figure 2. Internet framework.

We designed and evaluated two low-cost infraredBatCams for censusing a small maternity colony oflittle brown myotis (Myotis lucifugus) at Moore StatePark, Paxton, MA. The colony roosts in a shed thatwas designed specifically to house bats. During warmmonths, the colony occupies modular crevices installedin the attic. Bats gain ingress and egress through asmall window frame, and an open space beneath theeaves directly above the window.

Study SiteMethods

• Bats in each video frame were first detected byan algorithm using background modeling, in which anobserved image frame was compared with anestimate of the background images without bats.• Groups of pixels whose value deviated from theestimated background value above some thresholdwere considered as candidates for detectable bats.• This analytical method is known as backgroundsubtraction in the computer vision literature (Betkeet al. 2008).

Detection

• Trackers (with different colored labels) weregenerated each time a different bat appeared in aframe for the first time (Figure 3).• To associate this tracker to the bat in consecutiveframes, we predicted a bat’s position in the currentframe by using the speed computed in the previousframe, and assigned the tracker to the newly detectedbat in the current frame based on the minimumdistance between predicted and detected positions.• The latter step was repeated until the detected batmoved out of the camera’s field of view.• This tracking method is described as nearest-neighbor filtering in the computer vision literature(Betke et al. 2008).

Censusing

0

2

4

6

8

10

12

14

16

18

20:3120:3220:3320:3420:3620:3720:3820:3920:4120:4220:4320:4420:4620:4720:4820:4920:5120:52

Time (EDT)

Bat

s p

er 1

5 S

eco

nd

s

0

100

200

300

400

500

600

700

To

tal C

ensu

s

Figure 4. Emergence pattern and census of little brownmyotis at Moore State Park, Paxton, MA (15 June 2008).

Figure 1. A. Remote-controlled BatCam and infraredlight mounted on side of shed (scale = 20 cm).B. Fixed focal-length BatCam (scale = 10 cm).

BA A B

C D

• Tracked bats were counted during ~30 minuteemergence periods.• The automated computer vision algorithm yieldedestimates of ~600 bats on 13 June and ~700 batson 15 June.• The example of a nightly bat emergence (Figure4), recorded every 15 seconds, also provides acumulative count, or census.• We also manually recorded emergence sequencesby visually counting the bats in each video stream.• Automated counts averaged ~5% higher thanmanual counts.• The higher numbers counted using the automatedtracking algorithm likely reflects the detection offlying insects in the field of view and someadditional background noise that caused falsepositive detections.• Further adjustments in threshold filtering areneeded to correct for false positives.• The remote-controlled BatCam, with a pan-zoom-tilt lens and an IP based framework has bothadvantages and disadvantages.• The stationary BatCam, fixed focal-length lens,with data recorded directly to a laptop computermay provide the most reliable and consistent datafor censusing in the absence of Internet services.