Detection and Geographic Localization of Natural Objects in the Wild: A Case Study on Palms

Kangning Cui, R. Y. Zhu, Manqi Wang, Wei Tang, Gregory D. Larsen, V. Paúl Pauca, Sarra Alqahtani, Fan Yang, David Segurado, David A. Lutz, Jean‐Michel Morel, Miles R. Silman

Introduction

Monitoring tropical forests is a significant logistical challenge. The dense, overlapping canopies and vast, difficult terrain make manual tree counting—particularly for palms, which are vital indicators of ecosystem health—nearly impossible at scale. While computer vision has mastered palm detection in the structured, grid-like rows of industrial plantations, "the wild" presents a much more complex scenario. In natural forests, crowns overlap, shadows are inconsistent, and the landscape is highly heterogeneous, often obscuring diagnostic features.

The PRISM Pipeline

To address the gap in tools capable of handling massive remote sensing data in complex environments, researchers developed PRISM (Processing, Inference, Segmentation, and Mapping). PRISM is a modular, end-to-end pipeline designed to find and geolocate palms in chaotic natural forests. The system breaks the task into four distinct stages:

  1. Processing (Slicing): To manage massive UAV-derived GeoTIFF files (often ranging from 1 to 200 GB), PRISM slices orthomosaics into manageable 800x800 pixel patches with a defined stride to ensure complete coverage.
  2. Inference (Detection): The pipeline utilizes YOLOv10 as the primary detector. It was selected for its "NMS-free" training, which eliminates the need for a separate non-maximum suppression post-processing step, enabling high-speed inference.
  3. Segmentation: To move from a bounding box to a precise crown shape, the system integrates SAM 2 (Segment Anything Model 2). As a zero-shot model, SAM 2 can accurately segment palm crowns without requiring a specific palm-mask training dataset.
  4. Mapping: Finally, the pipeline converts pixel coordinates back into real-world geographic coordinates (Latitude/Longitude), allowing the results to be exported directly into GIS software for ecological analysis.

The PALMS Dataset

The study introduces the PALMS (PAlm Localization in Multi-Scale) dataset, derived from 21 ecologically diverse sites in western Ecuador. These sites represent a broad rainfall gradient, ranging from wet tropical forests to dry desert edges. The dataset includes 1,500 annotated image patches for training and over 8,800 bounding boxes for validation, all captured via high-resolution UAV imagery with a ground sampling distance of less than 6 cm.

Geographic distribution of study sites across diverse ecological reserves in Ecuador.

Key Results and Insights

The PRISM pipeline demonstrated both high efficiency and localization accuracy. YOLOv10 achieved a processing speed of 177.04 FPS on an NVIDIA RTX 4090, which is critical for processing large-scale orthomosaics. The system reached a mean Average Precision (mAP) of 61.73%.

Crucially, the localization results were highly precise; across four different forest reserves, the median localization shift was consistently under 1.5 meters. This level of accuracy ensures that detected palms can be reliably pinpointed in the field. Furthermore, the integration of SAM 2 proved robust against distribution shifts, successfully segmenting palms in reserves not seen during the training phase.

Examples of palm detection across various forest densities and terrains using the PRISM pipeline.

To ensure the reliability of the data for ecological monitoring, the researchers applied calibration methods like Isotonic Regression. This ensures that the model's confidence scores accurately reflect the probability of a correct detection. Saliency analysis using Grad-CAM further revealed that the model employs a hierarchical feature extraction process, focusing on leaf boundaries in early layers and the overall scale of the palm crown in deeper layers.

Conclusion and Future Work

PRISM provides a flexible and modular framework for large-scale biodiversity monitoring in challenging natural environments. While the current system is optimized for high-resolution UAV data, future work aims to explore transfer learning for lower-resolution satellite imagery (0.5m–1m). Such advancements would allow for even broader geographic monitoring and the adaptation of the pipeline to other natural objects beyond palms.

Summary updated

Abstract

Palms are ecologically and economically indicators of tropical forest health, biodiversity, and human impact that support local economies and global forest product supply chains. While palm detection in plantations is well-studied, efforts to map naturally occurring palms in dense forests remain limited by overlapping crowns, uneven shading, and heterogeneous landscapes. We develop PRISM (Processing, Inference, Segmentation, and Mapping), a flexible pipeline for detecting and localizing palms in dense tropical forests using large orthomosaic images. Orthomosaics are created from thousands of aerial images and spanning several to hundreds of gigabytes. Our contributions are threefold. First, we construct a large UAV-derived orthomosaic dataset collected across 21 ecologically diverse sites in western Ecuador, annotated with 8,830 bounding boxes and 5,026 palm center points. Second, we evaluate multiple state-of-the-art object detectors based on efficiency and performance, integrating zero-shot SAM~2 as the segmentation backbone, and refining the results for precise geographic mapping. Third, we apply calibration methods to align confidence scores with IoU and explore saliency maps for feature explainability. Though optimized for palms, PRISM is adaptable for identifying other natural objects, such as eastern white pines. Future work will explore transfer learning for lower-resolution datasets (0.5–1m). Data and code can be found at github.com/Zippppo/PRISM.
BibTeX
@inproceedings{cui2025detection,
  author = {Kangning Cui and R. Y. Zhu and Manqi Wang and Wei Tang and Gregory D. Larsen and V. Paúl Pauca and Sarra Alqahtani and Fan Yang and David Segurado and David A. Lutz and Jean‐Michel Morel and Miles R. Silman},
  title = {{Detection and Geographic Localization of Natural Objects in the Wild: A Case Study on Palms}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/1067},
}
Figure