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

Unknown camera model rational_polynomial #92

Open
upaltamentept opened this issue Jul 3, 2024 · 1 comment
Open

Unknown camera model rational_polynomial #92

upaltamentept opened this issue Jul 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@upaltamentept
Copy link

Hi, I've found your calibration program, and found this error while building

image

I was using a OAK-D camera that is specified to be rational_polynomial, do I need to create a new file in the camera folder?
For context, it says that it was needed to enter manually the camera details in ros1, but it did not have any errors. For context, these are the camera informations:
image

Any help is appreciated. Thanks!

@upaltamentept upaltamentept added the bug Something isn't working label Jul 3, 2024
@koide3
Copy link
Owner

koide3 commented Jul 4, 2024

rational_polynomial is not supported in this package, and you have two options:

  1. Drop the last three distortion coefficients and use the standard pinhole camera model
  2. Implement a custom camera model for rational_polynomial like this class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants