I'm working on a python script to do pose estimation using charuco board (https://docs.opencv.org/4.x/db/da9/tutorial_aruco_board_detection.html). I can already do it with single aruco marker, with some trouble with the documentation :/. Now I would like to a charuco board to do it and when I use interpolateCornersCharuco() I got this error. It seems the doc has change and I don't find what is the actual good signature for this function in python. Does anyone know ?
ps : I'm using aruco library from opencv with python 3.10.11, opencv 4.7.0 and I'm on Windows.
board = aruco.CharucoBoard((row, col), squareLength, markerLenght, arUsedDictionnary)
charucoretval, charucoCorners, charucoIds = aruco.interpolateCornersCharuco(arMarkersCorners, arMarkersId,
grayImg, board)
computedImage = aruco.drawDetectedCornersCharuco(img, markerCorners, markersIds, (0,255,0))
retval, rvec, tvec = aruco.estimatePoseCharucoBoard(charucoCorners, charucoIds, board, cameraCalibrationMatrix, calibrationDistCoef)