marcusvaltonen / python-droneposelib

Python library for Visual-Inertial Odometry (VIO)
MIT License
10 stars 1 forks source link

How to implement simple VIO project using IMU data and monocular camera frames? #7

Open algorithm99129 opened 2 months ago

algorithm99129 commented 2 months ago

Thank you for your effort.

This is really amazing.

Currently I am learning about VIO and want to implement simple project using python-droneposelib package. I already have recorded IMU dataset (Gyro and Accel) and monocular camera frames. And is there a way to implement VIO using these dataset?

Thank you again and looking forward to hearing from you soon.

marcusvaltonen commented 2 months ago

Hi,

Yes, it is possible. You will need to synchronize the IMU data with your monocular camera images. The IMU measurements need to be converted to rotation matrices w.r.t. the coordinate system used in the repo.

See the example script for an example of the input data: https://github.com/marcusvaltonen/python-droneposelib/blob/main/example/synthetic.py

algorithm99129 commented 2 months ago

Hi Marcus,

Thank you for your reply.

I am not sure how we feed camera frames and IMU data.

On Sun, Jul 7, 2024 at 10:15 AM Marcus Valtonen Örnhag < @.***> wrote:

Hi,

Yes, it is possible. You will need to synchronize the IMU data with your monocular camera images. The IMU measurements need to be converted to rotation matrices w.r.t. the coordinate system used in the repo.

See the example script for an example of the input data:

https://github.com/marcusvaltonen/python-droneposelib/blob/main/example/synthetic.py

— Reply to this email directly, view it on GitHub https://github.com/marcusvaltonen/python-droneposelib/issues/7#issuecomment-2212513125, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJHLOH7J2W2OSYUAKKDPO6LZLFZSFAVCNFSM6AAAAABKFELPB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGUYTGMJSGU . You are receiving this because you authored the thread.Message ID: @.***>