You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d802117
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+13-30Lines changed: 13 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ QuestCameraKit is a collection of template and reference projects demonstrating
16
16
17
17
# Running all samples
18
18
19
-
Build and Run now includes all seven headset samples in one app. Press **Y** to open or close the menu, move the **left thumbstick** to choose, and press **X** to load a sample. In the Editor use **M**, **↑/↓**, and **Enter**. This menu currently uses Touch controllers; the samples retain their existing hand interactions. The desktop WebRTC receiver remains a separate scene.
19
+
Build and Run now includes all six headset samples in one app. Press **Y** to open or close the menu, move the **left thumbstick** to choose, and press **X** to load a sample. In the Editor use **M**, **↑/↓**, and **Enter**. This menu currently uses Touch controllers; the samples retain their existing hand interactions. The desktop WebRTC receiver remains a separate scene.
20
20
21
-
For QR tracking without an extra decoder, start with **QR tracking (Meta native)**, sample 7. It uses the MRUK package already required by this project. Sample 3 demonstrates raw camera decoding using the bundled ZXing library; no manual NuGet installation is needed. Native tracking still depends on headset runtime support and spatial-data permission.
21
+
**QR tracking (Meta native)**uses the MRUK package already required by this project. No separate decoder, NuGet installation, or QR scripting define is needed. Native tracking still depends on headset runtime support and spatial-data permission.
22
22
23
23
# PCA Samples
24
24
@@ -69,22 +69,23 @@ For QR tracking without an extra decoder, start with **QR tracking (Meta native)
-**Purpose:** Detect and track QR codes in real time. Open webviews or log-in to 3rd party services with ease.
75
-
-**Description:**Similarly to the object detection sample, get QR code coordinated and projects them into 3D space. Detect QR codes and call their URLs. You can select between a multiple or single QR code mode. The sample is running at around `70 fps`for multiple QR codes and a stable `72 fps` for a single code. Users are able to choose between CenterOnly and PerCorner raycasting modes via an enum in the inspector. This enables more accurate rotation tracking for use cases that require it (PerCorner), while preserving a faster fallback (CenterOnly).
74
+
-**Purpose:** Detect and track QRCodes without having to use a third-party library.
75
+
-**Description:**As this feature is still in experimental state, make sure to use experimental mode on your Quest3 when testing. Unity usually asks for enabling that, before building. You can activate it via command line command using Meta Quest Hub too. More information can be found here - [MR Utility Kit QRCode Detection](https://developers.meta.com/horizon/documentation/unity/unity-mr-utility-kit-qrcode-detection) and here - [Mobile Experimental Features](https://developers.meta.com/horizon/documentation/native/android/mobile-experimental-features/)
76
76
77
77
<details>
78
78
<summary>How to run this sample</summary>
79
79
80
-
-Open the `QRCodeTracking` scene.
81
-
-ZXing.Net 0.16.11 is included; the editor script maintains the `ZXING_ENABLED` define.
82
-
-Choose Single or Multiple detection mode and the raycast mode (CenterOnly vs PerCorner).
83
-
- Build to Quest, point the headset toward QR codes, and interact with the spawned markers.
80
+
-Install **TextMeshPro Essentials** if prompted.
81
+
-Enable Experimental Mode on your Quest 3/3S (headset UI or Quest Hub CLI).
82
+
-Open the **QRCodeDetection** scene.
83
+
- Build and deploy to your device, then use the controllers to interact with the UI (hand tracking is not yet supported).
-**Purpose:** Detect and track QRCodes without having to use a third-party library.
245
-
-**Description:** As this feature is still in experimental state, make sure to use experimental mode on your Quest3 when testing. Unity usually asks for enabling that, before building. You can activate it via command line command using Meta Quest Hub too. More information can be found here - [MR Utility Kit QRCode Detection](https://developers.meta.com/horizon/documentation/unity/unity-mr-utility-kit-qrcode-detection) and here - [Mobile Experimental Features](https://developers.meta.com/horizon/documentation/native/android/mobile-experimental-features/)
246
-
247
-
<details>
248
-
<summary>How to run this sample</summary>
249
-
250
-
- Install **TextMeshPro Essentials** if prompted.
251
-
- Enable Experimental Mode on your Quest 3/3S (headset UI or Quest Hub CLI).
252
-
- Open the **QRCodeDetection** scene.
253
-
- Build and deploy to your device, then use the controllers to interact with the UI (hand tracking is not yet supported).
- Unity **6000.3.12f1**, Meta XR Core/MRUK **205.0.0**, Inference Engine **2.6.1**, OpenXR **1.18.0**, Meta OpenXR **2.6.1**, and URP **17.3.0**. Other direct dependencies are pinned in the manifest.
264
-
- QR and WebRTC dependencies install with the project. All eight sample scenes are checked for missing scripts.
248
+
- QR tracking uses Meta MRUK; WebRTC dependencies install with the project. All seven sample scenes are checked for missing scripts.
- API credentials must be supplied privately for ImageLLM; never commit a real key to a prefab or scene.
267
251
-**Build and Run** defaults to ColorPicker. Use the per-sample build command and Quak device tests in [Testing](docs/testing.md) for the other scenes.
@@ -311,7 +295,7 @@ Allow Package Manager to resolve the pinned dependencies, then follow the select
311
295
312
296
# Troubleshooting & Known Issues
313
297
314
-
- For sample 7 QR Code Detection, make sure experimental mode is active. You can find more information about the necessary steps [here](https://developers.meta.com/horizon/documentation/unity/unity-mr-utility-kit-qrcode-detection).
298
+
- For sample 3 QR Code Detection, make sure experimental mode is active. You can find more information about the necessary steps [here](https://developers.meta.com/horizon/documentation/unity/unity-mr-utility-kit-qrcode-detection).
315
299
- Object Detection uses `Unity.InferenceEngine` with `com.unity.ai.inference@2.6.1`.
316
300
- If switching between Unity 6 and other versions such as 2023 or 2022 it can happen that your Android Manifest is getting modified and the app won't run anymore. Should this happen to you make sure to go to `Meta > Tools > Update AndroidManifest.xml` or `Meta > Tools > Create store-compatible AndroidManifest.xml`. After that make sure you add back the `horizonos.permission.HEADSET_CAMERA` manually into your manifest file.
317
301
@@ -401,7 +385,6 @@ large files are removed from the current checkout. See
401
385
402
386
- Thanks to **Meta** for the Passthrough Camera API and [**Passthrough Camera API Samples**](https://github.com/oculus-samples/Unity-PassthroughCameraApiSamples/).
403
387
- Thanks to shader wizard [Daniel Ilett](https://www.youtube.com/@danielilett) for helping me in the shader samples.
404
-
- Thanks to **[Michael Jahn](https://github.com/micjahn/ZXing.Net/)** for the ZXing.Net library used for the QR code tracking samples.
405
388
- Special thanks to [Markus Altenhofer](https://www.linkedin.com/in/markus-altenhofer-176453155/) from [FireDragonGameStudio](https://www.youtube.com/@firedragongamestudio) for contributing the WebRTC sample scene.
406
389
- Special thanks to [Thomas Ratliff](https://x.com/devtom7) for contributing his [shader samples](https://x.com/devtom7/status/1902033672041091453) to the repo.
"Native QR must be clearly distinguished from the raw-camera sample.");
44
-
Require(SampleMenu.AvailableScenes().Length==7&&!SampleMenu.AvailableScenes().Any(path =>path.Contains("WebRTC-SingleClient")),"The combined build must contain all seven headset samples.");
44
+
Require(SampleMenu.AvailableScenes().Length==6&&!SampleMenu.AvailableScenes().Any(path =>path.Contains("WebRTC-SingleClient")),"The combined build must contain all six headset samples.");
0 commit comments