An open API service indexing awesome lists of open source software.

https://github.com/uralstech/uxr.questcamera

A Unity package to use the new Meta Quest Passthrough Camera API.
https://github.com/uralstech/uxr.questcamera

camera-api meta-quest meta-quest-3 meta-quest-3s openupm passthrough-api passthrough-camera-api unity unity-integration unity-package unity3d

Last synced: 3 months ago
JSON representation

A Unity package to use the new Meta Quest Passthrough Camera API.

Awesome Lists containing this project

README

        

# UXR.QuestCamera

A Unity package to use the new Meta Quest Passthrough Camera API.

[![openupm](https://img.shields.io/npm/v/com.uralstech.uxr.questcamera?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.uralstech.uxr.questcamera/)
[![openupm](https://img.shields.io/badge/dynamic/json?color=brightgreen&label=downloads&query=%24.downloads&suffix=%2Fmonth&url=https%3A%2F%2Fpackage.openupm.com%2Fdownloads%2Fpoint%2Flast-month%2Fcom.uralstech.uxr.questcamera)](https://openupm.com/packages/com.uralstech.uxr.questcamera/)

> Computer Vision with the Meta Quest Passthrough Camera API: Tutorials and Showcase Videos on YouTube

> [![YouTube Tutorials](https://img.youtube.com/vi/V_drkO-DfCg/0.jpg)](https://youtube.com/playlist?list=PLU7W-ZU9OIiEanYEKtjyHQIoLrf0SflXx)
> [![Camera API in hAI! MR](https://img.youtube.com/vi/7Fq__tlaXSU/0.jpg)](https://www.youtube.com/watch?v=7Fq__tlaXSU)

## Installation

This *should* work on any reasonably modern Unity version. Built and tested in Unity 6.0.
Versions older than Unity 6.0 **REQUIRE** [com.utilities.async](https://github.com/RageAgainstThePixel/com.utilities.async/).

Since this package contains a native AAR plugin, it depends on the [External Dependency Manager for Unity (EDM4U)](https://github.com/googlesamples/unity-jar-resolver) to resolve native dependencies.
You may already have EDM4U if you use Google or Firebase SDKs in your Unity project. If you do not, the installation steps are available
here: [EDM4U - Getting Started](https://github.com/googlesamples/unity-jar-resolver?tab=readme-ov-file#getting-started)

### OpenUPM

1. Open project settings
2. Select `Package Manager`
3. Add the OpenUPM package registry:
- Name: `OpenUPM`
- URL: `https://package.openupm.com`
- Scope(s)
- `com.uralstech`
4. Open the Unity Package Manager window (`Window` -> `Package Manager`)
5. Change the registry from `Unity` to `My Registries`
6. Add the `UXR.QuestCamera` package

### Unity Package Manager

1. Open the Unity Package Manager window (`Window` -> `Package Manager`)
2. Select the `+` icon and `Add package from git URL...`
3. Paste the UPM branch URL and press enter:
- `https://github.com/Uralstech/UXR.QuestCamera.git#upm`
4. Check the instructions for [`Utils.Singleton`](https://uralstech.github.io/Utils.Singleton) to install the dependency

### GitHub Clone

1. Clone or download the repository from the desired branch (master, preview/unstable)
2. Drag the package folder `UXR.QuestCamera/UXR.QuestCamera/Packages/com.uralstech.uxr.questcamera` into your Unity project's `Packages` folder
3. Check the instructions for [`Utils.Singleton`](https://uralstech.github.io/Utils.Singleton) to install the dependency

## Preview Versions

Do not use preview versions (i.e. versions that end with "-preview") for production use as they are unstable and untested.

## Documentation

See or `APIReferenceManual.pdf` and `Documentation.pdf` in the package documentation for the reference manual and tutorial.