Spatial Computing
Spatial computing lets devices map the space around them, track their own pose, and anchor digital content to real surfaces, as in headsets and robots.
Spatial computing is computing in which a device perceives the three-dimensional space around it, keeps track of its own position within that space, and places, anchors, or acts on information relative to real objects and surfaces. Simon Greenwold defined it in his 2003 MIT Media Lab thesis as human interaction with a machine in which the machine retains and manipulates referents to real objects and spaces. Apple brought the term into wide use with the Vision Pro headset, released in 2024 and marketed as a spatial computer, but the same capabilities run on phones, drones, and robots: computer vision and motion sensors build a live model of the environment, and software uses it to show content that stays put in the room or to move through it.
How Spatial Computing Works#
A spatial computing system runs a continuous perception loop. For tracking, visual SLAM and visual-inertial odometry combine camera features with inertial measurements through sensor fusion to estimate the device's six-degree-of-freedom pose, its position and orientation, many times per second. For scene understanding, a LiDAR sensor or depth estimation from images produces a 3D mesh of the room, and semantic segmentation and object detection label floors, walls, tables, and people. Hand tracking, built on keypoints from pose estimation, and eye tracking replace controllers and touchscreens as input. Content is stored in world coordinates and drawn from the device's current pose on every frame, so it stays fixed in the room. The whole loop runs on the device as edge AI, since virtual content that lags head motion by more than about 20 milliseconds appears to swim.
Anchoring comes down to camera geometry. A tap on the screen and a depth reading give a 3D point through the pinhole camera model, and each new pose from tracking projects that fixed point back into the current view:
import numpy as np
# Pinhole intrinsics of a 640x480 RGB-D camera: focal lengths and image center in pixels
K = np.array([[525.0, 0, 319.5], [0, 525.0, 239.5], [0, 0, 1]])
# The user taps pixel (400, 300) on a table the depth sensor measures at 1.5 m,
# so the anchor is unprojected into world coordinates (the device starts at the origin)
anchor = 1.5 * np.linalg.inv(K) @ np.array([400, 300, 1.0])
# Tracking reports a new pose: the user stepped 0.3 m right and turned 10 degrees left
yaw = np.radians(-10)
R = np.array([[np.cos(yaw), 0, np.sin(yaw)], [0, 1, 0], [-np.sin(yaw), 0, np.cos(yaw)]]) # camera-to-world rotation
t = np.array([0.3, 0.0, 0.0]) # camera position in the world
# Project the fixed world anchor into the new view to know where to draw the content
u, v, w = K @ (R.T @ (anchor - t))
x, y, z = anchor
print(f"Anchor at ({x:.2f}, {y:.2f}, {z:.2f}) m, now drawn at pixel ({u / w:.0f}, {v / w:.0f})")It prints Anchor at (0.23, 0.17, 1.50) m, now drawn at pixel (387, 300). Stepping right alone would move the anchor 105 pixels left in the image and turning left alone about 97 pixels right; together they put it 13 pixels left of where it was tapped, so the content stays on the same spot of the table.
Devices without a depth sensor estimate that depth from a single image, a task called monocular depth estimation. Ultralytics YOLO26 depth estimation models predict a per-pixel depth map in meters from one RGB image, which supplies the distance for unprojection on an ordinary camera.
Spatial Computing vs. AR, VR, and Mixed Reality#
Augmented reality, virtual reality, and merged reality, also called mixed reality, describe what a user sees, from digital overlays on the real world to fully virtual scenes. Spatial computing is the capability underneath them, a machine that models physical space, and it also covers robots and autonomous vehicles that have no display at all. Spatial intelligence is the closely related AI research goal of models that reason about 3D space, such as predicting how objects relate and move, and a digital twin is a synchronized virtual model of an asset that spatial devices can display in place.
Real-World Applications#
- Headsets: Apple Vision Pro and Meta Quest 3 track hands for input, mesh the room, and pin windows and 3D objects to walls and tables.
- Phones and tablets: Apple's ARKit and Google's ARCore detect planes and estimate lighting, so shopping apps can place furniture at true scale, and LiDAR-equipped iPhones and iPads reconstruct room meshes.
- Manufacturing and field service: Technicians see assembly steps and remote experts' annotations anchored to the machine they are working on.
- Robotics: Mobile robots and autonomous vehicles run the same mapping, localization, and scene understanding loop to plan paths through spaces shared with people.










