TROD: tracking with occlusion handling and drift correction