Modification / Extension

Front‑End Modifications / Extensions

  1. Implement Main‑Camera capture in real time

    • Obtain an Apple Developer account.

    • Request for a license to access the Main Camera API

    • Add a Swift file that contains the Main‑Camera code.

    • Add a SwiftUI view that presents the Main Camera output.

  2. Have Vision Pro read OpenAI responses aloud

    • Use AVSpeechSynthesizer to speak the assistant’s reply.

  3. Change the OpenAI model

    • In DiscoverViews/OpenAIService replace the string "gpt-4o" with the desired model name.

  4. Use a different AI provider

    • Possible alternatives: Claude, DeepSeek, Gemini.

  5. Combine voice + image pipelines and integrate with PuppyPy

    • Ensure the two features work together before linking them to PuppyPy.

Back‑End Modifications / Extensions

  1. Replace the image‑classification model

Dependencies

  • To add the Lottie library in visionOS, follow the instruction below:

    Add Dependency
  • Backend packages are listed in data-processing-main/requirements.txt and requirements2.txt.

Backlog

The backlog is on GitHub Projects*CS 495 – Apple Vision Pro*

Style Expectations

  • Can use animations that ship with the Lottie dependency.

  • Follow the View-Model-ViewModel(MVVM) architecture.

Unit Testing

  1. visionOS

    • visionOS currently does not support UI Testing Bundle, it only has Unit Testing Bundle so we can only perform logical testing only.

    • To run test cases, click on the diamond icon alongside the function declaration in the editor gutter as below

      OpenAI Connection Test
  2. Backend

# activate venv
source .venv/Scripts/activate
# run tests
pytest test.py -v