The invention discloses a method for automatically measuring
livestock and poultry foot parameters based on
machine vision. The method comprises the following steps: S1, collecting pictures containing
livestock and poultry feet; s2, segmenting the collected
livestock and poultry foot picture; s3, extracting livestock and poultry foot skeleton information from the segmented livestock and poultry foot picture; s4, searching cross points and end points by using the livestock and poultry foot skeleton information, wherein the end points comprise a livestock and poultry foot
diameter part upper end point and a livestock and poultry foot
diameter part lower end point; s5, determining a positioning point according to the
cross point and the end point, and calculating the
animal foot diameter length in the image sense according to the positioning point; and S6, calculating the real livestock and poultry foot diameter length and the diameter circumference according to the livestock and poultry foot diameter length in the image meaning. Compared with the traditional manual measurement recording complexity and low efficiency, the livestock and poultry foot parameter automatic measurement method based on
machine vision in the livestock and poultry farm provided by the invention has the advantages that the diameter length and diameter circumference of a chicken can be automatically measured through
machine vision, the
workload of people is reduced, and the visual fatigue of people is relieved.