Real time object tracking with a low-cost smart camera