Skip to main content

How Detect Objects In 3D Space works

Available with the Image Analyst license.

Available with the Advanced license.

As 3D content such as meshes, Gaussian splats, and oriented imagery become more widely available, there is a growing need for tools that support 3D analysis. Traditional 2D object detection workflows can be limiting for geospatial applications because they detect objects in image space rather than directly in 3D space. The Detect Objects In 3D Space tool uses trained deep learning models with oriented imagery, where the camera location and orientation are known, to detect objects in images and use depth information to place them in real-world 3D coordinates. The results can then be visualized directly on 3D layers, allowing detected objects to be viewed in their actual 3D context.

The input oriented imagery can come from two sources: it can be the source imagery originally used to capture the scene, or it can be oriented imagery synthetically generated from an existing mesh or Gaussian splat using the Extract Images From 3D Dataset tool. This means objects can be detected within a mesh or Gaussian splat even when the original source photography is not available, by first generating synthetic oriented imagery of the 3D content and then running detection on it.

The tool performs deep learning inference on oriented imagery datasets using object detection model, provided as Esri model definition file (.emd) or deep learning model packages (.dlpk). The tool detects objects in 2D image space and then uses depth information to transform those detections into accurately positioned for visualization and analysis.

How detect objects in 3d space works

Figure 1. Overview of the Detect Objects In 3D Space tool workflow.

The 3D object detection workflow begins by providing oriented imagery along with the depth information required to locate objects precisely in 3D space. Because depth maps are generally not available with oriented imagery, they can be generated dynamically from a 3D data source using the Input 3D Layer parameter. This parameter accepts a mesh scene layer, 3D Tiles layer, or Gaussian splat layer, enabling the tool to enrich the oriented imagery with precise depth information derived from 3D layer. Alternatively, depth maps can be supplied directly with the imagery when available. This allows the tool to perform 3D object detection across a range of 3D data sources, even when explicit depth maps are not available.

Once the imagery and depth sources have been defined, select an appropriate pretrained deep learning model from ArcGIS Living Atlas based on the objects to be detected. These models are optimized for object detection in oriented imagery and can be used immediately, eliminating the need for additional model training or configuration. Figure 1 illustrates an example of output produced using the TextSAM model.

During processing, if the oriented imagery dataset has existing depth maps, then the tool first performs detection in image space, generating 2D polygons on the oriented imagery. It then leverages the associated depth information to project these 2D detections into real-world 3D coordinates. This depth-aware transformation preserves the elevation and spatial context of each feature, enabling accurate placement within the 3D scene. If the oriented imagery dataset and 3D layer are provided, the depth maps will first be generated.

The generated depth maps will be written to a local path. By checking the Update Oriented Imagery Dataset with Depth Map parameter, the oriented imagery dataset can be updated with the corresponding paths to the generated depth images. This workflow allows you to run other models using the generated depth maps, allowing you to reuse the depth data.

Enhancing and refining results

The following are considerations when refining the detection results:

  • The tool includes options to suppress duplicate detections, which can occur when the same object is detected from multiple image views. This capability helps optimize detection counts and consolidate overlapping detections into a single, accurate 3D feature.

  • The AI models can either be ArcGIS pretrained models from ArcGIS Living Atlas or custom deep learning model packages (.dlpk) can be trained using arcgis.learn. Models trained on high-resolution imagery can be used directly, and open-set models such as TextSAM support prompt-based detection without additional training.

  • Optional postprocessing workflows and GIS tools may be required to clean and refine detection results, ensuring the output features are spatially accurate and suitable for visualization, analysis, and downstream GIS workflows.

Applications

By integrating deep learning, oriented imagery, and 3D mapping, the Detect Objects In 3D Space tool extends the GeoAI framework to support real-world applications such as infrastructure mapping, urban monitoring, asset management, and situational awareness in 3D environments.

One application of the Detect Objects in 3D Space tool is mapping windows on building exteriors. In a workflow that combines a 3D city model with oriented imagery collected by drones, identifying and mapping every window would require creating thousands of individual 3D features. While traditional 2D object detection workflows can identify windows in images, they do not directly place those detections in geographic 3D space. The tool uses a object detection model deep learning model to detect windows in the imagery and automatically project those detections onto the building exterior as accurately positioned 3D features.