Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

MTaulty's barcode scanner on the hololens stops working if used with Vuforia


MTaulty's barcode scanner works really well on the hololens.

But I am using Vuforia as well to scan some image targets and later scan barcodes(using MTaulty's barcode scanner). When used with Vuforia, the barcode scanner doesnt scan anymore and returns "not found".

Would anyone know a reason why this is happening and have a workaround this ?



  • Hello - I haven't looked into this when using Vuforia so I'm having to guess but is there any chance that Vuforia is still accessing the webcam and making it unavailable to the barcode scanning code?

    Just a guess - let me know what you think.

    While I'm here, it's perhaps worth pointing out that the Windows UWP now has support for barcode scanning with a webcam. You can find the details over here.

    I tried this out on HoloLens running the RS5 preview and it worked for me there and I put some code around it here on GitHub. I've also moved this code into a Unity environment and it works there. If you try something similar, don't forget to make sure you ask for both "webcam" and "point of service" capabilities.

    So...that might mean that you can avoid using my earlier code and rely only on things that are built into Windows itself - it also makes for a lot less code!

  • @mtaulty is correct. You need to stop Vuforia's webcam before trying to use the cam for something else.


Sign In or Register to comment.