Implements a system for tracking objects in a 3D environment using a camera