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

throw EXCEPTION("ID already exists"); - possible CAUSE ? #143

Open
VladVuk opened this issue Feb 16, 2018 · 2 comments
Open

throw EXCEPTION("ID already exists"); - possible CAUSE ? #143

VladVuk opened this issue Feb 16, 2018 · 2 comments

Comments

@VladVuk
Copy link

VladVuk commented Feb 16, 2018

Hello,

I am trying to dynamically use addMarkers() or removeMarkers() functions with arWrapper for android v5.3.3.

And whenever program comes the certain point (to addMarker to the set which is already active with recognition) it throws exception : "terminating with uncaught exception of type vision::Exception "ID already exists" failed

I found that there are three possible places in FREAK_MATCHER's visual_database-inline.h where exists code with line:
throw EXCEPTION("ID already exists");

But can someone explain me what could be the cause, which are limits of usage, how to reset or keep ID-s consistent in the artoolkit together with android app ?

Or how to make dynamic addMarker / removeMarker while Draw() with marker set works ?

@VladVuk
Copy link
Author

VladVuk commented Feb 16, 2018

I tried to change the code in order to use ARToolkit.getInstance().RemoveAllMarkers() function , after that I tried to again through loop use addMarker() function but the error message is the same.

image

@VladVuk
Copy link
Author

VladVuk commented Feb 16, 2018

this issue I opened also at :
https://github.com/artoolkit/artoolkit5/issues/387

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

1 participant