Generating custom dictionary with aruco.custom_dictionary()

thank you for your quick respond. Unfortunately I couldn’t find how I can save a dictionary with lots of aruco codes (that isn’t one of the predefined dictionaries) so that I can use it in the detection as input for detectMarkers().