python-aruco
python-aruco copied to clipboard
FractalDetector getConfiguration method
hi again,
detector = aruco.FractalDetector()
detector.getConfiguration()
returns
<Swig Object of type 'FractalMarkerSet *' at 0x7fee5b4d2f90>
swig/python detected a memory leak of type 'FractalMarkerSet *', no destructor found.
Hi,
detector.getConfiguration()
returns the FractalMarkerSet
as expected.
You can load a config with
detector.setConfiguration("FRACTAL_2L_6")
# or
detector.setConfiguration(aruco.FractalMarkerSet.FRACTAL_2L_6)
# or
detector.setConfiguration(0)
# or
detector.setConfiguration("/path/to/config")
and it will load the config and look for the fractalmarkerset
Yeah I load custom created .yml file via .setConfiguration . As more specific I try to get marker size from .yml file because when I set manually, vector values go crazy.