Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

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

Hi,
@mtaulty

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 ?

Thanks,
Akash

Answers

  • 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.

    Taqtile

Sign In or Register to comment.