For performance reasons, I'd like to use an aruco dictionary that only contains a specific set of 20 aruco markers. The 20 markers I need in my custom dictionary are already chosen and come from the pre-defined dictionary DICT_6X6_250.
I've been reading the docs here: https://docs.opencv.org/master/d5/dae/tutorial_aruco_detection.html
Under the "Manual Dictionary Generation" section, it gives some hints, but a critical detail is missing:
How do you obtain the marker bits for a given marker id in a pre-definted dictionary?
If I could get the corresponding marker bits for a given marker Id in the pre-defined dictionary, then I could add those markers to my custom dictionary. I can't figure out why there isn't an API for this (something like Mat Dictionary::getMarkerBitsById(int markerId) ) which makes me think maybe I'm missing something fundamental.
Any help appreciated!