From the course: AR Development Techniques 03: Recognition and Tracking

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Simple object detection

Simple object detection

From the course: AR Development Techniques 03: Recognition and Tracking

Start my 1-month free trial

Simple object detection

- In this video, we are going to create a simple object detection app, where we point our phone to an object and it detects it and displays some virtual info over it. So let's create a new unity project. I'll name this AR object detection create. Turn on the auto-generate lightning, and let's download the AR packages. Go to window package manager. We need the AR foundation package. But this time we need 4.0.8 version, because this is the one which provides tools and scripts to implement object detection. So instead of clicking on 2.1.8, click on this version and install. Do the same with ARKit 4.0.8 and install. Now close the window and let's instantiate the AR session on AR session, origin objects. AR session origin and AR session. We don't need the main camera, because we already have one right here. Now to implement object detection we need to add a script on AR session origin object. And this is AR tracked…

Contents