Log in or register to post comments

Place group of holograms in the room based on marker position

May 17, 2018 - 4:53pm #1

Hello,

 

I'm trying to place a family of holograms after recognizing an imagetarget to augment the room where that marker is placed but I am having some problems. The idea is that after I place the holograms relative to the imagetarget in Unity (as child objects, the final position of each hologram in Unity will be obtained through trial and error) it should show the holograms with the same relative distance and the same relatives angles in the room when the imagetarget is recognized. 

One problem that I'm facing right now is that when I try to show only one hologram next to the marker with the same orientation as the marker, the hologram appears with a slight inclination forward or slightly spatially missplaced. The other problem that i can't get rid off is that if I move while gazing at the target, Vuforia keeps recognizing the image from the new viewing angle and therefore keeps changing the hologram's position and angle. I have tried stopping the tracker after recognizing the target, but as the first problem stated, this just leaves me with a missplaced hologram.

Some details:

  • I  am currently using extended tracking.
  • The image has a 5 star rating, is 5cmx11cm, and I have tried recognizing it anywhere from 10cm to 60cm from it with the same results.

The spatial missplacing can be fixed by user calibration after it has been recognized, but the inclination fixing is rather difficult.

Any ideas what could be wrong?

Any help is greatly appreciated.

Place group of holograms in the room based on marker position

June 15, 2018 - 1:50pm #5

Thanks for replying and sorry for the late answer.

 

The target is supposed to be the QR image on the screen. The test with the sample project was done with printed targets and with on-screen targets. For the QR code, the results are exactly the same when a printed QR image is used. The size of the target was defined by measuring it with a ruler. Right now I'm using a 5 star rating square target, measured to be 8.2cmx8.2cm. The imagetarget width and height properties were set to 0.082.

One new consideration, both the printed and the on-screen target are supposed to be vertically aligned and recognized, like in the pictures. Does this impact Vuforia's performance in any way?

 

Thanks again,

Sibutorovic.

Place group of holograms in the room based on marker position

May 30, 2018 - 4:18pm #4

I'm not entirely clear which object in the Unity screenshot is meant to be the target. When you test on the sample project are you also testing with the targets on a monitor screen instead of printed? What did you define for the size of your target and how large is the version you are detecting?

Thanks,

Vuforia Support

Place group of holograms in the room based on marker position

May 22, 2018 - 3:42pm #3

Of course. The Hololens picture shows the hologram with a slight inclination forward. At the time of the photo capture the Vuforia tracker was deactivated as explained on the first post so the hologram didn't get moved by the recognition of the marker from different angles. The Unity photo shows how the hologram should be placed based on the marker.

Right now I'm having this behaviour when deploying to a Hololens device, through usb cable on Debug mode. The sample project with the astronaut, gas can, etc, works fine; the holograms are always shown as palced on Unity but I couldn't fix this after replicating the imagetargetbehaviour params, the vuforia config params and the Camera params.

One important thing to note is that I'm using the HolotoolKit package on Unity 2018.1.0f2.

 

Thanks for your help.

AttachmentSize
Image icon HoloLens.jpg266.85 KB
Image icon Unity.png76.23 KB

Place group of holograms in the room based on marker position

May 21, 2018 - 11:00am #2

Hello sibutorovic,

Can you share screenshots of the issue you are seeing? Are you able to reproduce it in playmode and/or the sample project?

Thanks,

Vuforia Support

Log in or register to post comments