Build 12 Augmented Reality (AR) apps with Unity & Vuforia
Curious about Augmented Reality, You have come to the right place. Learn the basics fundamentals and programming techniques required for building fully functional Augmented Reality android and iOS apps. For this course you will need an Android Smartphone or iPhone.
So what is Augmented Reality?
According to Wikipedia, Augmented reality (AR) is a live direct or indirect view of a physical, real-world environment whose elements are “augmented” by computer-generated or extracted real-world sensory input such as sound, video, graphics or GPS data.
In Augmented Reality the real view is modified by a computer (Smartphone in this case). Augmented reality (AR) enhances one’s current perception of reality, whereas in contrast, virtual reality replaces the real world with a simulated one. Augmentation techniques are basically performed in real time,
Eg : Displaying live scores and statistics inside a live video of a sporting event
Power of Augmented Reality
I came across Augmented Reality in 2015 after watching a video of Augmented Reality Book. I was fascinated to know that such technology actually exists. So I started researching on different Augmented Reality platform. Vuforia platform seemed very promising as developers all over the World have used Vuforia for developing Augmented Reality apps.
Pokemon Go game is the best example of Augmented Reality. Other than that Augmented Reality apps expand over a wide range of topics from Education, Business, Architecture, Health Industry, Home Decoration and obviously mobile gaming.
Course Content and Overview
This course is designed for students interested in creating Augmented Reality apps. No coding experience is required; all you need is an Android or iOS device for testing your Augmented Reality apps. We will start from basics of Unity, C# platform and then move to higher topics
Intro & Basics of Augmented Reality
In the first section you will first understand as to what is Augmented Reality? Next we will look at the four different augmented reality techniques and its application. After this I will explain you what is Virtual Reality and the differences between Augmented Reality (AR) & Virtual Reality (VR)
Basics of Unity
After understanding Augmented Reality next we will look at the basics of Unity as Unity is the main software which we will use for building Augmented Reality apps.
Augmented Reality One (ARONE) application
ARONE is the first Augmented Reality Application which you are going to create. In this app you will
Create Vuforia account
Create License Key for the AR app
Upload an Image as Image Target
Understand Vuforia Image Recognition system
Solution to White ImageTarget problem in Vuforia version 6.2.10
Download 3D model from Unity Asset Store
Place 3D Model on top of Image Target
Download ARONE app database from Vuforia and activate it inside Unity
Build this app for Android & Ios
Augmented Reality Book (ARBOOK) application
In the ARBook application we will first create few sketches inches a drawing book. Next we will download some 3D Models from the asset store and project the 3D Model on top of each image target.
Application like ARBOOK can be implemented in Schools & Colleges for teaching complicated subjects in a fun and easier way.
Virtual Button & Augmented Reality Business Card (ARBusinessCard)
In this section I will explain first explain you the concept of Virtual Button in Vuforia and the six important factors that should be considered while working with Virtual Button.
Next you will create a simple Virtual Button app called AugmentedRealityVirtualButton in which you will understand the important function & interface that are required for working with Virtual Button.
After the ARVirtualButton app we will then create and ARBusinessCard. In the ARBusinessCard app you will first place multiple virtual buttons on top of an Image Target. Next I will show you how to play video file inside Unity, After this we will write a C# script to play a particular video when the virtual button for a particular video is pressed
Augmented Reality Greeting Card
In this section, you will learn the process of detecting multiple image targets simultaneously at the same time. You will also add an mp3 file in the app that will start playing only when the greeting card is opened.
Superimposition based AR | Object tracking –
In this section you will first scan a 3D model using Vuforia’s 3D scanning android application. Next we will import this model inside Unity and on top of this model we will superimpose a digital car.
Cylindrical Object tracking
In this section you will learn the technique for detecting a cylindrical object. After detecting the cylindrical object you will create a beautiful 3D scenic view around the cylinder with the help of airplanes, low poly clouds and low poly terrains.
Vuforia Cloud Recognition
In this section you will understand the working of Vuforia cloud databases. You will create an application called BookInfoAR. This application will scan a book cover(marker) and display information panel beside the book cover. The information of the marker is stored in cloud database.
Ground Planes and MidAir
In this section you will create your first markerless augmented reality using Vuforia Ground Plane. With ground plane feature we will place a lifesize Lamborghini model in real world. Next using the MidAir feature we will place a drone in mid air.
User Defined Target
In this section you will understand a feature called User Defined Target feature from the Vuforia Core Sample. With the help of User Defined Target feature we can use any image as an marker.
So after explaining you the course content I hope to see you inside this Augmented Reality course
INTRODUCTION TO AUGMENTED REALITY
So in this video you understand the meaning of Augmented Reality.
Augmented Reality is a technology that superimposes a computer-generated image on a user's view of the real world, thus providing a composite view.
The above definition is obviously is a bit difficult to understand so keep watching this video to understand Augment Reality is details
In this video you will first understand What is Virtual Reality and then we look at the differences between Augmented Reality & Virtual Reality
BASICS OF UNITY
In this Section you will understand the basics of Unity & C# programming, In this video I will explain you how to position, rotate & scale gameobjects in Unity
In this video you will learn the concept of RigidBody & how to add RigidBody to gameobjects
In this video you will first create materials in Unity & then you will apply material color to Sphere & Cube
In this video I will explain the concept of Parent & Child GameObjects in Unity
In this video you will first create C# script's in Unity and then I will explain you the code written inside the C# script
AUGMENTED REALITY ONE APPLICATION
This is the section intro of the ARONE app which you will make in this section. In this section you will
- Create the ARONE app
- Create a Vuforia account
- Generate the api key for ARONE app
- Upload Image as Image Target inside Vuforia
- Install JRE, JDK & Android Studio software
- Setup Android Studio & JDK software with Unity
- Build ARONE app and run it inside Android Smartphone
In this video I will explain you in details the steps required for capturing or scanning images using and Android Smartphone or iOS device
In this video I will explain in details the steps required for installing Android Studio
In this video we will first setup the JDK & Android Studio software with Unity Next we make changes in Player Setting and build the ARONE app for Android Smartphone
In this video you will learn how to add shadow's to any gameobject.
AUGMENTED REALITY BOOK APPLICATION
This is the section intro of the ARBOOK app which you will make in this section. In this section you will
- Create the ARBOOK app
- We will sketch 7 images inside a drawing book & upload them as Image Targets
- Customize the SUN Image Target
- Customize the HOUSE Image Target
- Customize the SHIP Image Target
- Customize the CAR Image Target
- Customize the FOREST Image Target
- Customize the AEROPLANE Image Target
- Customize the ARBOOK Image Target
- Solve the problem related to SHIP & AEROPLANE ImageTarget
- Edit the DefaultTrackableEventHandler Script
In this video I will scan 7 images inside a drawing book, so you can either draw your own sketches or download the sketches from the resource section & paste them inside a normal book
In this video we will customize the HOUSE Image Target
In this video we will customize the SHIP Image Target
In this video we will customize the CAR Image Target
In this video we will customize the FOREST Image Target
In this video we will customize the AEROPLANE Image Target by adding the Aeroplane model
In this video we will customize the AEROPLANE Image Target by adding the Cloud Model on top of it
In this video we will customize the ARBOOK Image Target BY ADDING 3D Models on top of Image Target
In this video we will customize the ARBOOK Image Target BY ADDING 3D Text on top of Image Target
In this video we will build the apk file for the ARBook application and run the application inside an Android Smartphone. So in this video we will first add the ARBOOKSCENE inside the Build Setting. Next we will customize the Player Setting by modifing the Company Name, Product name, Screen Orientation, Package name & Version number
In this video we will look at the problem related to the Ship & AeroPlane Image Target i.e the Aeroplane & Ship model start moving at the start moving as soon as the application starts.
In this video we will edit the DefaultTrackableEventHandler script and write the code to activate the Ship, Aeroplane & Cloud model's only when the Ship ImageTarget & AeroPlane Image Target are opened in front of the camera
Output for the Augmented Reality Book (ARBook) application
AUGMENTED REALITY GREETING CARD
AUGMENTED REALITY GREETING CARD WITH 2D CANVAS
In this video, we will first create a new Scene called Menu Scene. Next we will add a Canvas inside the Scene and finally we will add and customize a Background Image so that it fit's perfectly on the Canvas
In this video we will first add a 2D Text inside the canvas. Next we will download a font from the Google Font website and use the downloaded font for our 2D Text
In this video we will add 2D Buttons inside the Canvas and customize the color, text & size of the buttons.
In this video we will write the program to interacting with the ROTATE CUBE, GREETING CARD & EXIT BUTTON.
If the ROTATE CUBE or GREETING CARD button is pressed then the app will switch to appropriate scene.
If the EXIT button is pressed then the Application will not close as we are running the app inside Unity Environment, but we will get a message inside the console saying EXIT BUTTON PRESSED
In this video we will add a BACK & CLOSE IMAGE BUTTON inside the ARGREETINGCARD Scene and ROTATE CUBE Scene
In this video we will write the program to switch back to Menu Scene when the BACK button is pressed & close the scene when the EXIT button is pressed inside the ARGREETINCARD Scene & ROTATE CUBE Scene
In this video we will built the AR GREETING CARD app
In this video we will built the AR GREETING CARD app without the Background image so that we can see the video output from the Camera of the Smartphone
VIRTUAL BUTTON & AUGMENTED REALITY BUSINESSCARD
This is the section intro of the ARBusinessCard app which you will make in this section. In this section you will
This is the intro video of ARBusinessCard app which you will learn in the upcoming videos. In this video I have provided the ARBusinessCard template which you can use to create your BusinessCard Image Target