Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aruco2nerf script #930

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Aruco2nerf script #930

wants to merge 1 commit into from

Conversation

juanmacaaz
Copy link

@juanmacaaz juanmacaaz commented Sep 5, 2022

First of all, I hope you are all doing great.

I have dedicated myself to using aruco to find the POSE of the cameras to train a scene in NERF and I have created a script that creates a transform file in the same standard as intant ngp.

  1. We need to calibrate the camera, for this we can use the following command:

python .\aruco2nerf.py --folder_dir calibration_imgs --calib

In the folder_dir argument we have to indicate the images to calibrate the camera. We use charuco for the calibration. As you can see in the image

IMG_20220831_120554

  1. Once calibrated the camera, we can obtain the poses with the following code:

python .\aruco2nerf.py --folder_dir images

In my case I have created a 3x3 arucos board where in the center you can place the object, as you can see in the following image.

IMG_20220901_194455

Thank you very much.

@christian-ferre
Copy link

Ty so much, a really great job ;=)

@Tom94 Tom94 force-pushed the master branch 3 times, most recently from b04280e to c1bd002 Compare January 8, 2023 08:34
@satpalsr
Copy link

satpalsr commented Jan 21, 2023

@juanmacaaz Are results better than colmap? I am getting similar ok kinda result with both.

@juanmacaaz
Copy link
Author

juanmacaaz commented Jan 22, 2023

@juanmacaaz Are results better than colmap? I am getting similar ok kinda result with both.

The results are similar, the main difference is that colmap needs an exponential execution time, while using aruco this time becomes linear.

@Saddy21
Copy link

Saddy21 commented May 15, 2023

@juanmacaaz Are results better than colmap? I am getting similar ok kinda result with both.

The results are similar, the main difference is that colmap needs an exponential execution time, while using aruco this time becomes linear.

Do the dimensions match the actual model dimensions using this method,as in colmap,it is up scaling the model.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants