IEEE Access (Jan 2019)

Pig Detection Algorithm Based on Sliding Windows and PCA Convolution

  • Longqing Sun,
  • Yan Liu,
  • Shuaihua Chen,
  • Bing Luo,
  • Yiyang Li,
  • Chunhong Liu

DOI
https://doi.org/10.1109/ACCESS.2019.2907748
Journal volume & issue
Vol. 7
pp. 44229 – 44238

Abstract

Read online

An accurate and rapid pig detection algorithm based on video image processing technology can be helpful to identify abnormal pigs and take timely measures to reduce the incidence of diseases. In order to solve the problems of low computational efficiency and low precision in pig detection algorithm based on sliding windows, this paper proposed a simple and efficient pig detection algorithm. A two-level support vector machine model was trained to calculate the probabilities of sliding windows by using gradient and gray distribution features of pigs. The principal component analysis convolution kernels were trained to extract foreground and background features of pig images. The support vector machine was used to classify sliding windows to obtain windows where pigs were located, and the non-maximum suppression algorithm was used to eliminate redundant windows to complete the target detection. The experiments showed that the proposed algorithm blending gradient and gray distribution features had a higher recall rate than the BING algorithm. The recall rate was up to 99.21% using 500 windows. The classification accuracy of sliding windows in this paper was 95.21%, which was higher than that of the PCANet. By calculating the omission detection rate, the misdetection rate, and the average detection time, it can be seen that in the detection methods of the proposed algorithm, BING + PCANet, faster rcnn and yolo, the performance of the proposed algorithm was optimal.

Keywords