System information (version)
OpenCV = 4.6.0 / 4.5.5
Detailed description
cv2.aruco.CharucoBoard_create creates a different pattern in 4.6.0 than in 4.5.5 for even row counts. This leads to backwards incompatibility with previous versions, previously manufactured targets, etc.
OpenCV 4.5.5:

OpenCV 4.6.0:

Maybe this regression was introduced when resolving issue #2623 ?
Steps to reproduce
import cv2
aruco_dict = cv2.aruco.getPredefinedDictionary(cv2.aruco.DICT_5X5_1000)
charuco_board = cv2.aruco.CharucoBoard_create(
squaresX = 5,
squaresY = 4,
squareLength = 4,
markerLength = 3,
dictionary = aruco_dict
)
img_board = charuco_board.draw((250,200), marginSize=0, borderBits=1)
cv2.imwrite('charuco_OpenCV-' + cv2.__version__ + '.png', img_board)