Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FractalDetector getConfiguration method #45

Open
a-altug opened this issue Jan 2, 2021 · 2 comments
Open

FractalDetector getConfiguration method #45

a-altug opened this issue Jan 2, 2021 · 2 comments

Comments

@a-altug
Copy link

a-altug commented Jan 2, 2021

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.
@fehlfarbe
Copy link
Owner

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

@a-altug
Copy link
Author

a-altug commented Jan 3, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants