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

save camera extrinsics in calibrate.py #181

Closed
2emoore4 opened this issue Aug 19, 2020 · 2 comments
Closed

save camera extrinsics in calibrate.py #181

2emoore4 opened this issue Aug 19, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@2emoore4
Copy link

Currently, it's required that the developer knows and specifies the distances between the stereo cameras, as well as the color camera. The developer is expected to save these values in their custom board's JSON config.

These values can be inferred during the calibration process. cv.calibrateCamera(...) already returns the poses of the chessboards relative to the cameras (seems they get thrown out and only the homography matrix is saved). With a bit of simple math we can use these poses to find the distance between the cameras (not only the distances actually, but also the relative rotations).

Having a more accurate recording of distance between the cameras should help with stereo depth accuracy, as well as stereo triangulation accuracy.

@Luxonis-Brandon Luxonis-Brandon added the enhancement New feature or request label Aug 19, 2020
@Luxonis-Brandon
Copy link
Contributor

Totally agreed. We will add this capability for sure. There are a couple other bits we will probably include as well. We are making a list now and will consolidate.

@saching13 saching13 added the duplicate This issue or pull request already exists label Aug 19, 2020
@Luxonis-Brandon
Copy link
Contributor

So more details #182 .

jdavidberger pushed a commit to constructiverealities/depthai that referenced this issue May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants