Project Aria Client SDK Code Samples
This section provides code samples and walkthroughs for using the Aria Client SDK to interact with the Project Aria glasses.
Make sure you have finished the Setup Guide before progressing to code samples. If you follow the guide, code samples are run from ~/projectaria_client_sdk_samples
:
cd ~/projectaria_client_sdk_samples
Except for Time Synchronization TICSync code samples, which are run from ~/projectaria_client_sdk_samples/ticsync
.
cd ~/projectaria_client_sdk_samples/ticsync
We recommend starting with device_connect.py to validate that your Aria glasses have connected successfully.
- Connection
- Connect to the Aria glasses using USB and Wi-Fi
- Fetch device information, such as the device serial number
- Fetch device status, such as battery level or Wi-Fi SSID.
- Recording
- Start and stop recording on an Aria device via USB and Wi-Fi
- Set a recording profile for a recording
- Streaming Subscription
- Subscribe to and unsubscribe from a streaming session
- Visualize the live stream
- Streaming and Visualizing All Live Sensor Data
- Start and stop streaming from an Aria device to a computer via USB and Wi-Fi
- Add callbacks to visualize and manipulate the streamed data
- Streaming Undistorted RGB Image Using Calibration
- Start and stop streaming from an Aria device to a computer via USB and Wi-Fi
- Access sensor calibration and undistort an RGB live stream
- TICSync Time Synchronization
- Requires at least two Project Aria glasses
- Deeper dive and more granular control of features than commands provided in How to Create Time Synchronized Recordings with Multiple Aria Glasses