Introduction: Augmented Reality Police Car

You will follow these 29 steps to making your own AR scene/ image.

-These steps can be applied towards any image, scene, or "floating object".

-100% free and fun.

Step 1: Download Unity

Picture of Download Unity

Download Unity from the https://unity3d.com website.

-Go to "Get Unity Now"

-Personal/Free download

-Download Installer

And proceed with instructions

Step 2: Download Vuforia

Picture of Download Vuforia

Download The Vuforia SDK File from https://developer.vuforia.com/downloads/sdk

-Click on "Download for Unity"

-Create an Account

-Drag the Vuforia file onto your desktop

Step 3: Start Your Project

Picture of Start Your Project

Open up Unity.

-Open New Unity Project

-name project

-create project

Step 4: Delete the Main Camera

Picture of Delete the Main Camera

-When you get into the project; delete the Main Camera

Step 5: Import Vuforia

Picture of Import Vuforia

Drag in the Vuforia Package

-Press import

Step 6: New Camera

Picture of New Camera

-click the Assets folder

-click the Vuforia folder

-click prefabs

-drag the AR camera to the top left side of the screen (where the main camera once was)

Step 7: Develop

Picture of Develop

Go to your web browser and go to the Vuforia Developer Portal

- https://vuforia.com

-Click Dev Portal

-Click Develop

Step 8: License Key

Picture of License Key

At the "develop" tab you have to create a license key

-Click add license key

-Copy text from the box

Step 9: Go Back to Unity

Go back to Unity

Step 10: Device Tracking

Picture of Device Tracking

(right side)

-change "world center mode" to Device Tracking

Step 11: Apply License Key

Picture of Apply License Key

(Right side)

-Click "Open Vuforia Configuration"

-Paste text where it says "App License Key"

Step 12: Find Image

Do you know the image you want to use as your AR surface?

-If you don't, find it.

Step 13: Download Your Image to Vuforia

Picture of Download Your Image to Vuforia

Go back to your Developer portal

-click "Target Manager"

-Click and make your image target (my target was called Police)

-Add target (you will now upload the image target or image surface that you'd like to use)

For width you can put virtually any number, I always put 5.

-click Add

-upload Target


Step 14: Select Target

Picture of Select Target

Select Target

-download database

-select "Unity Editor" as your development platform

Step 15: Drag Your Package Into Unity

Picture of Drag Your Package Into Unity

Drag your (file) unity package into unity

To do that you will:

-click on your assets folder

-drag the package in

-select "import"

Step 16: Datasets

Picture of Datasets

Go to "Datasets"

-click "load image file"

-click "activate"

Step 17: Back to Vuforia Folder

Picture of Back to Vuforia Folder

(bottom left side) Go back to Vuforia

-click Vuforia

-click Prefabs

Step 18: Image Target

Picture of Image Target

Select the blue "Image Target" cube

-drag the cube ONTO the AR camera so it becomes a child (on the top left side)

Step 19: Image Target Behaviour

Picture of Image Target Behaviour

Go to: Image Target Behaviour (on the right side)

-go to database

-click targets and sure that's your file

Step 20: Assets

Picture of Assets

(left side) Go to assets

-click assets

-click editor

-click QCAR

-click Image Target Textures

-(your) Image_Target (mine was named police)

Step 21: Click on Your File

Picture of Click on Your File

Click on your file

(right side)

-change "Texture Type": from Channel to Default

-change "Texture Shape": from Cube to 2D

Step 22: Apply Image Target

Picture of Apply Image Target

(top right side)

-go to Image Target, press it

-a window should pop up. Press: Apply

Step 23: Get Object From Asset Store

Picture of Get Object From Asset Store

Once your image loads, go to the Asset store.

-search for an object you want to have in your scene

-chose object

-download object

-Once it downloads, press: Import

Step 24: Find Folder

Picture of Find Folder

Find the new folder where you object is

(I downloaded a police car, so mine says "police car")

Step 25: Models

Picture of Models

Click the new folder where your object is.

-Go to "models"

Step 26: Go Back to the Main Scene

Picture of Go Back to the Main Scene

Bring your screen back to "scene" from the "asset store" window.

Step 27: Position Your Object

Picture of Position Your Object

Drag and drop your new object onto the screen

-use the blue, red, and green arrows to position your object

Step 28: Activate Your Image

Picture of Activate Your Image

Once everything is positioned and scale:

-press the left arrow on the top of your screen to play and activate your image

Step 29: Time to Play

Picture of Time to Play

Now, have fun :)

Comments

dharanibskrn (author)2017-02-07

I've done every steps as you mentioned but i could not get the image when i play it.

DIY Hacks and How Tos (author)2017-02-04

Cool augmented reality project.

About This Instructable

3,327views

54favorites

Bio: I'm an artist from Miami, living in San Francisco. I have a background in Industrial Design and fine art. I primarily make interactive sculptures ... More »
More by allisonbouganim:Augmented Reality Police Car
Add instructable to: