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

Multiple camera support #45

Open
KamiCalcium opened this issue Dec 29, 2022 · 2 comments
Open

Multiple camera support #45

KamiCalcium opened this issue Dec 29, 2022 · 2 comments

Comments

@KamiCalcium
Copy link

Hi,

Great work!

I am wondering for my own dataset, is it possible to support different intrinsic for each camera?

In instant-ngp, we are able to do it by modify the transforms.json: NVlabs/instant-ngp#797

In your code I found that by design it is for only one camera, for example, the read_meta function

def read_meta(self):
just assume that we only have one kind of intrinsic.

Any suggestions? Thanks a lot!

@apchenstu
Copy link
Owner

you have to do revised the function in the dataloader because the current codebase doesn't include a similar API to adjust the intrinsic loading

@tallgeeze
Copy link

my solution would be modify the dataloader script based on tanksandtemple template. before stack poses, just use the same pattern as pose_fname and img_fname, create such folder structure for all intrinsic(after calibrate distortion. Put the calculation of ray part into the for loop among img_fname, pose_fname in read_meta() function. It works

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

3 participants