Reopening for the 4th timesince my message wasn't answered:
I would just prefer if someone at least replies with an "I don't know" or "can you give more details" because at least I know there's acknowledgement to my message. I understand that it's no one's obligation to help but every other thread has had responses except mine
I'm working on a project for Camera Calibration in Python (I have tagged this as Data science & AI as it seemed to be the closes fit). I have several implementations that I'm trying to develop the intrinsic and extrinsic parameters for all of the implementations. I have the Chessboard implementation, Charuco and I'm currently working on a Charuco Diamond version. I have the extrinsic parameters working but the intrinsics one I have a bug in. I tried a few things like doing my own debugging and consulting ChatGPT as a secondary opinion and it's narrowed me down to what looks like this last error.
I get the following error when I attempt to run the script
Traceback (most recent call last): File "C:\Users\asus\PycharmProjects\Calibr8\src\charuco_diamond\int_charuco_diamond.py", line 49, in <module> ret, K, d, rvec, tvec = cv2.aruco.calibrateCameraCharuco(all_corners, all_ids, board, imsize, None, None, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cv2.error: OpenCV(4.9.0) D:\a\opencv-python\opencv-python\opencv_contrib\modules\aruco\src\aruco_calib.cpp:69: error: (-215:Assertion failed) _charucoIds.total() > 0 && (_charucoIds.total() == _charucoCorners.total()) in function 'cv::aruco::calibrateCameraCharuco'
I will attach my GitHub repository for the source code: https://github.com/m-shah02/Calibr8/blob/main/src/charuco_diamond/int_charuco_diamond.py
I'm fairly new to using OpenCV so any help is appreciated thanks!!