Hong Kong Geospatial Deep Learning Datasets

Discover, explore, and utilize geospatial deep learning data for Hong Kong

Latest News

  • Release of Datasets

    June 7, 2025

    We are pleased to announce the release of the geospatial deep learning datasets for Hong Kong. This release includes annotated data for both object detection and semantic segmentation tasks.

    All datasets are provided in YOLO format for easy integration with Ultralytics YOLO workflow.

    View Datasets

Description of Datasets

Explore the geospatial deep learning datasets for Hong Kong.

Image Source and Usage License
Image Sources
  • Aerial Photography: Images captured at flying height of about 12,000 feet
  • Resolution: 0.25m per pixel

The orthophotos are provided by the Lands Department of the Government of the Hong Kong Special Administrative Region.

For the usage of aerial images, please follow the Terms and Conditions of CSDI Portal.

Annotation License

The annotations of bounding boxes and segmentation masks are under the MIT License.

Object Detection and Segmentation Categories
Object Detection Categories (8 Classes)

The object detection dataset includes annotations for the following features:

Airplane Building Container lot Facility Pylon Storage tank Vehicle Vessel
Segmentation Categories (2 Classes)

The semantic segmentation dataset provides pixel-level annotations for:

Building Road
Annotation Format
YOLO Format for Object Detection

Format Structure:

  • One text file per image
  • Each line represents one bounding box
  • Format: class_id x_center y_center width height
  • All values are normalized (0-1) relative to image dimensions

Example:

# Example annotation for an image with 3 objects
# Format: class_id x_center y_center width height
2 0.342 0.551 0.123 0.225   # Container lot
7 0.658 0.237 0.042 0.087   # Vessel
6 0.518 0.482 0.025 0.035   # Vehicle
                    
YOLO Format for Segmentation

Format Structure:

  • One text file per image
  • Each line represents one polygon
  • Format: class_id x1 y1 x2 y2 ... xn yn
  • All coordinates are normalized (0-1)

Example:

# Example segmentation for a building
# Format: class_id x1 y1 x2 y2 ... xn yn
0 0.123 0.456 0.133 0.467 0.153 0.485 0.183 0.492 0.198 0.472 0.173 0.458 0.123 0.456

# Example segmentation for a road
1 0.301 0.617 0.312 0.645 0.354 0.683 0.385 0.674 0.367 0.629 0.328 0.603 0.301 0.617
                    
Object Detection Dataset

Large dataset for geospatial object detection in Hong Kong urban environments with 8 different object classes.

  • 270,000+ annotated images
  • 8 object classes
Segmentation Dataset

Pixel-level semantic segmentation dataset for Hong Kong focusing on building and road classes.

  • Pixel-wise annotations
  • 2 key urban classes

Our Team and Contributors

Please feel free to contact us anytime about the project.

Dr. Ameer Hamza Khan
Dr. Ameer Hamza Khan

Project Advisor

Curtis Yung
Curtis Yung

GIS Analyst