-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Installing the python packages from the requirements.txt file will result in a code that cannot be run. Specifically, after installing the project dependencies I have a failure ImportError: numpy.core.multiarray failed to import with a warning about numpy>=2 compatibility when running the calibrate-camera command. To fix this I had to downgrade numpy to <2 which technically is not compatible with opencv-python>=4.10 but doesn't throw errors anymore
A second issue pops up when running calibrate-camera, after processing all images it threw an error AttributeError: module 'cv2.aruco' has no attribute 'calibrateCameraCharuco'. Figured out this happens because opencv-python doesn't have that class, which is instead in opencv-contrib-python, so the requirements.txt file should reflect it.
Finally, consider using the headless version of opencv as it isn't used in a desktop environment for this project