I knew augmented reality would be big a few years ago but I’ve never really spent a lot of time learning how to do it because I didn’t believe I was clever enough to figure it out but now there’s a lot more information to help someone like myself learn how to do it from scratch
As an engineer I have seen a lots of videos on AR and I have to say this one is in a class by itself, the rest are garbage and dont teach you anything, with this video I was able to learn in 22 minutes a lot- thank you. i will use it a reference mark to get the point across and how its done
What a great quick-start primer! AR is something I've been threatening to poke at for awhile - Unity's come very far since I last looked at it. Your primer makes it feel like I could get something going reasonably quickly that I could start poking at and experimenting with. It's really pretty mind-bending for an ancient retired programmer. What a strange but exciting time we live in! Thank you for taking the time to document this in such an approachable manner!
For those that are having issues when the audio starts before the target starts I found this c script from a year ago from playful technology that worked for me. Playful Technology 1 year ago The default Vuforia behaviour is simply to show/hide any child renderers of the image target. To make a video start/stop instead you need to create a custom trackableeventhandler. The steps required are as follows: a.) Make sure you have unticked "Play on Awake" on the Video Player component attached to the quad. b.) Assets -> Create -> C# Script and enter the following: using UnityEngine; using Vuforia; using UnityEngine.Video; /// /// A custom handler that implements the ITrackableEventHandler interface. /// public class VideoTrackableEventHandler : MonoBehaviour, ITrackableEventHandler { #region PRIVATE_MEMBER_VARIABLES protected TrackableBehaviour mTrackableBehaviour; #endregion // PRIVATE_MEMBER_VARIABLES #region UNTIY_MONOBEHAVIOUR_METHODS protected virtual void Start() { mTrackableBehaviour = GetComponent(); if (mTrackableBehaviour) mTrackableBehaviour.RegisterTrackableEventHandler(this); } #endregion // UNTIY_MONOBEHAVIOUR_METHODS #region PUBLIC_METHODS /// /// Implementation of the ITrackableEventHandler function called when the /// tracking state changes. /// public void OnTrackableStateChanged( TrackableBehaviour.Status previousStatus, TrackableBehaviour.Status newStatus) { if (newStatus == TrackableBehaviour.Status.DETECTED || newStatus == TrackableBehaviour.Status.TRACKED || newStatus == TrackableBehaviour.Status.EXTENDED_TRACKED) { Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " found"); OnTrackingFound(); } else if (previousStatus == TrackableBehaviour.Status.TRACKED && newStatus == TrackableBehaviour.Status.NOT_FOUND) { Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " lost"); OnTrackingLost(); } else { // For combo of previousStatus=UNKNOWN + newStatus=UNKNOWN|NOT_FOUND // Vuforia is starting, but tracking has not been lost or found yet // Call OnTrackingLost() to hide the augmentations OnTrackingLost(); } } #endregion // PUBLIC_METHODS #region PRIVATE_METHODS protected virtual void OnTrackingFound() { var videoComponents = GetComponentsInChildren(true); // Enable rendering: foreach (var component in videoComponents) component.Play(); } protected virtual void OnTrackingLost() { var videoComponents = GetComponentsInChildren(true); // Disable rendering: foreach (var component in videoComponents) component.Stop(); } #endregion // PRIVATE_METHODS } c.) Save as "VideoTrackableEventHandler.cs". Then, on the ImageTarget (that is the parent of the videoplayer quad), go Component -> Add... and select the VideoTrackableEventHandler class you just created. That's it!
i get this message when i run it: Assets/VideoTrackableEventHandler.cs(89,57): error CS0117: 'TrackableBehaviour.Status' does not contain a definition for 'NOT_FOUND'
Thank you for this amazing tutorial. Indoor navigation is a famous and most searched topic today. Please do a tutorial on this topic. Waiting for this.
Thanks for your video. At 5:43 I got aproblem. mine says "vuforia is not enabled. Enable it in the playerSetting in order to modify this object". Could you please let me know what should i do?
This is just epic, I had followed another tutorial where it uses GroundPlaneDetection but unfortunately that does is not supported for my mobile but this works, Thank you so much !
Hello Friend thank you very much for this tutorial, Im new with Unity and Vuforia, can you help me please,? when I use the videoplayer loop in the test camera it works ok , but in APK not working.
Hi lovely tutorial. I tried exporting this on ios. The video is playing on the marker . However the King card is not working on the queen card when i make an iOS build. The same thing seems to be working in unity with i press play button for testing, but on iphone only the video works, the card does not overlay another card. What could be the reason? Please help as i am new at this and trying to learn. Thanks.
I figured out the issue . there was another default scene available in the project. I deleted that from the scenes to be loaded while compiling the project and my scene started working. :)
Now after seeing this tutorial it seems very easy....... We would like to have more videos/tutorials abut the unity (through updated versions)....... Thank you
Whoah, thank you so much! I am taking baby steps on this as I come from a different background and i need it now. Your video was super clear and well explained, even for total beginners like me! :D
Hey Hi! You're so Awesome for showing us this. I just can't thank you enough. I want to learn more from you. I'm interested, curious and very eager. Waiting for your reply.
Great tutorial! I've tried using my own tracking image and video....however my video automatically plays even when the tracking image isn't even in the frame. Why might this be the cause and how do I resolve this?
Thank you so much!! your tutorial is so good it helped me a lot!! It was a bit frustrating someties while Building the app but at the end was awesome and I was so exited and happy.
DoAnything If you look at 14:08, you'll see the Video Player component has a property called Audio Source that currently says "None (Audio Source)". If you add an AudioSource component to the object and then drag the component into that slot, you'll get audio on the video too.
Great beginners' video! If I'm understanding correctly, videos with audio included do not play audio when viewing the AR asset, so, you have to add the audio separately? That's odd. That could cause all sorts of lip syncing issues couldn't it? Or am I missing something?
Hi, am very appreciative for the tutorial but am stuck on making the sound play when the actual video overlay starts. I can add an audio channel however the audio plays as soon as you start the app and not when the video overlay starts - am happy to pay you to help me solve this :) kid regards from New Zealand
This is brilliant. Thanks for doing the tutorial. It must have taken a while to learn how to use that program. I bought a Merge Cube last month and had been thinking that it must be possible to make ones own AR objects to use with it. Now I know how....😁
Hey Thanks for this simple yet effective tutorial. This video has more than half a million views as of Feb 2020 and nearly 1,000 comments. I am pretty sure if you make more similar videos to this, your followers will dramatically increase as there are no clear cut and simple tutorials like this one. I would be interested in a followup video to this to add controllers, start/stop button, adding on screen text, etc.
Thank you for great tutorial but please we need more tutorials on this topic. Vote if you like to people!
can you give me some advice on how to reduce this size and save this data on online bases as i want to track around 20-25 images based on video??
I'm putting out tutorials on my channel if you're interested
exactly, thank you, what about OBJ in AR
I want to see AR's that can talk, and combined with Qled portraits
I want to see AR's that can talk, and combined with Qled portraits
Excellent tutorial. Went from scratch to a demo in 2 hours (including software download and setup). Thank you!
Can I get your contact
does the ar video have sound. and what app do you use for users to view on?
This was my first tutorial with Unity. It was very easy to follow and is part of the reason I started to learn Unity. So thank you!
This is, as a matter of fact, a service to the humanity for free. Simply great!
Such a good tutorial! Well paced, clear, succinct and delivers what it says on the box. Really appreciate you taking the time, thanks 🙏🏼
. ,
You have no idea how much this helped me in my research on AR/VR/MR. Thank you very much. Seriously.
Thank you. These instructions were clearer compared to all that I've been seeing online.
I knew augmented reality would be big a few years ago but I’ve never really spent a lot of time learning how to do it because I didn’t believe I was clever enough to figure it out but now there’s a lot more information to help someone like myself learn how to do it from scratch
A very complex process, but you certainly provided a great tutorial for us beginners to get started. THANK YOU!
As an engineer I have seen a lots of videos on AR and I have to say this one is in a class by itself, the rest are garbage and dont teach you anything, with this video I was able to learn in 22 minutes a lot- thank you. i will use it a reference mark to get the point across and how its done
Wow man I just stumbled through this. Took me about 4 hours because I'm inept, but in the end had a working app. Thank you very much!!
is it possible through the application to create projects to be visualized?
or is it possible to just look at what was added when creating the app?
this video really help me who has no knnowledge in unity and vuforia. thank you
Fantastic demo, thank you for putting the time and energy into creating it. We done Sir!
What a great quick-start primer! AR is something I've been threatening to poke at for awhile - Unity's come very far since I last looked at it. Your primer makes it feel like I could get something going reasonably quickly that I could start poking at and experimenting with. It's really pretty mind-bending for an ancient retired programmer. What a strange but exciting time we live in! Thank you for taking the time to document this in such an approachable manner!
I watched this video twice
Once as I was interested
Twice as I am copying it :)
I know nothing about AR and this tutorial worked perfectly and got me hooked so much. Awesome work.
What a fantastic tutorial! I had no idea how to do anything with AR and you've shown me how easy it is to do a basic puzzle in AR. Thank you.
Try the tutorial and let me know if you succeed.
tnx man!
a bit upset that such a great channel has only 8k followers.
Rightly Said Alexander, and too many worst videos maker are having millions of Followers, that's l the worst part of the RUclips.
This is best tutorial I have ever come across. You explained it perfectly! Thank you...
if you are still looking for others that go super in depth from simple design to execution, i make some too!
Unbelievably helpful, easy to understand, and skilfully delivered. Great job!
Cool, you'd saved me time spend on AR lessons in college. Really helped!
Which college are you studying
RIGHT? I’m doing RUclips Instead of college
Thank you so much. You described each and every step very clearly. This helped me to use Unity with vuforia very easily than others. Love this.
thank you SO much for this, i'm a total beginner to unity and you saved me a whole deal of stress. you're a champ!
Brilliant work mate. So good. I feel your a good teacher. I’m confident I can try a simple AR now. Thankyou
I wished you were my teacher or professor 😭❤️
Teachers dont get views 😒
Even if he eas ur teacher, it will be boring as he has to teach from syllabus only
For those that are having issues when the audio starts before the target starts I found this c script from a year ago from playful technology that worked for me.
Playful Technology
1 year ago
The default Vuforia behaviour is simply to show/hide any child renderers of the image target. To make a video start/stop instead you need to create a custom trackableeventhandler. The steps required are as follows:
a.) Make sure you have unticked "Play on Awake" on the Video Player component attached to the quad.
b.) Assets -> Create -> C# Script and enter the following:
using UnityEngine;
using Vuforia;
using UnityEngine.Video;
///
/// A custom handler that implements the ITrackableEventHandler interface.
///
public class VideoTrackableEventHandler : MonoBehaviour, ITrackableEventHandler
{
#region PRIVATE_MEMBER_VARIABLES
protected TrackableBehaviour mTrackableBehaviour;
#endregion // PRIVATE_MEMBER_VARIABLES
#region UNTIY_MONOBEHAVIOUR_METHODS
protected virtual void Start()
{
mTrackableBehaviour = GetComponent();
if (mTrackableBehaviour)
mTrackableBehaviour.RegisterTrackableEventHandler(this);
}
#endregion // UNTIY_MONOBEHAVIOUR_METHODS
#region PUBLIC_METHODS
///
/// Implementation of the ITrackableEventHandler function called when the
/// tracking state changes.
///
public void OnTrackableStateChanged(
TrackableBehaviour.Status previousStatus,
TrackableBehaviour.Status newStatus)
{
if (newStatus == TrackableBehaviour.Status.DETECTED ||
newStatus == TrackableBehaviour.Status.TRACKED ||
newStatus == TrackableBehaviour.Status.EXTENDED_TRACKED)
{
Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " found");
OnTrackingFound();
}
else if (previousStatus == TrackableBehaviour.Status.TRACKED &&
newStatus == TrackableBehaviour.Status.NOT_FOUND)
{
Debug.Log("Trackable " + mTrackableBehaviour.TrackableName + " lost");
OnTrackingLost();
}
else
{
// For combo of previousStatus=UNKNOWN + newStatus=UNKNOWN|NOT_FOUND
// Vuforia is starting, but tracking has not been lost or found yet
// Call OnTrackingLost() to hide the augmentations
OnTrackingLost();
}
}
#endregion // PUBLIC_METHODS
#region PRIVATE_METHODS
protected virtual void OnTrackingFound()
{
var videoComponents = GetComponentsInChildren(true);
// Enable rendering:
foreach (var component in videoComponents)
component.Play();
}
protected virtual void OnTrackingLost()
{
var videoComponents = GetComponentsInChildren(true);
// Disable rendering:
foreach (var component in videoComponents)
component.Stop();
}
#endregion // PRIVATE_METHODS
}
c.) Save as "VideoTrackableEventHandler.cs". Then, on the ImageTarget (that is the parent of the videoplayer quad), go Component -> Add... and select the VideoTrackableEventHandler class you just created. That's it!
i get this message when i run it: Assets/VideoTrackableEventHandler.cs(89,57): error CS0117: 'TrackableBehaviour.Status' does not contain a definition for 'NOT_FOUND'
everyone in the comments sections.. if we are not banding together to make Yugioh Duelist Kingdom with this.. what are we doing with our
lives?
OtaconAlonsus yugioh is for people who like pineapple on pizza. We all know then big boys focus on pokemon
You are right Sir!
This is the great thread on any AR tutorial. But you all know we need to make DIGIMON though, nerds.
hahahaha that was good
Good. We would be doing good
Nice tutorial.
Clear speech.
Perfectly paced.
Simple enough for a beginner.
Great video - you're just so good at teaching it!!
And since you love escape room games, why not teaching us an escape room for AR or VR, please?
can you give me some advice on how to reduce this size and save this data on online bases as i want to track around 20-25 images based on video??
Thank you for this amazing tutorial. Indoor navigation is a famous and most searched topic today. Please do a tutorial on this topic. Waiting for this.
Great tutorial helped me a lot on my presentation would love to get more tutorials
One of the best VuForia's tutorial.Clear .Thank's for your job!
Great video! You've taught me a lot and made it interesting. Seen your other videos and I've subscribed. Keep it up!
Exceelent tutorial, simple but informative and best part is that it took away my fear of trying. Thanks
You are A M A Z I N G ! Thank you so much for this video!
Awesome tutorial! I just discovered your channel yesterday and as a nerd and escape room enthusiast/owner I am really happy I did!
This was very concise. thanks a lot. can you make a video on creating multiple videos on multiple targets.
Bro you are more than a GREAT TEACHER, greetings from Ghana
Good tutorial. I was able to build my first AR app.
Wow. Just wow. That is an incredible video. Talk about generating ideas for escape rooms (and so much more!)
This video is great - good mix of instruction and explanation. Thanks.
Thanks buddy for taking the time to share!
Thanks for your video. At 5:43 I got aproblem. mine says "vuforia is not enabled. Enable it in the playerSetting in order to modify this object". Could you please let me know what should i do?
Bro Edit -> Projects Settings -> Player -> XR Settings and enable it
Thank you! I got the same problem :D
Thank you so much!
Hard Gamer could help me? 14:23 I don't have that option enable in "Databases"
This is just epic, I had followed another tutorial where it uses GroundPlaneDetection but unfortunately that does is not supported for my mobile but this works, Thank you so much !
Hello Friend thank you very much for this tutorial, Im new with Unity and Vuforia,
can you help me please,?
when I use the videoplayer loop in the test camera it works ok ,
but in APK not working.
I love u man. Thanks for taking time to share your knowledge, not everyone would do that
More augmented reality app videos please, like how to make 360 degree augemented reality videos, i reallyy need it
You just buy a camera
Vuforia is a very important tool for any developer to implement this new technology in the games
Great video and very well explained.
Could you make one on how to add a 3D model onto a picture?
Thank you in advance!
Anything you want, just make it a child of ImageTarget component
You're the best. You saved my senior project.
Hi lovely tutorial. I tried exporting this on ios. The video is playing on the marker . However the King card is not working on the queen card when i make an iOS build. The same thing seems to be working in unity with i press play button for testing, but on iphone only the video works, the card does not overlay another card. What could be the reason? Please help as i am new at this and trying to learn.
Thanks.
I figured out the issue . there was another default scene available in the project. I deleted that from the scenes to be loaded while compiling the project and my scene started working. :)
can you give me some advice on how to reduce this size and save this data on online bases as i want to track around 20-25 images based on video??
Wow this took me a long time, about an hour and a half but that includes making the asset from scratch, but it worked! Thank you very much!
Thanks mate! This really helped!!
Now after seeing this tutorial it seems very easy....... We would like to have more videos/tutorials abut the unity (through updated versions)....... Thank you
Hi, can you make a tutorial for building to iOS?
ruclips.net/video/cCOLdX1JMo4/видео.html
can you give me some advice on how to reduce this size and save this data on online bases as i want to track around 20-25 images based on video??
Whoah, thank you so much! I am taking baby steps on this as I come from a different background and i need it now. Your video was super clear and well explained, even for total beginners like me! :D
Hey Hi!
You're so Awesome for showing us this.
I just can't thank you enough.
I want to learn more from you.
I'm interested, curious and very eager.
Waiting for your reply.
You are fantastic! I always get stuck thinking VR VR VR, HMD, HMD, etc. This could really be some magical fun!
Great tutorial! I've tried using my own tracking image and video....however my video automatically plays even when the tracking image isn't even in the frame. Why might this be the cause and how do I resolve this?
Hey did you solve the error? Even i'm facing the same issue!
The audio of your video is work?
Thank you so much for making this video and sharing with us. I'm super excited to try this out. I've been wondering for awhile now to do this.
I keep getting "failed to initialise Vuphoria engine" when i put it on my phone. I hear the sound from the video playing
Same problem
I'm so excited to dive into an AR app! Thank you for the thorough tutorial!
Try out www.interappusa.com you can easily create and share AR content
keep in mind you cannot upload to the app store unless you pay 500 dollars annually
You mean the Licence to sell your app is 500 or you mean to upload the images is 500?
No, it is not.
@@fabiolamarinho8000 so whats then?
Thank you so much!! your tutorial is so good it helped me a lot!! It was a bit frustrating someties while Building the app but at the end was awesome and I was so exited and happy.
Is it possible to play sound in the video clip, for example when the Kennedy clip is playing can it be made to play sound?
DoAnything If you look at 14:08, you'll see the Video Player component has a property called Audio Source that currently says "None (Audio Source)". If you add an AudioSource component to the object and then drag the component into that slot, you'll get audio on the video too.
Playful Technology Thank you so much. I will give it a try. Congratulations on your great tutorial.
Great beginners' video! If I'm understanding correctly, videos with audio included do not play audio when viewing the AR asset, so, you have to add the audio separately? That's odd. That could cause all sorts of lip syncing issues couldn't it? Or am I missing something?
I think the same.
Hi, am very appreciative for the tutorial but am stuck on making the sound play when the actual video overlay starts. I can add an audio channel however the audio plays as soon as you start the app and not when the video overlay starts - am happy to pay you to help me solve this :) kid regards from New Zealand
That is amazing who would have thought AR was so simple?
By the end of the video i felt like your spectacles are also made through AR😂
Really good tutorial for beginners(thx man)
This is brilliant. Thanks for doing the tutorial. It must have taken a while to learn how to use that program. I bought a Merge Cube last month and had been thinking that it must be possible to make ones own AR objects to use with it. Now I know how....😁
Very clear and precise. Thank you. Look forward to more tutorials on this topic
Thanks so much for the tutorial it was so exciting to see it work on my own pc!!
Thank you so much for the video!! I would love to see more content about AR
Thanks for your tutorial.Now i know about inserting images and doing programming
Hey Thanks for this simple yet effective tutorial. This video has more than half a million views as of Feb 2020 and nearly 1,000 comments. I am pretty sure if you make more similar videos to this, your followers will dramatically increase as there are no clear cut and simple tutorials like this one. I would be interested in a followup video to this to add controllers, start/stop button, adding on screen text, etc.
Thanks for helping me out with my uni project! great and coherent explanation
That is a very nice introduction to AR apps. Would appreciate if you can focus on such topics and create more such creative videos.
I really enjoyed watching this video. The possibilities are endless. Great tutorial 🤗
Woow.. Great work !!
By this i was able to create my first AR app :)
Thanks a lot
I really appreciate you. This is exactly what I was looking for. Many thanks. Much Gratitude.
we need more, the tutorial is very clear thank you and we need more brother.
Fantastic tutorial but it needs updating any chance you could update this tutorial using Unity 2020.3 version.
Really clear and simple getting started video , thanks !
Great tutorial. Can't wait to start cooking up some truly awesome art pieces with this tech.
Thanks man. Very useful video, even after year. Waiting for new videos around AR)
Thank you. This got me going in AR
Hi Thank you for the wonderful tutorial. I'm just starting my AR journey. Your tutorial is very useful :)
Excellent tutorial. You summed up the steps to adding AR using Vuforia and Unity very succinctly.
super! vielen Dank für dieses sehr lehrreiche Video! Nun kann man wesentlich besser die vielen Möglichkeiten einschätzen. DANKE!
Your presentation style is great, definite subscribe
This was really cool! Thanks for the step by step tutorial.
That was remarkably helpful and thorough! Thank you!!
thank you so much for this tutorial...its really useful for my project ...and got an idea about augmented reality
Great tutorial! Very easy to understand. Thank you for making this!
Really helpful can't wait to learn more!
Mate. Loved you video and your style. Cheers to Charles Babbage...My !- the Differential Machine has come along way
Thanks for this video. It's very helpful. Can you please let me know how to modify this so that I can swipe between the different images ?
excelente tutorial!, you didn't miss a thing , very easy to follow and very easy to understand, good job, thanks.
Thank you so much. Great and very clear tutorial. You saved my day! Thanks a lot.
Simple and very clear. Thx for the great tutorial !!!
thank you for the uploading!! it helps so much!!