Skip to content

Commit

Permalink
Update onnx runtime instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
the-sane authored Oct 1, 2024
1 parent 3519537 commit b191d2f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions wiki/Head-Tracking.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,16 @@ Configure Star Citizen's head tracking options under `Comms, FOIP & Head Trackin
> - May not work with Flatpak Lutris
> - If compiling from source, make sure `SDK_WINE` is set
> - If compiling our custom Opentrack from source, make sure you are on the `wine-extended-proton` branch before building

## Building Opentrack with ONNX Runtime
If you provide ONNX Runtime libraries to Opentrack when building it, it will offer Neuralnet as input option. This will allow you to use any webcam as head tracking device.

Arch-based distros:
1. Install `onnxruntime` from the Arch repos.
2. Build and install [https://aur.archlinux.org/packages/opentrack](https://aur.archlinux.org/packages/opentrack) from the AUR. The PKGBUILD is already pre-configured to use the onnx runtime.

Other distros:
1. Install [`wine` development branch](https://wiki.winehq.org/Download).
2. Download and extract [ONNX Runtime](https://github.com/microsoft/onnxruntime/releases).
3. Follow [Opentrack's instructions](https://github.com/opentrack/opentrack/wiki/Building-on-Linux) with some extra steps when using `cmake` or `ccmake`.
Expand Down

0 comments on commit b191d2f

Please sign in to comment.