ARfy: A Pipeline for Adapting 3D Scenes to Augmented Reality

Arthur Caetano, Misha Sra

TL;DR

This paper introduces ARfy, a novel pipeline that automatically adapts existing 3D virtual scenes to arbitrary physical environments for augmented reality (AR) experiences. ARfy eliminates the need for manual placement or asset annotation, making AR content creation more accessible and efficient.

What Problem Does This Paper Address?

Augmented reality (AR) allows users to overlay virtual content onto the real world. A critical challenge in AR is ensuring that virtual objects are placed realistically and consistently within diverse physical environments. Current approaches include manual placement by users, automated placement guided by author-defined constraints, and procedural content generation. However, these methods often require significant human effort, detailed asset annotations, or prior knowledge of the target environment. This paper addresses the gap by proposing a pipeline that can adapt generic 3D scenes to any physical space without requiring modifications to the original assets or prior knowledge of the environment.

Methods

ARfy's core innovation lies in its use of point cloud registration to align virtual 3D scenes with physical spaces. The pipeline operates in three stages:

  • Development Stage: Existing 3D scenes are converted into point clouds. This sampling can be done by selecting points from the surface of 3D meshes or by identifying the center points of support planes (e.g., the lowest point of an object's bounding box). This flexibility allows authors to control the density and type of points used for registration.
  • Evaluation Stage: An automated testing tool is provided to assess the quality of AR placement. It takes a virtual scene and a physical space dataset as input, runs a point cloud-based placement algorithm, and generates a heatmap visualizing placement error at a point level. This helps authors tune their virtual scenes or placement algorithms.
  • Runtime Stage: This stage performs the actual AR placement. Current AR platforms extract a point cloud from the scanned physical scene. ARfy then treats the problem as a point cloud registration task, computing a 3D transformation (translation, rotation, and scaling) to align the virtual scene's point cloud with the physical scene's point cloud. The authors use the mean square distance between closest points as an error metric, constraining rotation to the Y-axis and scale to a single scalar value to preserve aspect ratios. A basic Iterative Cloud Registration (ICP) algorithm is provided as a baseline.

The pipeline is implemented as a combination of a Python Web API and a Unity plugin, supporting both mobile and head-mounted AR devices.

Datasets

The paper utilizes the ARKit Scenes dataset [3], a publicly available indoor scene point cloud dataset, for evaluation.

Key Insights and Ideas

  • Democratizing AR Content Creation: By removing the need for manual placement or asset annotation, ARfy significantly lowers the barrier to entry for creating adaptive AR experiences.
  • Leveraging Point Clouds for Registration: The paper highlights the effectiveness of point cloud registration as a robust method for aligning virtual content with real-world spaces, even with unknown environments.
  • Automated Evaluation is Crucial: The inclusion of an automated evaluation stage with error heatmaps is a valuable tool for developers to iteratively improve their AR content and placement algorithms.
  • Flexibility in Point Sampling: The ability to sample points from surfaces or support planes offers authors fine-grained control over how their virtual scenes are adapted to physical spaces.

Key Results

The paper demonstrates ARfy's capabilities by adapting the 3D scene from Unity Game Kit [29] to indoor spaces from the ARKit Scenes dataset [3].

  • The best alignment achieved an error of 0.026 on a specific video ID.
  • The worst alignment encountered an error of 3.639 on another video ID.
  • The authors note that challenging physical spaces included those with mirrors and multiple floors, while empty rectangular rooms yielded higher precision.

Limitations and Future Work

  • Challenging Environments: The pipeline struggled with spaces containing mirrors and multiple floors.
  • Outlier Detection: Future work could improve placement quality by incorporating outlier detection and removal methods in the point cloud registration process.
  • Integration with Other Tools: ARfy can be integrated with other AR development tools, potentially serving as an initial coarse placement that can be manually refined.
  • Outdoor Environments: The current demonstration is limited to indoor scenes. Future work aims to extend ARfy for outdoor physical locations, potentially by using scale factors related to camera height or by combining pre-scanned outdoor point clouds with geolocation.
  • Refinement of Placement: For specific effects like virtual objects resting directly on surfaces, authors can adjust parameters and integrate physical surface geometry into collision detection systems.

Summary updated

BibTeX
@inproceedings{caetano2022arfy,
  author = {Arthur Caetano and Misha Sra},
  title = {{ARfy: A Pipeline for Adapting 3D Scenes to Augmented Reality}},
  booktitle = {UIST (Adjunct Volume)},
  year = {2022},
}
Figure