Access RGB Camera

Device Compatibility

Device Compatibility

The reliability of glasses' RGB Camera has been fully tested on the following Android phones:

  • Oneplus: 9 / 9pro

  • Samsung: Galaxy S10+ / Galaxy S21 / Galaxy S21 Ultra 5G / Galaxy S21 5G / Galaxy S21 5G / Galaxy S20 Ultra 5G / Galaxy S20+ 5G / Galaxy Note20 5G / Galaxy S21 5G / Galaxy Z Fold 3 5G / Galaxy S22

  • Sony: X1 iii

  • LG: Wing / V50s

  • Arrows: NX9

  • OPPO: Find X2 pro / Find X5 pro

Glasses' RGB camera can also work on Android phones besides the above. However, the compatibility is not guaranteed. For the full list, please refer to Device Compatibility.

Developer Guide

Import the NRSDK

Import NRSDKForUnity_1.9.1.unitypackage in the package.

Open the Sample Scene

In the Unity Project window, you can find the CameraCaptureDemo sample in: Assets > NRSDK >Demos > RGBCamera-Record.

Inspect the Sample Code

  • See CameraCaptureController.cs , located in Assets/NRSDK/Demos/RGBCamera/Scripts/CameraCaptureController.cs for an example on how to get the texture of RGB Camera.

  • See VideoCapture2LocalExample.cs, located in Assets/NRSDK/Demos/Record/Scriptsfor an example on how to implement video capture

Build and Run the Sample App

  • Audio record needs the permission of “android.permission.RECORD_AUDIO”, Add it to your “AndroidManifest.xml” file in “Assets/Plugin”.

  • The Previewer is used to preview live images in real time, for debugging purposes. Click the APP key of the controller to show or hide it.

  • Click the Start button to start video capture.

  • Click the Stop button to stop video capture. It will save the video file to “Application.persistentDataPath” path.

Last updated

Was this helpful?