A system comprising: a three-dimensional camera ; and a processor communicatively coupled to the three-dimensional camera , the processor operable to: determine a first hind location of a first hind leg of a dairy livestock based at least in part on visual data captured by the three-dimensional camera ; determine a second hind location of a second hind leg of the dairy livestock based at least in part on the visual data; determine a measurement, wherein the measurement is the distance between the first hind location and the second hind location ; and determine whether the measurement exceeds a minimum threshold; and further comprising a rotary milking platform and a robotic arm coupled to the three-dimensional camera characterized in that the robotic arm is positioned on a linear track separate from and adjacent to a curved portion of the rotary milking platform , that the robotic arm and the three-dimensional camera are capable of moving laterally along the track as the rotary milking platform rotates such that the robotic arm moves along the linear track at a rate corresponding to the rotational speed of the rotary milking platform and the processor is capable of determining whether the measurement between the first and second hind locations (406a; 406b) of the dairy livestock exceeds a minimum threshold while the rotary milking platform (102 is in motion. a three-dimensional camera ; and a processor communicatively coupled to the three-dimensional camera , the processor operable to: determine a first hind location of a first hind leg of a dairy livestock based at least in part on visual data captured by the three-dimensional camera ; determine a second hind location of a second hind leg of the dairy livestock based at least in part on the visual data; determine a measurement, wherein the measurement is the distance between the first hind location and the second hind location ; and determine whether the measurement exceeds a minimum threshold; and further comprising a rotary milking platform and determine a first hind location of a first hind leg of a dairy livestock based at least in part on visual data captured by the three-dimensional camera ; determine a second hind location of a second hind leg of the dairy livestock based at least in part on the visual data; determine a measurement, wherein the measurement is the distance between the first hind location and the second hind location ; and determine whether the measurement exceeds a minimum threshold; and further comprising a rotary milking platform and a robotic arm coupled to the three-dimensional camera characterized in that the robotic arm is positioned on a linear track separate from and adjacent to a curved portion of the rotary milking platform , that the robotic arm and the three-dimensional camera are capable of moving laterally along the track as the rotary milking platform rotates such that the robotic arm moves along the linear track at a rate corresponding to the rotational speed of the rotary milking platform and the processor is capable of determining whether the measurement between the first and second hind locations (406a; 406b) of the dairy livestock exceeds a minimum threshold while the rotary milking platform (102 is in motion. <EOS>