Table of Contents

Custom camera

In some cases, the built-in supported cameras cannot meet requirements. In this situation, you may need to consider using a custom camera. A custom camera can support obtaining image data from external sources and inputting it into the AR system for trackers to use. You can implement image data acquisition for the custom camera yourself.

Available platforms: Unity, native

Before you start

Use cases for custom cameras

Custom cameras can be used in the following scenarios:

  • External cameras

    For example, on Android, system APIs do not support external cameras, so external cameras can only be called through libuvc.

  • Remote camera streaming

  • Video files

  • Headsets

Custom cameras used in the AR system

Custom cameras used in the AR system include:

  • AREngineInterop

    Provides Huawei AR Engine support on HarmonyOS 4.x and earlier, and uses the motion tracking capability provided by the phone through a custom camera.

  • Headsets

    Image input for many headsets is implemented through custom cameras.

Custom camera usage restrictions

Custom camera usage restrictions are as follows:

  • On headset devices

    • EasyAR Sense XR License trial version

      Can be used for 100 seconds each run. Mega users can adjust the duration after approval through EasyAR business. A watermark is displayed under some conditions, and network access is required on some devices.

    • EasyAR Sense XR License official version

      Unlimited

  • On other devices

    • EasyAR Sense Personal Edition

      Can be used for 100 seconds each run. Mega users can adjust the duration after approval through EasyAR business. A watermark is displayed under some conditions.

    • EasyAR Sense Professional Edition / Classic Edition / Enterprise Edition

      Unlimited