NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Automated Icon Extraction from Tourism Maps: A Synergistic Approach Integrating YOLOv8x and SAM

Di Cao, Xinran Yan, Jingjing Li, Jiayao Li, Lili WuISPRS Int. J. Geo Inf 2025

TL;DR

This paper introduces a novel method for automatically extracting icons from tourist maps by combining the object detection capabilities of YOLOv8x with the precise segmentation power of the Segment Anything Model (SAM). This synergistic approach significantly improves the accuracy and efficiency of creating digital symbol libraries for cartographic applications.

What Problem Does This Paper Address?

Traditional tourist maps, while informative, often lack the visual appeal and cultural richness that modern travelers seek. While icon design has enhanced these maps, manually creating and extracting these icons is a time-consuming and skill-intensive process. Existing automated methods struggle with the diverse, complex, and often artistic nature of tourist map icons, leading to inaccurate detection and segmentation. This paper aims to bridge this gap by developing a robust and automated system for extracting these intricate symbols, thereby enhancing map production efficiency and supporting the creation of comprehensive digital symbol databases.

Methods

The core of this research lies in a two-stage, collaborative approach:

  • Symbol Detection (YOLOv8x): The YOLOv8x model is employed for its speed and accuracy in identifying and localizing symbols within tourist maps. It generates initial bounding boxes around potential icons.
  • Symbol Segmentation (SAM): The Segment Anything Model (SAM) is then used to refine these bounding boxes. SAM, with its prompt-driven architecture and zero-shot capabilities, excels at precisely segmenting the symbols, even those with complex or irregular boundaries.
  • User Interaction: An interactive mechanism is integrated to allow users to review and correct YOLOv8x's detection results before they are passed to SAM. This step helps to mitigate false positives and negatives, ensuring higher quality input for the segmentation phase.

This combination leverages YOLOv8x's efficiency in finding objects and SAM's precision in outlining them, overcoming the limitations of each model when used in isolation.

Datasets

  • Custom Tourist Map Dataset: The authors created a novel dataset specifically for this research. It comprises 772 high-quality tourist map images, collected from both physical books (using OCR) and online sources (via web scraping).
  • Data Augmentation: To increase the dataset's size and robustness, nine data augmentation techniques were applied, resulting in a total of 4709 training images.
  • Annotation: The dataset is annotated with five distinct symbol categories: Human Landscape, Natural Scenery, Human, Animal, and Cultural Symbol.

Key Insights and Ideas

  • Synergy is Key: The most significant insight is that combining a fast object detector (YOLOv8x) with a powerful, general-purpose segmenter (SAM) is highly effective for complex, artistic symbol extraction. YOLOv8x provides the necessary context and initial localization, while SAM delivers the fine-grained detail.
  • User-in-the-Loop for Robustness: Incorporating a user interaction step significantly improves the reliability of the detection results, acting as a crucial bridge between automated detection and precise segmentation. This human oversight addresses potential model errors and enhances the overall practicality of the system.
  • SAM's Zero-Shot Power: SAM's ability to perform segmentation without task-specific fine-tuning is a major advantage, allowing it to handle the diverse and novel symbol styles found in tourist maps without requiring extensive re-training.

Key Results

  • High Detection Accuracy: The YOLOv8x model achieved an average detection accuracy of 94.4% across the five symbol categories on the custom tourist map dataset.
  • Improved Segmentation Precision: The integration with SAM significantly enhanced the precision of symbol boundary extraction compared to using YOLOv8x alone.
  • Robust Performance: The proposed method demonstrated robust performance across various map styles and symbol complexities, as validated on a separate test set.
  • Quantitative Comparison: YOLOv8-X outperformed other state-of-the-art object detection models like Faster R-CNN, SSD, and Retinanet in terms of AP, Recall, Precision, and F1 Score on their custom dataset. For instance, it achieved a 16.27% higher AP than Faster R-CNN.

Limitations and Future Work

  • Dataset Size: The authors acknowledge that the limited size of their custom dataset can lead to variability in detection performance across different symbol categories.
  • Segmentation Accuracy: While improved, segmentation accuracy can still be influenced by map resolution, especially for low-resolution maps or those with complex backgrounds. Some fine details along symbol edges might be lost, and hollow areas can occasionally be affected by background colors.
  • Future Work:
    • Dataset Expansion: Collecting more diverse tourist maps from various cultural backgrounds and regional styles to improve adaptability and generalization.
  • Advanced Models: Exploring newer deep learning architectures like Transformers and Vision Permutators for enhanced precision.
  • Real-time Capabilities: Developing mobile applications for real-time interactive map analysis and symbol extraction.
  • Edge Enhancement: Investigating edge enhancement algorithms to improve boundary precision.
  • Color Separation: Exploring advanced color separation techniques to better distinguish symbols from backgrounds.
  • Adaptive Thresholding: Implementing adaptive threshold mechanisms for dynamic parameter adjustment.

Summary updated

BibTeX
@article{cao2025automated,
  author = {Di Cao and Xinran Yan and Jingjing Li and Jiayao Li and Lili Wu},
  title = {{Automated Icon Extraction from Tourism Maps: A Synergistic Approach Integrating YOLOv8x and SAM}},
  journal = {ISPRS Int. J. Geo Inf.},
  year = {2025},
  doi = {10.3390/ijgi14020055},
}
Figure