An algorithm for target extraction and posture recognition of Angus cattle image
-
Graphical Abstract
-
Abstract
In order to solve the problem that target profile and recognition posture of Angus cattle image cannot be accurately extracted by conventional methods due to the similarity between the image target and the background, the K-nearest neighbor(KNN) was used in the experiment to segment the image, calculate the seven invariant moments of Hu, and then analyze the posture of the cattle body. On the basis, the improved algorithm was used to further identify the superposition in the image. The results showed that the improved algorithm weakened the influence of K value size, and could extract the target image accurately. Based on Hu’s invariant moment algorithm, the accuracy of both standing and lying posture recognition was over 90%. The results indicated that the target extraction and posture identification of Angus cattle image could be segmented completely under complex background by using KNN and Hu’s seven invariant moments.
-
-