Wrote code for finding depths and tracking objects