Topic locked

Cloud Recognition with Hololens 2

January 10, 2022 - 9:36am #1

Hello there,

I'm a Unity developer and I'm workning to an application for Hololens 2. I'd like the Device to recognize between various images, stored into the Vuforia Target Manager.

First, I developed it by using the Device Database, then I built the application on Hololens 2, I tested it and it works fine.

The second step was to setting up the application by using the Cloud Database. The application  works fine in the unity editor, but when I bulit it to the Hololens 2 and test it, it doesn't seems to work.

I think the reason could be related to some limitation on  web queries by Hololens 2.



Is there anyone who can help me?

thanks in advance,



Claudio

Cloud Recognition with Hololens 2

February 22, 2022 - 1:48am #6

Hello everybody,

has anyone managed to use cloud recognition with Hololens 2?

I'm still not succeeding

Cloud Recognition with Hololens 2

February 15, 2022 - 8:47am #5

Thanks Patrick,

At the moment the mCloudRecoBehaviour is enabled on start in the unity editor.

The RestartCloudScanning() function is not assignet yet to any object in the scene, but I would use that as an alternative to the OnGUI Sample; maybe as an event on a button in the scene.

 

Best Regards,

Claudio

Cloud Recognition with Hololens 2

January 21, 2022 - 5:10am #4

Hey there,

 

So where in your Hololens experience do you call RestartCloudScanning() to enable the cloud recognition? The sample you provided is purely for demonstration purposes in the editor. OnGUI() uses IMGUI which I don't think is supported on Hololens.

 

Kind regards,

Patrick Scheper

Technical Community Manager

Cloud Recognition with Hololens 2

January 19, 2022 - 6:08am #3

Hi Partick,

thanks for your reply.

I'm  using the latest Vuforia Package for Unity (version 10-3-2), I download it from here. While the Unity version is 2020.2.f1. Also the HoloLens OS version is the latest available: Build 20348.1442 (version 21H2 of January 21).

In attachment you can find the script I made for Cloud recognition event handler, I followed what was written in this article: https://library.vuforia.com/cloud-recognition/working-cloud-recognition

Let me know if something else could be helpful, Thanks for support!

Claudio Capi

AttachmentSize
Plain text icon SimpleCloudRecoEventHandler.txt4.04 KB

Cloud Recognition with Hololens 2

January 17, 2022 - 7:18am #2

Hey Claudio,

 

Can you share the code you're using to debug or query the cloud targets? Also it might be helpful to highlight the Vuforia Engine / Unity versions as well as the Hololens OS version.

Thanks! 

 

Kind regards,

Patrick Scheper

Technical Community Manager

Topic locked