Development of a Pig Intramuscular Fat Content and Eye Muscle Area Measurement System Based on Computer Vision Technology
The aim of this study was to develop a rapid identification method of pork quality images based on computer vision technology,and to lay a technical foundation for solving the defects of traditional pork quality determination methods and constructing a rapid pork quality determination system.In this study,canny edge detection algorithm,normalization,gamma correction,adaptive histogram equalization and thresholding were used for image processing to simulate a three-dimensional model of porcine dorsal longest muscle using two-dimensional information,and an image-based computer vision method for determining porcine intramuscular fat content was developed.An image-processing-based eye muscle area recognition method was developed using manual depiction and computer vision contour search techniques.The underlying algorithmic programs of each method were implemented using Open CV and C++,and a system for the determination of porcine intramuscular fat content and eye muscle area was developed and tested using 250 test pigs of different breeds.The test results showed that the intramuscular fat content detection module could quickly realize the extraction and prediction of intramuscular fat graphical information,with an average detection time of no more than 2 minutes for a single sample,an accuracy of up to 0.54,and a discrete coefficient of 0.062,which was highly stable.The eye muscle area and backfat thickness detection module can quickly determine eye muscle area and backfat thickness by combining manual and computerized methods.The assay method and software system developed in this study enable rapid detection of intramuscular fat content,backfat thickness and eye muscle area in pigs.