Sign in to follow this  

artoolkitplus

This topic is 2660 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello
I'm creating an application with artoolkitplus.
I use two maps <> stl and i do do a difference between the number of markers present previously and those currently recognized.
My problem is that sometimes I have a quick recognition and quick loss recognition of markers.
For each marker i have associated a class CMarker, what I thought was to use a variable that records the time since it was "lost sight of" the last time, and if this value exceeds a certain threshold is destroyed and removed from maps , so that if the marker is not recognized for a split second I don't have to re-create the marker and add it and remove from the maps.
often it happens that a marker is lost for a fraction of a second and then is immediately recognized.
And 'maybe wrong the use of maps or the use of the difference between the two containers?
Advice?

Share this post


Link to post
Share on other sites

This topic is 2660 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this