Log in or register to post comments

VuMarks & Hololens - Camera shifted?

January 7, 2018 - 5:16am #1

Hello,

 

I'm using Vuforia for Object recognition and positioning with the Hololens. Therefore I designed my own VuMark (Numeric-IDs) and followed the instruction to use Vuforia in Unity ( https://library.vuforia.com/articles/Training/Developing-Vuforia-Apps-for-HoloLens.html ) .

I get no errors in building the whole thing and the Marks are recognized and tracked correctly. But somehow there seems to be a shift and my objects not land on top of the marks where they are supposed to be. The holograms are also too big and have a strange orientation. 

Does somebody have an idea how to fix this and why the Vuforia Cam seems to have a different world-coordinate-system?

 

Currently using Unity 2017.2.0f3 with VisualStudio 2017 V3 and the real HoloLens (not emulator!)

 

Thanks for any quick help!

VuMarks & Hololens - Camera shifted?

April 10, 2018 - 11:59pm #6

Thanks for the try, but it's not the size of the marker I'm really struggling with. Its a kind of shift/scale in depth. Vuforia is getting the VuMark tracking done well on the HL, but they are like 1 meter behind the actual targets (should be right in the center. If I come close to my printed images they shift and scale closer to the point how they are supposed to be. Checked this with multiple Unity versions, all the same.

VuMarks & Hololens - Camera shifted?

March 29, 2018 - 12:42pm #5

Okay, I'm getting good, stable, behavior with 2D image targets in the hololens, now.  It requires three things:

  • The physical target image printed out at a specific size in meters. Assume 0.1 (10 cm) wide and .15 meters tall.  I like to display it on my monitor to make resizing easy and save paper. 
  • When you upload it to a database, give the width of the image.  The database builder will calculate the height of the image for you. So, if your image is twice as wide as it is tall, and you enter ".1" (10cm) then it's height will be ".15"
  • The ImageTarget object in Unity has to be scaled to "0.15" meters!  Maybe it really needs the larger dimension (height or width) or just height. Haven't figured that out yet. 

Works pretty well for me.  

 

VuMarks & Hololens - Camera shifted?

March 28, 2018 - 12:27pm #4

I'm just learning this myself, and also having some trouble getting the hologram to locate correctly.

I do know that you have to scale the ImageTarget to be exactly the same size as the physical vumark.  

Also, the VR camera in the scene needs to be at 0.0.0.  I'm using Unity 2017.3.1f1

 

 

VuMarks & Hololens - Camera shifted?

January 16, 2018 - 12:03am #3

That's a well known problem with the size of physical markers, you can check it on other posts. I recommend you to check the size you set when creating the marks and the actual size that they have in real world, in paper, they must be the same.

VuMarks & Hololens - Camera shifted?

January 12, 2018 - 9:51am #2

Any Update here??

Log in or register to post comments