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

If I only have photo data, how can I estimate the camera's internal and external parameters #2

Open
smart4654154 opened this issue Nov 15, 2024 · 0 comments

Comments

@smart4654154
Copy link

If I only have photo data, how can I estimate the camera's internal and external parameters?

I have read the code:

Edit path to the folder containing the renders

DATASET_PATH = "./small_room"

Edit path to the folder containing the cube calibration images.

OBJ_DATASET_PATH = "./cube_calib"

Edit marker size in meters

MARKER_SIZE = 0.48 * 0.575

Check which IDs are used

MARKER_IDS = list(map(str, range(24)))

dataset = Dataset(root=DATASET_PATH)
obj_dataset = Dataset(root=OBJ_DATASET_PATH)

I find that I must have cameras.json.
cameras.json has camera's internal and external parameters
but I only have photo data,so I do not have cameras.json.I am unable to continue executing the code.
how can I estimate the camera's internal and external parameters?
thank you

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

1 participant