hl2ss icon indicating copy to clipboard operation
hl2ss copied to clipboard

Return X, Y, Z coordinates

Open vstadnytskyi-FDA opened this issue 1 year ago • 3 comments

Is it possible to return a stream of X,Y,Z coordinates of where HoloLens2 thinks it is?

vstadnytskyi-FDA avatar Jul 18 '23 15:07 vstadnytskyi-FDA

The Spatial Input stream captures head position and orientation @ 30 Hz. See head_pose.position in client_si.py.

jdibenes avatar Jul 19 '23 03:07 jdibenes

And also it is very nicely explained in the paper - https://arxiv.org/pdf/2211.02648.pdf

image

If I understand it correctly, we get X,Y,Z coordinates. Why do we need to more vectors - forward and up to define the direction in which head is pointing.

vstadnytskyi-FDA avatar Jul 19 '23 15:07 vstadnytskyi-FDA

Those vectors encode the orientation of the head.

jdibenes avatar Jul 22 '23 03:07 jdibenes