ofxCv
ofxCv copied to clipboard
Tracker.h curLabel out of range
I think uint curLabel
gets an out of range if my thread is running during a long time.
To avoid this, i create this fix. what do yo think?
unsigned int getNewLabel() { if (curLabel>=UINT_MAX) { curLabel = 0; } else { curLabel++; } return curLabel; }
thanks
This is related to #202