Table of Contents

Use AR in WeChat Mini Program

Developing AR applications in WeChat Mini Program depends on VisionKit and xr-frame components provided by WeChat. Developers can implement features such as image tracking and motion tracking. Through EasyAR, WeChat Mini Program also supports Mega and image cloud recognition (CRS).

To implement an AR experience in Mini Program, multiple components need to work together:

  • XR-Frame is responsible for camera control and rendering and overlaying 3D virtual content in Mini Program.
  • VisionKit provides image tracking, local device motion tracking, and other features.
  • EasyAR CRS provides the position and pose of image cloud recognition relative to a known planar target.
  • Mega provides the six-degree-of-freedom position and pose of the device relative to a known spatial environment.

Next steps

To help you quickly develop WeChat Mini Program applications, refer to the related getting started guides and sample code.