Efficient implementation of a low cost object tracking system