Code Monkey home page Code Monkey logo

Comments (5)

jordyno avatar jordyno commented on June 2, 2024

Marzipano is not aware of the panorama's orientation other then yaw 0 being exactly center of the equirectangular image. That is, if you have your source image 12 000 px wide, your yaw 0 will be at pixel 6000 on the x axis. In order for this to be actual North, you need to stitich your panorama in a way, that the center of your stitched equirect image will be at the actual North.

from marzipano.

SuhaibMaraqa avatar SuhaibMaraqa commented on June 2, 2024

Okay I see, if I have the metadata of the image, like the drone yaw of the image coordinate. Can I calculate the north degree in Marzipano? @jordyno

from marzipano.

jordyno avatar jordyno commented on June 2, 2024

I am not aware of metadata storing the drone yaw. What drone are you using? Normally there are only GPS position and altitude available and you need to find the North yaw manually.
For these calculations though you can use RectilinearView#screenToCoordinates or RectilinearView#coordinatesToScreen.

from marzipano.

SuhaibMaraqa avatar SuhaibMaraqa commented on June 2, 2024

I use the Mavic3, this is a snippet of the metadata I can use,
GPS Position:
GPS Altitude:
Gimbal Yaw Degree : -172.30
Flight Yaw Degree : -162.20
can I use these values to calculate the north?
I couldn't get how to use RectilinearView#screenToCoordinates or RectilinearView#coordinatesToScreen with these values

from marzipano.

jordyno avatar jordyno commented on June 2, 2024

Oh, maybe you mean the flight log, not the image metadata? The flight yaw changes by each column of images as the panorama is taken, so it's a bit tricky.

from marzipano.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.