Research on the Authenticity of Mutton Based on Machine Vision Technology
Abstract
:1. Introduction
2. Materials and Methods
2.1. Sample Preparation
2.1.1. Sample Preparation of Different Livestock and Poultry Meat Pieces
2.1.2. Sample Preparation of Minced Meat
2.1.3. Sample Preparation for External Validation Sets
2.2. Machine Vision Image Acquisition and Calibration
2.3. Research on Classification Network Based on Convolutional Neural Network
2.3.1. Convolutional Neural Network
2.3.2. AlexNet Network Structure
2.3.3. VGG-16 Network Structure
2.3.4. SqueezeNet Network Structure
2.3.5. GoogLeNet Network Structure
2.3.6. ResNet-18 Network Structure
2.3.7. DarkNet-19 Network Structure
2.4. Model Construction and Testing Process
2.5. Judgment Indicators
3. Results
3.1. Grouping of Datasets
3.2. Model Learning Parameter Determination
3.2.1. Learning Rate Determination
3.2.2. Mini-Batch Value Determination
3.3. Research on the Image Recognition Method of Different Livestock and Poultry Meat Pieces Based on Deep Convolutional Neural Network
3.4. Research on Mutton and Duck-, Pork- and Chicken-Adulterated Minced Mutton Image Recognition Method Based on Deep Convolutional Neural Network
3.5. External Validation Results of Mutton Authenticity Discrimination Model Based on Machine Vision Technology
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Zhang, W.J.; Xue, J.H. Economically motivated food fraud and adulteration in China: An analysis based on 1553 media reports. Food Control 2016, 67, 192–198. [Google Scholar] [CrossRef]
- Roberts, M.; Turk, W. The Pursuit of Food Authenticity: Recommended Legal and Policy Strategies to Eradicate Economically Motivated Adulteration (Food Fraud). SSRN Electron. J. 2017. [Google Scholar] [CrossRef] [Green Version]
- Moore, J.C.; Spink, J.; Lipp, M. Development and Application of a Database of Food Ingredient Fraud and Economically Motivated Adulteration from 1980 to 2010. J. Food Sci. 2012, 77, R118–R126. [Google Scholar] [CrossRef] [PubMed]
- Li, S.T.; Yang, Y.N. Lamb injected with sewage, covered with a false seal, the market mixed sales warning food safety supervision can not be “watered down”. China Food Newsp. 2014, 3, 22–23. [Google Scholar]
- Jia, L. Beijing Evening News: “Lean sheep” how to slip out of the regulatory fence. China Food Newsp. 2021, 58, 1. [Google Scholar] [CrossRef]
- Sichuan Agricultural Products Quality and Safety Center. 2016 Sichuan Province livestock products safety monitoring results notification. Sichuan Anim. Vet. Sci. 2017, 44, 56. Available online: http://www.cnki.com.cn/Article/CJFDTOTAL-SCXS201701026.htm (accessed on 15 January 2017).
- Shanghai restaurant units suspected of using adulterated lamb were investigated and punished. Food Life 2013, 6, 18. Available online: http://www.cnki.com.cn/Article/CJFDTotal-SPSH201306010.htm (accessed on 6 June 2013).
- Cheng, T.T.; Wang, K.J.; Han, X.Z.; Li, S.; Wang, Y. Detection method of mutton adulteration based on PSO-LSSVM and characteristic wavelengths extraction. Food Mach. 2020, 36, 46–50. [Google Scholar] [CrossRef]
- Peariso, D. Machine Vision and Its Application to Prevent Fm Contamination of Foods; Blackwell Publishing: Hoboken, NJ, USA, 2007; pp. 145–182. [Google Scholar] [CrossRef]
- Chmiel, M.; Słowiński, M.; Dasiewicz, K.; Florowski, T. Use of computer vision system (CVS) for detection of PSE pork meat obtained from m. semimembranosus. LWT-Food Sci. Technol. 2016, 65, 532–536. [Google Scholar] [CrossRef]
- Wang, B.; Yang, H.Y.; Lu, F.G.; Chen, Z.D.; Cao, Z.X.; Liu, D.Y. Vision research on CNN model for quick and accurate identification of sugar-smoked chicken thighs color. Food Ferment. Ind. 2021, 47, 259–265. [Google Scholar] [CrossRef]
- Ruedt, C.; Gibis, M.; Weiss, J. Quantification of surface iridescence in meat products by digital image analysis. Meat Sci. 2020, 163, 108064. [Google Scholar] [CrossRef] [PubMed]
- Yuan, Y.F. Experimental Investigation on Measuring the pH Value of the Solution Based on Machine Vision; Guangxi University: Nanning, China, 2002. [Google Scholar] [CrossRef]
- Chen, S.J.; Ding, D.; Li, B.; Shen, M.X.; Lin, S.Y. Research on relationship between beef connective tissue features and tenderness by computer vision technology. J. Nanjing Agric. Univ. 2016, 39, 865–871. [Google Scholar] [CrossRef]
- Fan, Z.J. Study on Nondestructive Detection of Freshness of Mutton Based on Machine Vision; Shihezi University: Shihezi, China, 2018; Available online: https://d.wanfangdata.com.cn/thesis/D01581752 (accessed on 1 May 2018).
- Huang, H.Z.; Zhan, W.; Du, Z.Q.; Hong, S.B.; Dong, T.Y.; She, J.H.; Min, C. Pork primal cuts recognition method via computer vision. Meat Sci. 2022, 192, 108898. [Google Scholar] [CrossRef]
- Rady, A.M.; Adedeji, A.; Watson, N.J. Feasibility of utilizing color imaging and machine learning for adulteration detection in minced meat. J. Agric. Food Res. 2021, 5, 1543–2666. [Google Scholar] [CrossRef]
- Song, W.R.; Yun, Y.H.; Wang, H.; Hou, Z.Y.; Wang, Z. Smartphone detection of minced beef adulteration. Microchem. J. 2021, 164, 106088. [Google Scholar] [CrossRef]
- Zheng, M.C.; Zhnang, Y.X.; Gu, J.F.; Bai, Z.X.; Zhu, R.G. Classification and quantification of minced mutton adulteration with pork using thermal imaging and convolutional neural network. Food Control 2021, 126, 108044. [Google Scholar] [CrossRef]
- Wang, H.; Zhang, J.; Hang, W. Research on image recognition model of antelope based on convolutional neural network. Comput. Multimed. Technol. 2021, 17, 13. [Google Scholar]
- He, K.M.; Zhang, X.Y.; Ren, S.Q.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar] [CrossRef] [Green Version]
- Wan, J.J.; Qi, L.J.; Lu, Z.A.; Zhou, J.R.; Zhang, H. Recognition and grading of diseases and pests in orchard by GoogLeNet based on Transfer Learning. J. China Agric. Univ. 2021, 26, 209–221. [Google Scholar] [CrossRef]
- Yang, Z.T.; Li, F.W.; Wang, Z.H.; Zhang, X.Y.; Cao, J.R.; Zhang, Y. Food Color Evaluation and Application in Food Industry. Sci. Technol. Food Ind. 2021, 42, 417–423. [Google Scholar] [CrossRef]
- Zhang, K.; Feng, X.H.; Guo, Y.R.; Su, Y.K.; Zhao, K.; Zhao, Z.B.; Ma, Z.Y.; Ding, Q.L. Overview of deep convolutional neural net- works for image classification. J. Image Graph. 2021, 26, 2305–2325. [Google Scholar] [CrossRef]
- Huang, L. Study on Nondestruction Detection of Pork Freshness Based on Single Technology and Multiple Information Fusion Technology; Jiangsu University: Zhenjiang, China, 2013. [Google Scholar] [CrossRef]
- Yin, J.D. Animal Muscle Biology and Meat Quality; China Agricultural University Press: Beijing, China, 2011. [Google Scholar]
- Chmiel, M.; Słowiński, M.; Dasiewicz, K.; Florowski, T. Application of a Computer Vision System to Classify Beef as Normal or Dark, Firm, and Dry. J. Anim. Sci. 2012, 90, 4126–4130. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Chmiel, M.; Slowinski, M.; Dasiewicz, K. Lightness of the color measured by computer image analysis as a factor for assessing the quality of pork meat. Meat Sci. 2011, 88, 566–570. [Google Scholar] [CrossRef] [PubMed]
- Penman, D.W. Determination of stem and calyx location on apples using automatic visual inspection. Comput. Electron. Agric. 2001, 33, 7–18. [Google Scholar] [CrossRef]
- Zhang, B.H.; Huang, W.Q.; Gong, L.; Li, J.B.; Zhao, C.J.; Liu, C.L.; Huang, D.F. Computer vision detection of defective apples using automatic lightness correction and weighted RVM classifier. J. Food Eng. 2015, 146, 143–151. [Google Scholar] [CrossRef]
- Liu, Q.; Tu, Z.Y.; Chen, C.; Wu, P. Application of Computer Vision Technology in the Food Quality Inspection. Food Res. Dev. 2020, 41, 208–213. [Google Scholar] [CrossRef]
Grouping Type | Group Name | Composition of the Samples |
---|---|---|
Adulterated minced meat | Pure mutton | 0% duck, 0% duck, 0% duck |
Minced mutton adulterated with duck | 0% duck, 20% duck, 40% duck, 60% duck, 80% duck, 100% duck | |
Minced mutton adulterated with pork | 0% pork, 20% pork, 40% pork, 60% pork, 80% pork, 100% pork | |
Minced mutton adulterated with chicken | 0% chicken, 20% chicken, 40% chicken, 60% chicken, 80% chicken, 100% chicken |
Group | Number of Samples | Total | Acquisition of Images: Number of Images | ||||
---|---|---|---|---|---|---|---|
20% | 40% | 60% | 80% | 100% | |||
Minced mutton adulterated with duck | 6 | 6 | 6 | 6 | 6 | 30 | 60 |
Minced mutton adulterated with pork | 6 | 6 | 6 | 6 | 6 | 30 | 60 |
Minced mutton adulterated with chicken | 6 | 6 | 6 | 6 | 6 | 30 | 60 |
Pure mutton | - | 30 | 60 | ||||
Total | 120 | 240 |
Images | Parameters | Parameter Values | Advantages |
---|---|---|---|
Model | MER-2000-5GC-P | High definition, low noise, compact design, easy to install and use, and suitable for industrial testing, medical treatment, scientific research, education, security and other fields | |
Resolution | 5496 (H) × 3672 (V) | ||
Frame rate | 5 fps | ||
Sensor type | 1” Sony IMX183 exposure CMOS | ||
Cell size | 2.4 μm × 2.4 μm | ||
Image data format | Bayer RG8/Bayer RG12 | ||
Signal-to-noise ratio | 45 db | ||
Data interface | Fast ethernet or gigabit ethernet (100 Mbit/s) | ||
Operation temperature | 0–45 °C | ||
Operation humidity | 10–80% | ||
Weight | 75 g | ||
Model Chart size | HN-1226-20M-C1/1X 1” | Specifically designed for machine vision applications, compact, convenient, low distortion, high shock resistance, uniform illumination and sufficient brightness at the corners of the screen | |
Focal length (mm) Maximum aperture ratio Maximum imaging size Aperture range Working distance | 12 1:2.6 12.8 × 9.6 (Φ16) F2.6–F16.0 0.1 m–Inf. | ||
Back focal length | 10.6 mm | ||
Weight Operation temperature | 98.4 g −10–50 °C |
Classification Type | Classification | Raw Data Volume | After Data Augmentation | Training Set | Internal Test Set | Total | |
---|---|---|---|---|---|---|---|
Different livestock and poultry meat | Mutton | 120 | 240 | 200 | 40 | 960 | |
Duck | 120 | 240 | 200 | 40 | |||
Pork | 120 | 240 | 200 | 40 | |||
Chicken | 120 | 240 | 200 | 40 | |||
Adulterated minced meat | Pure mutton | 0% duck, 0% pork, 0% chicken | 150 | 300 | 225 | 75 | 1200 |
Minced mutton adulterated with duck | 20–100% duck | 150 | 300 | 225 | 75 | ||
Minced mutton adulterated with pork | 20–100% pork | 150 | 300 | 225 | 75 | ||
Minced mutton adulterated with chicken | 20–100% chicken | 150 | 300 | 225 | 75 | ||
External validation dataset | Pure mutton | Pure mutton | 60 | 120 | external test set | 75 | 300 |
minced mutton adulterated with duck | 20–100% duck | 60 | 120 | 75 | |||
Minced mutton adulterated with pork | 20–100% pork | 60 | 120 | 75 | |||
Minced mutton adulterated with chicken | 20–100% chicken | 60 | 120 | 75 |
Network Model | Training Time | Verification Accuracy% |
---|---|---|
AlexNet | 42 min 7 s | 100% |
GoogLeNet | 44 min 33 s | 98.125% |
ResNet-18 | 42 min 28 s | 99.375% |
DarkNet-19 | 43 min 22 s | 98.75% |
SqueezeNet | 42 min 16 s | 99.375% |
VGG-16 | 49 min 48 s | 96.875% |
Model | Number | Real Category | Number of Correct External Validations | Correct Rate/% | |||
---|---|---|---|---|---|---|---|
Minced Mutton Adulterated with Pork | Minced Mutton Adulterated with Chicken | Minced Mutton Adulterated with Duck | Pure Mutton | ||||
GoogLeNet | 300 | Minced mutton adulterated with pork | 40 | 2 | 0 | 0 | 73.67 |
Minced mutton adulterated with chicken | 0 | 72 | 0 | 0 | |||
Minced mutton adulterated with duck | 0 | 0 | 28 | 04 | |||
Pure mutton | 35 | 1 | 47 | 75 | |||
ResNet-18 | 300 | Minced mutton adulterated with pork | 40 | 2 | 0 | 0 | 71.67 |
Minced mutton adulterated with chicken | 0 | 72 | 0 | 0 | |||
Minced mutton adulterated with duck | 0 | 0 | 28 | 0 | |||
Pure mutton | 35 | 1 | 47 | 75 | |||
DarkNet-19 | 300 | Minced mutton adulterated with pork | 40 | 0 | 0 | 0 | 75.33 |
Minced mutton adulterated with chicken | 0 | 75 | 0 | 0 | |||
Minced mutton adulterated with duck | 0 | 0 | 36 | 0 | |||
Pure mutton | 35 | 0 | 39 | 75 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhang, C.; Zhang, D.; Su, Y.; Zheng, X.; Li, S.; Chen, L. Research on the Authenticity of Mutton Based on Machine Vision Technology. Foods 2022, 11, 3732. https://doi.org/10.3390/foods11223732
Zhang C, Zhang D, Su Y, Zheng X, Li S, Chen L. Research on the Authenticity of Mutton Based on Machine Vision Technology. Foods. 2022; 11(22):3732. https://doi.org/10.3390/foods11223732
Chicago/Turabian StyleZhang, Chunjuan, Dequan Zhang, Yuanyuan Su, Xiaochun Zheng, Shaobo Li, and Li Chen. 2022. "Research on the Authenticity of Mutton Based on Machine Vision Technology" Foods 11, no. 22: 3732. https://doi.org/10.3390/foods11223732
APA StyleZhang, C., Zhang, D., Su, Y., Zheng, X., Li, S., & Chen, L. (2022). Research on the Authenticity of Mutton Based on Machine Vision Technology. Foods, 11(22), 3732. https://doi.org/10.3390/foods11223732