Li Yiyang, Sun Longqing, Sun Xinxin. Automatic tracking of pig feeding behavior based on particle filter with multi-feature fusion[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2017, 33(z1): 246-252. DOI: 10.11975/j.issn.1002-6819.2017.z1.037
    Citation: Li Yiyang, Sun Longqing, Sun Xinxin. Automatic tracking of pig feeding behavior based on particle filter with multi-feature fusion[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2017, 33(z1): 246-252. DOI: 10.11975/j.issn.1002-6819.2017.z1.037

    Automatic tracking of pig feeding behavior based on particle filter with multi-feature fusion

    • Abstract: The basic behavioral characteristics of live pigs are mainly shown through daily food intake frequency, water intake frequency, and excretion frequency. These factors indicate the health states of pig growth. Monitoring and analyzing the behavioral characteristics of pigs are important basis to understand their health situations. Currently, we mainly use artificial way to monitor livestock behavior in China. This method consumes large amounts of human labor and energy, and the observed data obtained in this way is subjective. It is difficult to ensure the accuracy and the continuity of the records. We take good advantage of pig detection and tracking technology based on machine vision to monitor the behavior of pigs to evaluate the health status of pigs in time, and to reduce the morbidity and mortality of pigs and increase the slaughtering rate of pigs. It has important practical significance and application value in improving people's confidence in pork quality and increasing the income of farmers. Target tracking technology is the basis of the moving target identification and abnormal behavior tracking, recording and analysis. We research the real-time monitoring of the target pigs foraging based on the particle filter target tracking technology. Particle filter algorithm closely approximates Bayesian filtering algorithm based on Monte Carlo simulation, and it is used in target tracking widely. Conceptually, a particle filter tracker maintains a probability distribution over the state (location, scale, and so on) of the object being tracked. Particle filters represent this distribution as a set of weighted samples, or particles. Each particle represents a possible instantiation of the state of the object. In other words, each particle is a guess representing one possible location of the object being tracked. The set of particles contain more weight at locations where the object being tracked is more likely to be. This weighted distribution is propagated through time using a set of equations known as the Bayesian filtering equations, and we can determine the trajectory of the tracked object by the particle with the highest weight or the weighted mean of the particle set at each time step. In view of the pig behavior characteristics and the actual situation of the farms' video image acquisition, this paper takes a group of pigs raised as detection tracking target. On the basis of analyzing and summarizing in particle filter tracking algorithm, we carried out particle filter target tracking technology for pigs which is based on the color characteristics to achieve the goal of tracking pigs. In order to solve the problems in the color characteristics of particle filter target tracking for pigs, we fused the color characteristics and the target contour centroid feature. The specific methods were as follows: First of all, according to the particle filter tracking algorithm based on single color feature of target tracking on the position of the rectangle coordinates, and the height and width of the target tracking rectangular box, we calculated the center of the target tracking rectangle coordinates. Secondly, we determined the centroid position of moving pigs on the basis of the comparison and analysis of moving target centroid position and the minimum circumscribed rectangle length-width ratio. Finally, according to the target contour centroid location and the center of the tracking target rectangle coordinates, we calculated the amount of deviation between them. When the deviation of target contour centroid and tracking rectangular box was too large, we took a second correction for tracking the target coordinates based on the particle filter algorithm with multi-feature fusion. The improved algorithm presented in this paper updated the tracking rectangular coordinates through the target contour centroid coordinates, and gave the new tracking rectangular box. This paper constructs the target pig tracking system based on particle filter algorithm, achieves a multi-feature fusion particle filter tracking algorithm through area real-time monitoring, and completes the statistics of the target pig's feeding time and food intake frequency. Experiment results prove that this algorithm can automatically accurately track, record and analyze the feeding behaviour of the target pigs, and effectively deal with the problems such as target short-time missing. The feeding frequency and time of the target pigs are almost the same as the manual statistics.
    • loading

    Catalog

      /

      DownLoad:  Full-Size Img  PowerPoint
      Return
      Return