AR Data Format
AR Coordinate System

Coordinate Frame:
X-axis: Right
Y-axis: Up
Z-axis: Forward
Pose :
Translation (first 3 values): Position in meters
: X, Y, Z coordinates
Rotation (last 4 values): Orientation as quaternion
: Imaginary part
: Real part
Difference between local_pose and global_pose:
local_pose: Position relative to device starting pointglobal_pose: Position in shared world coordinate (when multiple devices collaborate)
Velocity
Format:
Calculated as:
Unit: meters per second (m/s)
In the same coordinate frame as pose
Camera Intrinsics
Format:
Represents 3×3 matrix:
Where:
: Focal length in pixels
: Principal point (optical center) in pixels
Attention
Camera intrinsics scaling required
The camera intrinsics are originally computed for the original image size 1920 × 1440.
In the current app, the streamed color image size is 640 × 480.
If you use the intrinsics with the streamed images, you must scale the intrinsics to match the new resolution.
(You can follow the method below for implementation.)
Depth Image
Format: 16-bit unsigned integer (uint16)
Unit: m (0.1 mm, scaled by 10000 from meters)
Conversion to meters:
Range: → to m
Access: Use
data.depthordata.depth_arrayto get numpy array
Image Data Format
Color Image: Two formats available
color_bytes: JPEG compressed bytescolor_array: RGB numpy array (640×480×3)color: Shortcut forcolor_array
Depth Image: Numpy array only
depth_array: uint16 numpy array (256×192)depth: Shortcut fordepth_array
Last updated
Was this helpful?