Closed GoogleCodeExporter closed 9 years ago
This works fine here:
for (int i = 0; i < tracker.getNumDetectedMarkers(); i++) {
armi = tracker.getDetectedMarker(i);
System.out.println(armi.dir());
}
Let me know if it still doesn't work, and please post your questions on the
mailing list next time if possible, thank you
Original comment by samuel.a...@gmail.com
on 2 Feb 2013 at 1:25
I wondered why it worked for you and installed everything on my home pc (the
error occured at work).
Still got the same error.
And then i saw that you used tracker.getDetectedMarker(i), while i used
tracker.getDetectedMarker(markercount.get(i))
Can't believe, i didn't see that. Yet i wonder why the getDetectedMarker()
function didn't throw an "out of bounds" error or something similar.
Sorry for my blindness (and not posting this problem on the mailing list) and
many thanks for looking into this so quickly.
Best regargds,
Chris
Original comment by Dlo...@googlemail.com
on 2 Feb 2013 at 3:19
Well, it would be nice of ARToolKitPlus to throw errors in such cases (this
isn't JavaCV's responsibility). I wonder if newer version do that (issue #234)?
Original comment by samuel.a...@gmail.com
on 2 Feb 2013 at 3:30
FYI, I've made changes to support a newer version of ARToolKitPlus:
http://code.google.com/p/javacv/source/detail?r=b80bcf5cceacc8453511890fed9d93c8
7fa91d71
Maybe that fixes this issue...
Original comment by samuel.a...@gmail.com
on 22 Jun 2013 at 3:01
Original issue reported on code.google.com by
Dlo...@googlemail.com
on 31 Jan 2013 at 10:04Attachments: