Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

positional tracking via cameras?

Discussion in 'AR/VR (XR) Discussion' started by kekkked, Dec 7, 2017.

  1. kekkked

    kekkked

    Joined:
    Dec 7, 2017
    Posts:
    3
    I'm looking for a library that will add an inside-out positional tracking support to my HMD. Is there any? There are ton of proof of concept videos on youtube, but any open source project, or even payed?
    Only iOS or Android is not an option, preferrably I'd want it to run on a Raspberry so they computations would be done on the headset itself and sent to the PC instead of having two HD videos going to the users PC just to calculate the X,Y,Z position.

    There are some commercial cameras with their own libraries but in my opinion the cost (of the camera device) is ridiculous to make it a practical option for most consumers and users.
    I want to allow users to use a camera such as this: https://www.aliexpress.com/store/pr...365.html?spm=2114.12010612.0.0.11f1372bET4nQj
    or a prettier one such as this: https://www.aliexpress.com/item/ELP...id=8935ec01-28d8-4f4c-ae14-acad1866dcc7&tpp=1
     
  2. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    What HMD are you using? You mean you have a headset that does not have camera's / inside out tracking and you want to add it? For that you'll either need a device with depth sensors (ala google tango) or a device with gyrometer, acelerometer and camera, in which all these 3 sensors are perfeclty in sync and calibrated (aka a high end smartphone..)
    There's no solution on raspberry pie for markerless tracking afaik.
     
  3. kekkked

    kekkked

    Joined:
    Dec 7, 2017
    Posts:
    3
    Yes, I have built a device which has a gyroscope+accelerometer already functioning properly: https://playground.arduino.cc/Main/MPU-6050

    It also has a stereo camera I'd like to use as the inside-out tracking device. It is essentially the same as this one: https://www.aliexpress.com/store/pr...365.html?spm=2114.12010612.0.0.11f1372bET4nQj

    Uness there's a ready inside out tracking product I could use in this price range I'd wish to use that.

    The purpose of using a Pi is to do the depthfield generation on the headset itself but in worst case I can have the raw videos sent to the PC and processed there, if there are libraries for PC which will accept off-the-shelf stereo cameras rather than a proprietary one.

    The is a open project for outside-in tracking instead but the extra tripods and setup make it an inferior option, at least for me. https://vrtracker.xyz/
     
    Last edited: Dec 8, 2017