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

Updates to Calibration Readme and small fix to dualStereoChessboardCalibration.py #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

BryanChrisBrown
Copy link

The readme for the calibration software currently states to import opencv-python, however this does not include the proper files in order to import aruco, which exists in the extended library opencv-contrib-python.

I've also added an additional flag , allow_pickle=True)to the .npz file import in the dualStereoChessboardCalibration.py file, located on line 77. We wasted a lot of time trying to figure out why numpy couldn't parse the .npz file in our python environments and this solved that issue.

Special thanks to Alina Christenbury and SafariMonkey from the northstar discord server for working with me on this.

Specifically regarding the importation of opencv, the readme currently states to import opencv-python, however this does not include the proper files in order to import aruco, which exists in the extended library opencv-contrib-python.

I've also added an additional flag ", allow_pickle=True"to the .npz file import in the dualStereoChessboardCalibration.py file, located on line 77. We wasted a lot of time trying to figure out why numpy couldn't parse the .npz file in our python environments and this solved that issue.

Special thanks to Alina Christenbury and SafariMonkey from the northstar discord server for working with me on this.
@jselstad jselstad self-requested a review October 23, 2019 00:01
@jselstad jselstad added the bug Something isn't working label Oct 23, 2019
Copy link
Contributor

@jselstad jselstad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, so the aruco library and opencv-python-contrib aren't actually used in the calibrator; I must have accidentally left the include behind after some experimentation with the ChArUco calibration system. Apologies about that, my bad.

The , allow_pickle=True) flag is a good catch; it seems like somewhat recent versions of NumPy require it.

If you remove the import cv2.aruco as aruco line from the top of the python file and change the readme back, I'll merge it asap.

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

Successfully merging this pull request may close these issues.

2 participants