Table of Contents

EasyAR sample applications

This article lists EasyAR sample applications.

Sample code can be obtained from the following locations:

WeChat

Development environment Description/documentation Runtime platform/system Language Sample
WeChat Mega quick start Mini Program TypeScript Mega
WeChat Image cloud recognition quick start Mini Program JavaScript CloudRecognition_ImageTracking

Web

Development environment Description/documentation Runtime platform/system Language Sample
Web Image cloud recognition quick start Web JavaScript CloudRecognition

Unity

Development environment Description/documentation Runtime platform/system Language Sample
Unity Unity sample launcher Android, iOS, Windows, macOS C# AllSamplesLauncher
Unity AR Session basic workflow Android, iOS, Windows, macOS, editor simulation C# Workflow_ARSession
Unity Camera control Android, iOS, Windows, macOS, editor simulation C# Workflow_FrameSource_CameraDevice
Unity Basic image tracking Android, iOS, Windows, macOS, editor simulation C# ImageTracking_Targets
Unity Track images and play videos and transparent videos Android, iOS, Windows, macOS, editor simulation C# ImageTracking_Video
Unity Use motion fusion to extend tracking from images Android, iOS, editor simulation C# ImageTracking_MotionFusion
Unity Create and track image targets from the camera image in real time Android, iOS, Windows, macOS, editor simulation C# ImageTracking_TargetOnTheFly
Unity AR coloring, track images and "convert" them to 3D in real time Android, iOS, Windows, macOS, editor simulation C# ImageTracking_Coloring3D
Unity Track multiple image targets at the same time (single tracker) Android, iOS, Windows, macOS, editor simulation C# ImageTracking_MultiTarget_SingleTracker
Unity Track multiple image targets at the same time (multiple trackers) Android, iOS, Windows, macOS, editor simulation C# ImageTracking_MultiTarget_MultiTracker
Unity Track multiple identical image targets at the same time Android, iOS, Windows, macOS, editor simulation C# ImageTracking_MultiTarget_SameImage
Unity Cloud recognition and track images Android, iOS, Windows, macOS, editor simulation C# ImageTracking_CloudRecognition
Unity Object tracking Android, iOS, Windows, macOS, editor simulation C# ObjectTracking
Unity Motion tracking and plane detection Android, iOS C# MotionTracking_DeviceMotionAndPlaneDetection
Unity Dense spatial map environment interaction game Android, iOS, editor simulation C# SpatialMap_Dense_BallGame
Unity Sparse spatial map mapping, real-time content editing, and preview Android, iOS, editor simulation C# SpatialMap_Sparse_AllInOne
Unity Build sparse spatial map Android, iOS, editor simulation C# SpatialMap_Sparse_Building
Unity Download and track sparse spatial map Android, iOS, editor simulation C# SpatialMap_Sparse_Localizing
Unity Surface tracking Android, iOS C# SurfaceTracking
Unity Mega Block quick start Android, iOS, editor simulation C# MegaBlock_Basic
Unity Mega load annotation data Android, iOS, editor simulation C# MegaBlock_Ema
Unity Mega Landmark Android, iOS, editor simulation C# MegaLandmark_Basic
Unity Use multiple AR features together with motion tracking Android, iOS, Windows, macOS, editor simulation C# Combination_BasedOn_MotionTracking
Unity Track 3D objects and images at the same time Android, iOS, Windows, macOS, editor simulation C# Combination_ObjectTracking_ImageTracking
Unity Track sparse spatial map and image at the same time Android, iOS, editor simulation C# Combination_SpatialMap_ImageTracking
Unity Build sparse spatial map and dense spatial map Windows at the same time Android, iOS, editor simulation C# Combination_SpatialMap_Sparse_Dense
Unity Use video stream as a custom camera Android, iOS, Windows, macOS, editor simulation C# Workflow_FrameSource_ExternalImageStream
Unity Use multiple AR features on Apple Vision Pro headsets Apple Vision Pro C# Combination_BasedOn_AppleVisionPro
Unity Use multiple AR features on XREAL glasses Android (XREAL) C# Combination_BasedOn_Xreal
Unity Use multiple AR features on Pico headsets Android (Pico) C# Combination_BasedOn_Pico
Unity Use multiple AR features on Rokid glasses Android (Rokid) C# Combination_BasedOn_Rokid
Unity Template for creating headset extension packages Android C# com.easyar.sense.ext.hmdtemplate
Unity Video recording Android C# VideoRecording
Unity Mega annotation extension Android, iOS C# MegaAnnotationExtension

Native

Development environment Description/documentation Runtime platform/system Language Sample
Native Basic image tracking Android, iOS, Windows Java, Objective-C, C++ HelloAR
Native Basic image tracking Android, iOS C++ HelloARCpp
Native Basic image tracking Android Kotlin HelloARKotlin
Native Basic image tracking iOS Swift HelloARSwift
Native Image tracking (console) Windows C# HelloARCSharp
Native Image tracking (Qt GUI) Windows C++ HelloARQt
Native Track images and play videos and transparent videos Android, iOS Java, Objective-C HelloARVideo
Native Load etd files as tracking targets for image tracking Android, iOS Java, Objective-C HelloARImageTargetData
Native Generate ImageTargetData (etd) files for image tracking Windows C++ HelloARImageTargetDataGenerator
Native Track multiple image targets at the same time (single tracker) Android, iOS Java, Objective-C HelloARMultiTarget_SingleTracker
Native Track multiple image targets at the same time (multiple trackers) Android, iOS Java, Objective-C HelloARMultiTarget_MultiTracker
Native Track multiple identical image targets at the same time Android, iOS Java, Objective-C HelloARMultiTarget_SameImage
Native Cloud recognition and track images Android, iOS Java, Objective-C HelloARCRS
Native Object tracking Android, iOS Java, Objective-C HelloARObjectTracking
Native Motion tracking Android, iOS Java, Objective-C HelloARMotionTracking
Native AR Engine motion tracking integration Android Java HelloARAREngine
Native AR Engine motion tracking integration Android C++ HelloARAREngineCpp
Native Surface tracking Android, iOS, Windows Java, Objective-C, C++ HelloARSurfaceTracking
Native Custom camera Android, iOS Java, Objective-C HelloARCustomCamera
Native Video recording Android, iOS Java, Objective-C HelloARRecording