The Aria Client SDK with CLI provides robust capabilities for creating computer vision and machine learning applications with Project Aria glasses. A example video of the GLAMICA application in use can be found here.
-
Install the Project Aria Client SDK by following the instructions in the official documentation.
-
Make a file called
.envin the root directory of this project and add your OpenAI API key:OPENAI_API_KEY=[YOUR_API_KEY] -
In the project directory, install the required Python packages:
pip install -r requirements.txt
-
In the project directory, run one of the following commands to start the stream from the glasses:
- If you connect to the glasses via USB:
aria streaming start --interface usb --use-ephemeral-certs --profile profile18
- If you connect to the glasses via WiFi (DEVICE_IP can be found in the Project Aria app):
aria streaming start --interface wifi --use-ephemeral-certs --device-ip [DEVICE_IP] --profile profile18
-
When this is finished, you can connect to the stream and start the GLAMICA app by running:
python -m glamica
Now a web interface will be opened in your browser where you can interact with the system.