ios_logger icon indicating copy to clipboard operation
ios_logger copied to clipboard

Poses fitted on the sphere

Open Vadkoz opened this issue 2 years ago • 5 comments

Hello! I tried to observe camera poses using COLMAP (by passed logged quat and translation vector to COLMAP), but faced the problem that camera poses from ios_logger look like something fitted on the sphere, but the real path of the camera definitely differs from the "spherical" one. Why does it happen? And how can I get the real poses? Thanks! image

Vadkoz avatar Apr 18 '22 10:04 Vadkoz

If you use quat and translation from ARKit (ARposes.txt) it should be "real". Check output and input formats.

Varvrar avatar Jul 27 '22 18:07 Varvrar

@Varvrar, can you please advise how ARKit computes these translation and quat values? I have a row of accelerometer and gyro data with timestamps, but I am unsure if we can derive similar ARKit information from them.

amughrabi avatar Feb 26 '24 20:02 amughrabi

@amughrabi for computes device poses ARKit use some visual inertial odometry algorithm (with mapping for corrections so it's rather some kind of SLAM). From accelerometer and gyro data + images with timestamp you could get similar device poses by using any visual inertial odometry. For example you could try https://github.com/HKUST-Aerial-Robotics/VINS-Mono

Varvrar avatar Feb 27 '24 09:02 Varvrar

@amughrabi for computes device poses ARKit use some visual inertial odometry algorithm (with mapping for corrections so it's rather some kind of SLAM). From accelerometer and gyro data + images with timestamp you could get similar device poses by using any visual inertial odometry. For example you could try https://github.com/HKUST-Aerial-Robotics/VINS-Mono

Thanks a million for the quick answer, @Varvrar!!! It is definitely helpful. I will have a try and let you know!

amughrabi avatar Feb 27 '24 10:02 amughrabi

Hi @Varvrar, I was working on VINS-MONO, and I realised that VINS-MONO wants 10 seconds frames for initialization, then it starts matching. It does not fit my dataset since my frame durations are less than 10 seconds. Any other options?

amughrabi avatar Mar 08 '24 18:03 amughrabi