gmlColorTracker Class Reference

Detailed Description

Track objects based on a color model in a video stream.

Emits the following events (tm is always the current time in ns):

Detect x y tm
an object candidate has been detected at <x,y>, with orientation <ox,oy> and radius r.
Appear oid x y tm
an object has appeared at <x,y>; oid is unique to this object.
Motion oid x y tm
object oid has moved to <x,y>
Dwell oid x y tm
object oid was static at <x,y> for over the parameter dwell delay.
Disappear oid x y tm
object oid has disappeared at <x,y>

Public Member Functions

constructor model thresholder

destructor

reset

ask the tracker to reset its internal state

process currentFrame

process the current frame and generate appropriate events