PointAR is a concept app showcasing the use of Augmented Reality to assist the foreign workforce with the induction process through the use of 3D animation for visualisation and built-in translations. Check out the app on the Google Play Store.
James Culley (@LDE_iGuru) for conceptualizing the idea.
Tadas Sadauskas (@Tadas_Sadauskas) for the 3D animation and translations.
The app was developed with the following 2 signs in mind:
The app has the following three custom scripts, coded in C#, within the “/assets/_Scripts” folder:
|AutoFocus.cs||Used to configure Vuforia to use autofocus on the device’s camera.|
|playbackspeed.cs||Controls the playback speed of the animation.|
|translate.cs||Used to translate each sign by selecting a language from a drop-down menu.|
Each script includes in-line comments explaining what the line is used for.
How to use
- Begin by downloading the project and opening it into Unity. Note the project was last used in
- Navigate to the
_Scenesfolder, and load the
mainscene by double-clicking it.
- Select the
AR Cameracomponent from the hierarchy, and under the
Vuforia Behaviourcomponent, click on
Open Vuforia Configuration.
- Press the
Add licensebutton just below the App License Key field. This step is required for Vuforia to be enabled. You will be redirected to the Vuforia Dev Portal. Login or register with a free account, and generate a new license key.
- Copy the license key and paste it into the
App License Keyinput field encountered in step 3.
How it works
The main menu consists of a
drop-down menu and a
start button. The scene is composed of two Vuforia
ImageTarget GameObjects, one for each sign, with images of the translated sign as children GameObjects.
The drop-down menu has the script
translate.cs attached as a component, and takes each translated sign as an input.
The script then creates an event,
onValueChange, which detects when the user changes the language. Each sign is hidden by default. When the
onValueChange event is triggered, it will display the correlated sign (i.e. “Italian” will un-hide the Italian translation, while keeping “Lithuanian” and “Urdu” translations hidden).
Export for Android
Make sure you have the required software installed beforehand. Open the
Build settings dialogue from the
File menu, and press
Export for iOS
Follow Unity’s Getting started with iOS guide.