cvg / pixloc

Back to the Feature: Learning Robust Camera Localization from Pixels to Pose (CVPR 2021)
Apache License 2.0
735 stars 92 forks source link

Question: Using pixloc with OpenSfM #13

Closed jzenn closed 2 years ago

jzenn commented 2 years ago

Hi,

Let me thank you first for the great tool you've developed and the clean code-base. I am currently trying to use pixloc with my own data in combination with OpenSfM. Do you know of any difficulties or problems in this setup or should I be fine just converting the OpenSfM output to a Model3D? Thank you very much in advance.

jzenn commented 2 years ago

Pay special attention to how pixloc defines quaternions. The order of a quaternion's components differs from how scipy.spatial.transform.Rotation would do it.