Working with Augmented reality – ARCore
What is ARCore
ARCore is Google’s platform for building augmented reality experiences. Using different APIs, ARCore enables your phone to sense its environment, understand the world and interact with information. Some of the APIs are available across Android and iOS to enable shared AR experiences.
Capabilities
ARCore uses three key capabilities to integrate virtual content with the real world as seen through your phone’s camera:
- Motion tracking allows the phone to understand and track its position relative to the world.
- Environmental understanding allows the phone to detect the size and location of all type of surfaces: horizontal, vertical and angled surfaces like the ground, a coffee table or walls.
- Light estimation allows the phone to estimate the environment’s current lighting conditions.
Supported Devices
ARCore is designed to work on a wide variety of qualified Android phones running Android 7.0 (Nougat) and later. A full list of all supported devices is available here.
Working With ARCore For Android
Create an Android project and paste these code to the gradle(app) file
Create an Android project and paste these code to the gradle(app) file
implementation ‘com.google.ar.sceneform.ux:sceneform-ux:1.6.0’
implementation ‘com.google.ar.sceneform:core:1.6.0’
implementation ‘com.google.ar.sceneform:assets:1.6.0’