Needle in a haystack: towards the use of machine learning to detect Texas tortoises in large datasets

Authors

  • Jacquelyn M. Tleimat Department of Life Sciences, Texas A&M University-Corpus Christi, Corpus Christi, Texas 78412, USA Author https://orcid.org/0000-0003-0666-1451
  • Evan Krell Department of Computer Sciences, Texas A&M University-Corpus Christi, Corpus Christi, Texas 78412, USA Author
  • Shawn F. McCracken Department of Computer Sciences, Texas A&M University-Corpus Christi, Corpus Christi, Texas 78412, USA Author https://orcid.org/0000-0001-6455-537X

Keywords:

Trail camera, instance segmentation, Gopherus berlandieri, Testudinidae, image recognition, R-CNN

Abstract

Texas tortoises (Gopherus berlandieri) are an elusive reptile native to south-central Texas and northern Mexico. Unlike their congenerics in North America, the Texas tortoise does not create a conspicuous burrow that can be monitored. Instead, they create a shallow depression (known as a pallet) often in thick vegetation that obscures the tortoise from a surveyor’s view. Camera traps provide an alternative to visual encounter surveys that allows for a greater number of survey hours without disturbing the environment. Because Texas tortoises are ectothermic, time-lapse mode must be used, which generates massive datasets. Machine learning provides an opportunity to streamline the identification of tortoises in these datasets. Our goal was to train machine learning models in the identification of Texas tortoises across key representatives of their habitat types and make the model available for use. We have established grids of camera traps across the range of the Texas tortoise. In Python, we developed a deep-learning model for image segmentation. Given an input image, the trained model detects tortoises and draws a polygon. We used CVAT.ai to annotate the images by drawing bounding polygons around tortoises in each image. The annotated training images were used for transfer learning with a pre-existing computer vision model which can enable skillful detecting without requiring a massive set of annotated training examples. We used precision-recall curves to evaluate performance. We then tested the models using a test dataset that had been excluded from the training process. The top performing model had a precision score of 0.93, recall of 0.83, and accuracy of 0.86 on the test dataset. This machine learning model, which has been made available online, could make trail cameras a viable option to detect Texas tortoises. This model provides a valuable resource to streamline post trail camera data-collection which can allow for greater monitoring efforts of the Texas tortoise and support conservation efforts.

Author Biographies

  • Jacquelyn M. Tleimat, Department of Life Sciences, Texas A&M University-Corpus Christi, Corpus Christi, Texas 78412, USA

    Jacquelyn Tleimat is currently a Postdoctoral Research Fellow at Texas A&M University-Corpus Christi. Her interest in reptiles and amphibians started during her undergraduate at Texas State University. After earning her master’s degree at Texas State University, she began her Ph.D. at Texas A&M University-Corpus Christi. This work focused on diseases in Texas tortoises and improving survey methods. Her current research interest is using disease information to guide conservation action in Texas tortoises and engaging the public in these actions.

  • Evan Krell, Department of Computer Sciences, Texas A&M University-Corpus Christi, Corpus Christi, Texas 78412, USA

    Evan Krell received a B.S. and M.S. in Computer Science and a Ph.D. in Geospatial Computer Science from Texas A&M University-Corpus Christi (TAMU-CC), Corpus Christi, TX, USA. As a Ph.D. student, he was part of the Innovation in Computing Research (iCORE) lab and the National Science Foundation (NSF) AI Institute for Research on Trustworthy AI in Weather, Climate, and Coastal Oceanography (AI2ES). His research focused on explainable artificial intelligence methods for geospatial data models. He is currently a Postdoctoral Research Associate at the Naval Research Lab - Marine Meteorology Division at Monterey, California, USA. His research focuses on applications of Machine Learning for geospatial data problems, with an emphasis on atmospheric science and weather forecasting. 

  • Shawn F. McCracken, Department of Computer Sciences, Texas A&M University-Corpus Christi, Corpus Christi, Texas 78412, USA

    Shawn McCracken received a B.A. in Biology and a Ph.D. in Aquatic Resources from Texas State University, San Marcos, USA.  He was a Postdoctoral Research Associate and Research Assistant Professor at Texas State University before taking a position as the Director of Educational Research and Program Development with Third Millennium Alliance in Ecuador.  He is currently an Assistant Professor at Texas A&M University–Corpus Christi, USA.  His research group focuses on the ecology and conservation of terrestrial vertebrates, primarily amphibians, reptiles, and birds, in Ecuador and in Texas, USA. 

Downloads

Published

2026-07-08