Forum Discussion
sijan2405
Apr 26, 2021Copper Contributor
Other options of positioning objects in real world without Spatial Mapping; Holo Lens 1 / MRTK
Hallo I'm currently working for a client on a Holo Lens 1 /Mixed Reality-Application. My client wants to place the virtual objects firmly on pillars, similar to a museum. Normally I would use spatia...
koujaku
Apr 26, 2021Iron Contributor
HoloLens 1 can capture ArUco markers via the color camera! It's a lot of work to set this up since this goes through OpenCV, but SpectatorView may have some sample code that might help a bit if you choose to go this route.
https://github.com/microsoft/MixedReality-SpectatorView/tree/master/src/SpectatorView.Unity/Assets/SpatialAlignment
If you're losing tracking or not recognizing the room, I would seriously consider adding visual features to the room as well! Have some posters on the wall, a rug with some texture to it, sign-posts, or other objects themed with the experience, etc. This will likely result in a much better experience, more stable experience for users, as well as open back up the option to use world anchors.
https://github.com/microsoft/MixedReality-SpectatorView/tree/master/src/SpectatorView.Unity/Assets/SpatialAlignment
If you're losing tracking or not recognizing the room, I would seriously consider adding visual features to the room as well! Have some posters on the wall, a rug with some texture to it, sign-posts, or other objects themed with the experience, etc. This will likely result in a much better experience, more stable experience for users, as well as open back up the option to use world anchors.