You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2023. It is now read-only.
In RoboCon 2018, we ran into an issue with libkoki when using the Raspberry Pi camera module, which can produce significantly higher-resolution images than the webcams SR typically use can. libkoki would intermittently fail this assertion:
/* Check we do not exceed the maximum number of labels */
assert( lmg->aliases->len!=KOKI_LABEL_MAX );
The fix we used is systemetric/libkoki@d84c77f, which just changes label_t from a 16-bit uint to a 32-bit uint and bumps KOKI_LABEL_MAX accordingly. I had (and still have) no idea if that's the correct thing to do, or if anything else needs changing as a result of that, but it seemed to work for us :)
No opinion on whether you should take this change or not, mostly just wanted to document an issue that we ran into.
(before shelling out for better cameras for SR, it's probably worth checking if high-resolution images actually help the marker recognition at all; I don't remember what the conclusion from my year of RoboCon was, but from what I've heard from this year, it's not clear if increasing the resolution actually has any effect apart from making it slower)