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

Preprocessing data #3

Closed
yggs1401 opened this issue Oct 20, 2020 · 9 comments
Closed

Preprocessing data #3

yggs1401 opened this issue Oct 20, 2020 · 9 comments

Comments

@yggs1401
Copy link

Hello!

First of all, nice job! I was wondering how can we preprocess new data and make our own dataset with generated poses, intrinsics. Thanks in advance!

@Kai-46
Copy link
Owner

Kai-46 commented Oct 20, 2020

you can follow the descriptions on the readme to convert your poses to the format suitable for this repo.

@yggs1401
Copy link
Author

I was having problems generating those files using COLMAP. Mind if you can help with a tip :).

I've managed to reconstruct the mesh based on my images, but I don't know how to continue from here. I think that I need to export the sparse folder as .txt, but then I don't really know what information do I need to make the poses.txt and intrinsic.txt

Thank you and stay safe!

@Kai-46
Copy link
Owner

Kai-46 commented Oct 20, 2020

I do have some scripts for doing this. I'll clean them a bit for easier access before getting back to you.

@yggs1401
Copy link
Author

I'm glad to hear that! Thank you very much and I'm waiting for them.

@Kai-46
Copy link
Owner

Kai-46 commented Oct 21, 2020

I just added some scripts for generating poses from COLMAP to the repo. You can see the description about how to use them at the bottom of the readme. Let me know if you encounter any issues.

@yggs1401
Copy link
Author

Thank you! I will try them.

@yggs1401
Copy link
Author

One more question than everything is fine. The intrinsics of the camera is the same for all the datasets? I read in COLMAP docs if the pictures were taken by the same objective, we need a single camera. I think that's why all your datasets share the same intrinsics.
But if we get a new set of pictures taken with another objective (my phone's camera), how can I get the new intrinsics for it?

Thank you and sorry for the silly questions!

@Kai-46
Copy link
Owner

Kai-46 commented Oct 21, 2020

No worries. COLMAP SfM estimates poses, as well as intrinsics from images. You will see the estimated intrinsics and poses after you run the script 'colmap_runner/run_colmap.py'.

@yggs1401
Copy link
Author

Thank you very much for your help! Keep up the good work! :)

@Kai-46 Kai-46 closed this as completed Oct 21, 2020
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

No branches or pull requests

2 participants