visionprosurgery

Project Exploring the Usage of Apple Vision Pro with Surgery Use Cases

https://github.com/stanfordbdhg/visionprosurgery

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.2%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Project Exploring the Usage of Apple Vision Pro with Surgery Use Cases

Basic Info
  • Host: GitHub
  • Owner: StanfordBDHG
  • License: mit
  • Language: Ruby
  • Default Branch: main
  • Size: 77.7 MB
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 1
  • Open Issues: 1
  • Releases: 0
Created over 1 year ago · Last pushed 9 months ago
Metadata Files
Readme License Citation

README.md

Spezi VP Logo Vision Pro Surgery

Build and Test codecov DOI

VP Overview

Overview

The Stanford BDHG Vision Pro Surgery repository contains two applications which together enable streaming of surgical video tower feed to the Vision Pro. The objective of this project is to allow for immersive and dynamic viewing of video feed during surgical procedures.

The repository consists of a Spezi Server app which enables users to interface their computers with a surgical video tower and start a local network video stream. The Vision Pro Surgery app enables fast and easy connection to the live video stream on the Vision Pro headset.

Required Hardware and Setup

To get started, you will need to have the following hardware components: 1. Computer (Mac or Windows)
Used for running SpeziServer app 2. Vision Pro
Used for running VisionProSurgery app 3. Bidrectional Cables - VGA to HDMI (product recommendation) - DVI to HDMI (product recommendation)
4. 4K Capture Card (product recommendation)

[!NOTE]

  • Please check the ports on your surgical video tower, some use VGI out and others DVI out.
  • If you are using a Mac, use a 4K Capture Card that goes from HDMI --> micro-hdmi
  • For Windows, use a 4K Capture Card that goes from HDMI --> USB
  • We recommend purchasing this 4K Capture Card that works for both platforms: Capture 1080P60 Streaming Recorder (Amazon)

[!TIP]

  • For improved streaming quality and lower latency, we recommend using a router to repeat the main WiFi signal
  • The GL.iNet GL-SFT1200 (Opal) router is what we use in our experimentation for its small size and portability

Software Installation and Setup

Step 1: Downloading Repository

bash git clone https://github.com/StanfordBDHG/VisionPro/ Step 2: Installing Spezi Server Dependencies

bash pip3 install -r /SpeziServerApp/requirements.txt

Step 3: Launching Spezi Server App

Open the Spezi Server app using one of the executable files or by running: bash python3 /SpeziServerApp/spezi_server.py

[!TIP]

  • You can create a local executable of the Spezi Server app by running the create_exe.py script
  • Ensure you have PyInstaller installed before running the script

Step 4: Launching Vision Pro Surgery app

Open the Spezi Vision Pro app (VisionProSurgery.xcodeproj) through the Xcode simulator or by running it on a physical Vision Pro (learn more here).

Starting Video Stream

On the launch screen of the Spezi Server app as shown below, you can configure the following settings:

  1. Video Port ID: this depends on the video stream and varies based on the surgical video tower output
  2. Width and Height: this will determine the size/resolution of the video stream that will be recieved by the Vision Pro
  3. FPS (frames per second): adjust for smoother video viewing

[!NOTE]

  • Increasing the FPS/width/height can lead to more delays and higher latency in video streaming
  • For higher FPS and resolution, you will need a very stable WiFi connection

speziserver1

[!WARNING]

  • Before starting the stream, ensure that your computer is connected to a WiFi network that the Vision Pro can also be connected to
  • Both devices will need to be on the same WiFi for video streaming to work

speziserver2

After launching, the SpeziServer app will show you the port and IP address that you will enter into the Vision Pro for connection.

Connecting Vision Pro to Video Stream

After running the Vision Pro app on either the simulator or physical device, you will be presented with the start screen as shown below.

vp1

After tapping on Get Started, you will get to the set-up screen where you have to enter your port number and IP address.

vp2

[!NOTE]

Contributors

You can find a list of contributors in the CONTRIBUTORS.md file.

Owner

  • Name: Stanford Biodesign Digital Health
  • Login: StanfordBDHG
  • Kind: organization
  • Location: United States of America

Citation (CITATION.cff)

#
# This source file is part of the StanfordBDHG VisionProSurgery project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
# SPDX-License-Identifier: MIT
#

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Schmiedmayer"
  given-names: "Paul"
  orcid: "https://orcid.org/0000-0002-8607-9148"
title: "VisionProSurgery"

GitHub Events

Total
  • Watch event: 3
  • Issue comment event: 4
  • Member event: 1
  • Push event: 41
  • Pull request review comment event: 18
  • Pull request review event: 4
  • Pull request event: 2
  • Fork event: 1
  • Create event: 3
Last Year
  • Watch event: 3
  • Issue comment event: 4
  • Member event: 1
  • Push event: 41
  • Pull request review comment event: 18
  • Pull request review event: 4
  • Pull request event: 2
  • Fork event: 1
  • Create event: 3

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 9 months
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 3.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 9 months
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 3.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • AdritRao (1)
Top Labels
Issue Labels
Pull Request Labels