Abstract

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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.