1. A system comprising: a three-dimensional camera; and a processor communicatively coupled to the three-dimensional camera, the processor operable to: access a first portion of visual data captured by the three-dimensional camera wherein the visual data comprises an image of a dairy livestock; access a second portion of the visual data; determine a first coordinate, wherein the first coordinate comprises a depth location of the first portion of the visual data; determine a second coordinate, wherein the second coordinate comprises a depth location of the second portion of the visual data; determine that a first distance exceeds a distance threshold, wherein the first distance is the distance between the depth locations of the first coordinate and the second coordinate; and discard the second portion of the visual data in response to the first distance exceeding the distance threshold.