Table of Contents

Custom camera

In some cases, the built-in supported cameras may not meet the requirements, and 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 use by trackers. You can implement the image data acquisition for a custom camera yourself.

Available platforms: Unity, Native

Before you begin

Use cases for custom cameras

Custom cameras can be used in the following scenarios:

  • External cameras

    For example, on Android, the system API does not support external cameras, and you can only use external cameras via libuvc.

  • Remote camera streaming

  • Video files

  • Head-mounted displays

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 versions, using a custom camera to leverage the motion tracking capabilities provided by the phone.

  • Head-mounted displays

    Image input for various head-mounted displays is implemented through custom cameras.

Limitations of custom cameras

Limitations of custom cameras include:

  • On head-mounted display devices

    • EasyAR Sense XR License trial version

      Can be used for 100 seconds per run (Mega users can adjust the duration via EasyAR Business after approval). A watermark may be displayed under certain conditions, and an internet connection may be required for use on some devices.

    • EasyAR Sense XR License official version

      No restrictions

  • On other devices

    • EasyAR Sense Personal Edition

      Can be used for 100 seconds per run (Mega users can adjust the duration via EasyAR Business after approval). A watermark may be displayed under certain conditions.

    • EasyAR Sense Professional/Classic/Enterprise Edition

      No restrictions