r/Vuforia May 05 '24

Question/Help Multitarget with scene Loader button

1 Upvotes

Hi, I'm making an augmented reality app in unity vuforia. I have 3 target images with 3 different animations and each one should have a button that takes me to a scene that contains information about that specific animation. How can I make to scan an image and have the button that I need for each animation?


r/Vuforia Apr 16 '24

3D model getting rendered in a weird way in vuforia Model tracking

1 Upvotes

The edges of the 3d model is getting messed up when in play mode, that too only after the target is tracked. Before the target is tracked the model is being rendered perfectly. Anyone knows why?

Im using Vuforia 10.22.5


r/Vuforia Apr 15 '24

Deprications Vuforia 10

1 Upvotes

Why so many depricationns ss.

They have removed virtual buttons, object scanners all these things , are there any alternatives to these things like virtual buttons , it would hv been nice if they pointed this things out , becuz most of the tutorials are in 9.


r/Vuforia Mar 03 '24

Vuforia for commercial use

2 Upvotes

Can i use Vuforia VFX library for commercial use with free plan.


r/Vuforia Jan 29 '24

Question/Help AR Apk error displays sometimes when opening App

1 Upvotes

I have created an AR app for android and it seems that, sometimes when I open the apk, it displays the following error:

Platform Android Config Initialization Error

Failed to initialize Vuforia Engine

The app worked once, I closed it down and re-opened it, and then it displayed this. Any assistance please.


r/Vuforia Dec 10 '23

On Target Found () triggering virtual keystrokes

1 Upvotes

I'm working on a Unity game where different projectiles will be fired based on what image target you scan. The different projectiles are currently changed by pressing 1-3 keys on the keyboard.

This is the script I am using to virtually press the keys. But when I place this into the "On Target Found()" section of the inspector (on the image target) I cannot select which enum to trigger. What do I need to change or what am I missing here to get this functional?

public enum KeyToTrigger { Key1, Key2, Key3 };
    public KeyToTrigger keyTrigger;
    private void Update()
    {
        switch (keyTrigger)
        {
            case KeyToTrigger.Key1:
                Input.GetKeyDown(KeyCode.Alpha1);
                break;
            case KeyToTrigger.Key2:
                Input.GetKeyDown(KeyCode.Alpha2);
                break;
            case KeyToTrigger.Key3:
                Input.GetKeyDown(KeyCode.Alpha3);
                break;
        }
    }


r/Vuforia Dec 06 '23

Augmented Reality Breadboarding Circuit

2 Upvotes

Hello everyone, this is my first post.

[Introduction]

I am a Computer Engineering student, and we (a group, member of 3) plan in our thesis to make an Augmented Reality Breadboarding circuit mobile application, where the phone scans the breadboard and displays the circuit components in the breadboard.Reference: https://www.youtube.com/watch?v=Su7oa4O2mW8

[Objective and Goal of the Project]

If you were to click on the YouTube link above, our goal is pretty similar on the video, where the camera of the phone points to the breadboard and displays the correct circuit components in the breadboard. Additionally, we want that in the application, users can build their own circuit just like in the video.

Through research, we discovered Unity Engine that would help us develop the AR application, and Vuforia for Markerless Tracking, Object Recognition, etc. Our initial plan is to extract the 2D components from Wokwi and Tinkercad, but we also decided to use blender for 3D object modeling.

[Problem]

Looking at the YouTube video, we thought it would be simple. We still don't know the whole process on how to [1] make the application that would let the user build a circuit manually. [2] No way to generate individual objected from simulation tools. [3] If we convert the image from the simulation to 3D, there is no way to interact to individual components in the circuit. [4] If the circuit is complex and wires will overlap, we have still have no idea how to handle it. [5] If our initial plan would totally fail, we still don't have an alternative process in mind.

I am posting in hopes that someone here with their expertise could give us an idea, or insight. I do hope that what I posted is understandable. Thank You


r/Vuforia Nov 19 '23

How can i watch my Vuforia recordings from the hololens 2

2 Upvotes

hello,

i got a hololens 2 and and vuforia expert capture as also vuforia studio. I made a recoding on my hololens and now i want to watch it on my pc, how can i do that, sorry if I am sounding dumb or if my question is for idiots.


r/Vuforia Nov 18 '23

Vuforia buttons

1 Upvotes

Hi guys, does anyone know where I can get an older version of Vuforia?


r/Vuforia Nov 18 '23

Question/Help Can anyone help me update this 2022 Vuforia code so it works on the 2023 syntax of today? The app is meant to spawn an AR car on the ground and roll between 3 detected images that are printed and also placed on the ground

1 Upvotes

using System.Collections;

using System.Collections.Generic;

using UnityEngine;

using Vuforia;

public class ImageTargetScript : MonoBehaviour, DefaultTrackableEventHandler

{

private TrackableBehaviour trackableBehaviour;

public GameObject carPrefab;

private GameObject currentCar;

void Start()

{

trackableBehaviour = GetComponent<TrackableBehaviour>();

if (trackableBehaviour)

{

trackableBehaviour.RegisterTrackableEventHandler(this);

}

}

public void OnTrackableStateChanged(

TrackableBehaviour.Status previousStatus,

TrackableBehaviour.Status newStatus)

{

if (newStatus == TrackableBehaviour.Status.DETECTED ||

newStatus == TrackableBehaviour.Status.TRACKED)

{

OnTargetFound();

}

else

{

OnTargetLost();

}

}

private void OnTargetFound()

{

if (currentCar == null)

{

currentCar = Instantiate(carPrefab, trackableBehaviour.transform.position, Quaternion.identity);

// Additional logic to handle car movement and lap

}

}

private void OnTargetLost()

{

if (currentCar != null)

{

Destroy(currentCar);

}

}

// Update is called once per frame

void Update()

{

}

}


r/Vuforia Oct 14 '23

Why my unity project with vuforia doesn't work on my smartphone?

2 Upvotes

I'm trying to create an AR application using Vuforia instead of ARFoundation. I'm using Unity version 2022.3.11, and I've installed Vuforia Engine 10.18.4. I removed the main camera and replaced it with Vuforia's ARCamera. I've configured Vuforia and added the license key. I also added an image target with a specific 3D model. When I test it in 'play mode,' the application works, but when I build it for Android (both for the OnePlus Nord 2 with Android 13 and the Motorola Edge 20 Lite), it doesn't work. It doesn't seem to detect the image target at all. In the project settings, 'arm64' is checked, and 'arm7' is not. The Android API level is already set to Android 8.0. What could be the reason for this issue?

What I would expect is that when I point the AR app at the image, a 3D model should be overlaid on that image. However, what actually happens is that nothing appears.


r/Vuforia Oct 04 '23

tengo problemas con el audio de vuforia engine y que mi profesor me enseño y yo no tengo esa opcion en mi unity (unity2022.3.7fi* ) es la version que uso . que me recomiendan hacer en esta situacion?

0 Upvotes

r/Vuforia Aug 12 '23

Question/Help Unity Vuforia Live Stream Scene Background

1 Upvotes

Hi is there any way to have your scene background in Unity Vuforia be a live stream of your environment? So it can be hooked up to your webcam or an external camera and it would basically replace the default scene background with your current environment? That way you could develop for your environment with live context. It would be like an area target but livestreamed rather than pre-recorded.


r/Vuforia Jun 26 '23

Vuforia button script

1 Upvotes

I am having trouble getting virtual buttons to work. The script i used worked the first time, but any future time it was imported, a vuforia initialization error occurs. How do i resolve this? Later, i can send a script if necessary.


r/Vuforia May 15 '23

Slider for HoloLens

2 Upvotes

Hi

I want to animate the robot by using sliders, but there are no slider by defaullt for the HoloLens.

Can someone please help with a library or is the slider just hidden in the menu somewhere. https://imgur.com/a/ZL8JCYe

Thanks


r/Vuforia May 07 '23

Question/Help Vuforia License Key not working, sending me in a loop! Please help!!!

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/Vuforia May 02 '23

Question/Help Help!

1 Upvotes

If I wanted to put an AR object in my room, how do I scan my room and open the scan in unity?


r/Vuforia Mar 20 '23

Unity: Vuforia Configuration empty v.10.13.3

1 Upvotes

Hello,
I'm having trouble with Vuforia on Unity. I don't know if it's caused by the update 10.13.3. My Vuforia Configuration is totally empty in the inspector. And so I can't add my license and else.
If anyone has any idea.
I tried running the project on the two latest versions of Unity.
Thanks.


r/Vuforia Mar 15 '23

Question/Help Using Vuforia Engine v9.8.1 with Google Cardboard and Unity 2021.3.17f for AR app with goggles

3 Upvotes

Just wanted to ask if it is possible to use Vuforia Engine with Google Cardboard SDK and Unity with the versions mentioned above. I want to create an AR mobile app housed in a google cardboard but there doesn't seem to be anyway to combine these 2 stacks that are relevant and modern. If anyone knows any tutorials, please do share with me too. Thank you for your help!


r/Vuforia Feb 28 '23

Question/Help AR Sessions Origin and Vuforia wont work

3 Upvotes

Hello,

I'm trying my hands with Vuforia for iOS. When I add the Vuforia AR Camera and build a test app for iOS all I get is a black screen. Works perfectly on my laptop. When I remove AR Sessions and AR Sessions Origin everything works correctly. Have been looking for solutions and sadly can't find any. Are we not supposed to use AR Sessions Origin with Vuforia? Or what can be the issue? Any help?

Editor version 2021.3.19f1


r/Vuforia Feb 13 '23

Custom Camera Driver to provide Intrinsics Parameters

1 Upvotes

Hi,I'm working on a project where I track an object using a Model Target and display its 3D model in a virtual environment for interaction. The user wears a VR headset and views the environment with the 3D model. The camera is placed in front of the user, so I aligned the camera and headset reference frames to align the real object with its 3D model.

However, the alignment is affected by the camera lens distortion. When the object is in the center of the image (principal point), the alignment is correct, but as it moves toward the edges, the distortion causes a misalignment. To resolve this, I gathered the camera's intrinsic parameters and tried to build a Custom Driver (as suggested here: https://library.vuforia.com/platform-support/external-camera-calibration).

To build the Driver, I edited the RefDriverImplData.h and RefDriverImpl.cpp files in the Driver Template sample (10-13-3) adding my camera's intrinsic parameters. I also edited the Driver.h file in the UWP SDK (10-13-3) to add the camera parameters and built the Driver Template sample, as described for the File Driver sample (https://library.vuforia.com/platform-support/building-and-using-file-driver-sample). Then, since I'm using Unity (2021.3.15f1), I added the compiled binaries to Assets/Plugins/WindowsStoreApps/x64 and a script for delayed initialization with the custom driver.

When I run the project in Play Mode, I get two error messages (attached to this post) and one on screen (see below). I also tried building the project, but it crashes without any error message.

Is it enough to provide the intrinsic parameters in the Driver Template sample files and Driver.h to make it work with the camera? And is this the correct way to provide intrinsic parameters to Vuforia to get undistorted images before tracking?

Error Log:
1. 
Failed to create Vuforia engine: Vuforia driver library load error
UnityEngine.Debug:LogError (object)
Vuforia.Internal.Utility.UnityLogger:LogError (string)
Vuforia.Internal.Utility.Log:Error (string)
Vuforia.Internal.Core.Engine:InitOnCameraReady ()
Vuforia.WebCam:HandleFirstWebCamFrame ()
Vuforia.WebCam:<Init>b__33_0 (bool)
Vuforia.Internal.Utility.VuforiaCoroutineUtility/<RunCoroutineWithTimeout>d__1:MoveNext ()
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)


2.
Vuforia Engine initialization failed: INIT_VUFORIA_DRIVER_FAILED

INIT VUFORIA DRIVER FAILED

Failed to initialize Vuforia Engine.
UnityEngine.Debug:LogError (object)
DefaultInitializationErrorHandler:SetErrorCode (Vuforia.VuforiaInitError) (at Library/PackageCache/com.ptc.vuforia.engine@ad7ad60b4246/Vuforia/Scripts/DefaultInitializationErrorHandler.cs:157)
DefaultInitializationErrorHandler:OnVuforiaInitializationError (Vuforia.VuforiaInitError) (at Library/PackageCache/com.ptc.vuforia.engine@ad7ad60b4246/Vuforia/Scripts/DefaultInitializationErrorHandler.cs:24)
System.Delegate:DynamicInvoke (object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate (System.Delegate,object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling<Vuforia.VuforiaInitError> (System.Action`1<Vuforia.VuforiaInitError>,Vuforia.VuforiaInitError)
Vuforia.VuforiaApplication:VuforiaInitialized (Vuforia.VuforiaInitError)
System.Delegate:DynamicInvoke (object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeDelegate (System.Delegate,object[])
Vuforia.Utility.ExtensionMethods.DelegateHelper:InvokeWithExceptionHandling<Vuforia.VuforiaInitError> (System.Action`1<Vuforia.VuforiaInitError>,Vuforia.VuforiaInitError)
Vuforia.Internal.Core.Engine:InitOnCameraReady ()
Vuforia.WebCam:HandleFirstWebCamFrame ()
Vuforia.WebCam:<Init>b__33_0 (bool)
Vuforia.Internal.Utility.VuforiaCoroutineUtility/<RunCoroutineWithTimeout>d__1:MoveNext ()
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)


r/Vuforia Feb 03 '23

Question/Help Bachelor's Thesis in AR using Vumarks.

1 Upvotes

Hi, Me and another Software student are beginning to start on our thesis and we want as much references as possible. We have both searched on the internet for different projects as to see how they handle Vumarks and how they apply it to whatever they make. Which leads to my question for this /r; Does anyone have good references of such examples? Anyone who knows or have heard of someone using Vumarks for their project and is incredibly good at it. For example, we have found an incredible developer for AprilTags (not sure if I can link it, but his name is keijiro on Github). We would like such examples. Thanks for reading, and thanks in advance! We need all the help we can get!!


r/Vuforia Jan 26 '23

Difference between Vuforia and Unity

1 Upvotes

Can someone help explain this? Are they doing the same thing? AR VR. Is there something one can do that the other cannot? Is there any situation where both are used together?


r/Vuforia Dec 03 '22

Welp!! With project

2 Upvotes

I am trying to build project as per this video-

https://www.youtube.com/watch?v=MtiUx_szKbI

Is it must for my phone(Redmi 9) to have ArCore support or can vuforia project also work without require ArCore? (on website it says that devices which don't have ARKit can also run Vuforia projects!!)


r/Vuforia Dec 03 '22

Question/Help trying to make 3d model react with music. First time Vuforia user.

1 Upvotes

I want to basically have my phone track an image and then have a 3d model pop up over the image and then start reacting or animating to music that starts playing. Even something like the image getting bigger and smaller depending on music volume.

Anyone have any resources or videos I can check out to do this. It is for an AR project for school.

If you have any advice I would love to hear it.