kylemcdonald / ofxCv

Alternative approach to interfacing with OpenCv from openFrameworks.
Other
658 stars 276 forks source link

Issue to get all the internal current tracker: matched + unmatched objects( young enough ) #229

Open carlesgutierrez opened 7 years ago

carlesgutierrez commented 7 years ago

Hello Kyle, I want to get the current vector, because when blobs are being undetected but young enought in the traker, they are still usefull and I need their internal data ( Age, Rect, ... ).

For now, I've added a getter function:

vector<TrackedObject<T> > getCurrentRaw();

template<class T>
inline vector<TrackedObject<T>> Tracker<T>::getCurrentRaw()
{
    return current;
}

Isthere another method for this instead?