Building an Augmented Reality Application with Unity no Device needed

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 พ.ย. 2024
  • Using Unity 2021.3.5f1 and Vuforia 10.12.3 to create Image Target Recognition Augmented Reality.
    This tutorial is entirely on the computer and uses a webcam. In the next tutorial, we look at pushing this application to an iOS device for further testing.

ความคิดเห็น • 37

  • @aishashaikh8355
    @aishashaikh8355 10 หลายเดือนก่อน +2

    sir thankyou so much. you have saved my Final Year Project. Thanks alottt
    😀

    • @iamprofmoto
      @iamprofmoto  10 หลายเดือนก่อน

      Glad to hear that! I hope your project showcases well in your portfolio and helps you on your path after graduation!

  • @hbhbibibi
    @hbhbibibi 7 หลายเดือนก่อน +1

    create this same project, and the build has a black screen after I run the .exe, why is that?

    • @iamprofmoto
      @iamprofmoto  หลายเดือนก่อน +1

      The Unity + Vuforia editor has a built in bootstrapping to allow the Unity Editor to access your webcam through the Vuforia code. When you publish this to an .exe, this is not included as Vuforia is intened for mobile devices. The project will only work within editor testing, not as a .exe build.

    • @hbhbibibi
      @hbhbibibi หลายเดือนก่อน

      @@iamprofmoto ok thank you

  • @henryqng
    @henryqng ปีที่แล้ว +1

    Great tutorial. I liked and subscribed. Please release more Unity AR for IOS. Thank you

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว

      @henryqng I think you'll enjoy the latest video: th-cam.com/video/5-fEzg3ryss/w-d-xo.html

    • @whereisalbert
      @whereisalbert ปีที่แล้ว

      Me too!! Thanks ProfMoto

  • @peomsforInnerpeace
    @peomsforInnerpeace ปีที่แล้ว +1

    Hi there, I have a problem with entering the vuforia license key. Whenever I enter the key, it takes me to the vuforia website and asks me to log in. When I log in and copy the license key, paste it to the license key in Unity, it again takes me to Vuforia website and asks me to log in again. Can you please help me with this issue? Thanks so much.

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว

      @elhamhajesmaeili Are you clicking the 'Add License' button in Unity? This is usually the step that people are doing that takes you to the Vuforia website. You do not need to click this button. Once you have pasted your license key into the correct spot in Unity, you can simply click away and go back to work. Please let me know if that works or if you have a different problem. Good luck with you build!

  • @Firulaisneado
    @Firulaisneado ปีที่แล้ว +1

    Great bro, I just would like to know how to create some movement on the astronaut, fx blend in from the back of the image target, or something like that. 😊😊
    Cool video!

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว +1

      @alanchac I can definitely cover that in a future video, check back in the near future or subscribe to get notified when I post it. Cheers!

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว +1

      @alanchac I wanted to give you an update on this. I’m almost ready to post a tutorial for this, but the last few generations of Vuforia code changes are creating some problems. I’m hoping to have it ironed out and posted soon!

    • @Firulaisneado
      @Firulaisneado ปีที่แล้ว

      ​@@iamprofmotofantastic!

    • @Firulaisneado
      @Firulaisneado ปีที่แล้ว

      @@iamprofmoto great !!

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว +1

      @@Firulaisneado It took longer than expected, because Vuforia's changes in code are a complete maze, but here is the answer to your request: th-cam.com/video/5-fEzg3ryss/w-d-xo.html
      Let me know if you have any questions or more requests!

  • @Ken3Dguy
    @Ken3Dguy ปีที่แล้ว

    Great tutorial. I have a Logitech HDcam and the streaming framerate is horrible. Is it the version of unity? I'm using 2021.3 , vuforia 10.5..

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว

      @Ken3dguy sorry to hear you are having framerate issues. That is disappointing! I've never had issues like you are having so anything I'd suggest would be a complete guess. Vuforia 10.5 is a tiny bit on the old side, this tutorial is using 10.12. I often find that different versions of Unity conflict with different versions of Vuforia, so you could try running the exact versions I'm using in the tutorial to see if that helps? You can also try checking your Vuforia settings in the editor and see if it is recognizing your specific webcam or using using a generic setting?

    • @Ken3Dguy
      @Ken3Dguy ปีที่แล้ว

      @@iamprofmoto Sorry, running Vuforia 10.15.4 , yes HD webcam set, still very slow/choppy

    • @dimaswibowo5996
      @dimaswibowo5996 6 หลายเดือนก่อน

      what types of logitech webcam support vuforia?

  • @TheCoolcy
    @TheCoolcy ปีที่แล้ว +1

    Hey there! I'm having an issue, when I build the project the camera stays blank, as if there were no webcam connected to the pc, although the project works fine if I try running it in editor. Might you have any suggestions on troubleshooting, since Google didn't find anything useful. Thanks!

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว +1

      @theCoolcy unfortunately, you have found the Achilles heel of Vuforia! Vuforia only supports the use of the webcam through Play mode in Unity, it does not support the webcam if you build an actual .exe. I have not found a work around to get around this, so I'm afraid we remain limited to the in Editor Play mode.

  • @brobooni9967
    @brobooni9967 6 หลายเดือนก่อน

    Hi im having a bit of a problem, I'm using camo as a webcam and ive added it to that webcamprofiles but the console keeps saying "Failed to start Vulforia". I am using the latest update on each app (unity and vulforia), do you think this is the problem?

    • @iamprofmoto
      @iamprofmoto  หลายเดือนก่อน

      Do you have all of the proper keys in place from Vuforia on your Vuforia Camera in the Unity Scene?

  • @rangleme
    @rangleme ปีที่แล้ว

    Terrific tutorial.
    Do you know if Vuforia will work with Unity WebGL platform as the target?

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว +2

      @rangleme thanks for the comment. Unfortunately it appears that Vuforia's support for PC/Mac builds and the use of webcams is only supported in the editor. Publishing this out to a executable breaks the functionality of Vuforia and yields only a black screen. I'll do a quick test today to confirm that this is also the case with WebGL. So far there are no work arounds.

    • @rangleme
      @rangleme ปีที่แล้ว

      @@iamprofmoto Thanks for the info - I did a little research, and their goal is to support development and mobile... so no WebGL or desktop builds.

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว +1

      @@rangleme correct. So while this process works fine for testing within the editor, Vuforia's support of the webcam ends there, which is unfortunate, but at least it allows quick and easy testing before engaging the steps to publish to mobile devices!

    • @iamprofmoto
      @iamprofmoto  ปีที่แล้ว +1

      @@rangleme Just to confirm, I attempted a build and publish to WebGL which triggered 8 fatal errors in the build.

  • @dimaswibowo5996
    @dimaswibowo5996 6 หลายเดือนก่อน

    Can you help me? what kind of type webcam supoort vuforia engine?

    • @iamprofmoto
      @iamprofmoto  หลายเดือนก่อน

      I'm using a Logitech Brio 4k webcam and haven't had any issues. A built in webcam on a Razer and on a Apple have all worked with no issues. Outside of that, I'm sorry I can't help other than to tell you to check in on the documentation from Vuforia.

  • @chanzz4910
    @chanzz4910 8 หลายเดือนก่อน

    HELLO HELLO LOVE YOUR VIDEO , but is there any way I can do this without a target image ?

    • @iamprofmoto
      @iamprofmoto  8 หลายเดือนก่อน

      @chanzz4910 I don't have any tutorials built for AR without target images yet. I plan to build new tutorials for non-target image work in either Fall 2023 or Spring 2024, so please check back in the future!

  • @did3d523
    @did3d523 5 หลายเดือนก่อน

    is it work on WEBGL export on server ?

    • @iamprofmoto
      @iamprofmoto  หลายเดือนก่อน

      I do not believe WEBGL has the ability to access a webcam on a computer and this will also, therefore, fail to work. Sorry!

  • @Loganstudiosxyz
    @Loganstudiosxyz 5 หลายเดือนก่อน

    do i need to pay

    • @iamprofmoto
      @iamprofmoto  หลายเดือนก่อน

      @Loganstudiosxyz this should work on the free license of Unity and Vuforia. Vuforia only requires a paid account if you have a high enough number of recognition requests from the cloud server. You should be able to do a LOT of testing before you hit that threshold. And if you hit that threshold then it must mean that you have a lot of people testing your application, congratulations!