Duck Egg Crack Detection Using an Adaptive CNN Ensemble with Multi-Light Channels and Image Processing
Source abstract
Abstract
Duck egg quality classification is critical in farms, hatcheries, and salted egg processing plants, where cracked eggs must be identified before further processing or distribution. However, duck eggs present a unique challenge due to their white eggshells, which make cracks difficult to detect visually. In current practice, human inspectors use standard white light for crack detection, and many researchers have focused primarily on improving detection algorithms without addressing lighting limitations. Therefore, this paper presents duck egg crack detection using an adaptive convolutional neural network (CNN) model ensemble with multi-light channels. We began by developing a portable crack detection system capable of controlling various light sources to determine the optimal lighting conditions for crack visibility. A total of 23,904 images were collected and evenly distributed across four lighting channels (red, green, blue, and white), with 1494 images per channel. The dataset was then split into 836 images for training, 209 images for validation, and 449 images for testing per lighting condition. To enhance image quality prior to model training, several image pre-processing techniques were applied, including normalization, histogram equalization (HE), and contrast-limited adaptive histogram equalization (CLAHE). The Adaptive MobileNetV2 was employed to evaluate the performance of crack detection under different lighting and pre-processing conditions. The results indicated that, under red lighting, the model achieved 100.00% accuracy, precision, recall, and F1-score across almost all pre-processing methods. Under green lighting, the highest accuracy of 99.80% was achieved using the image normalization method. For blue lighting, the model reached 100.00% accuracy with the HE method. Under white lighting, the highest accuracy of 99.83% was achieved using both the original and HE methods.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Infrastructure Maintenance and Monitoring · Industrial Vision Systems and Defect Detection · Animal Nutrition and Physiology
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Robotics and Computational Intelligent Systems, School of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand
Department of IoT and Information Engineering, School of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand
References (29)
Show source-provided references
1. Virtue Market Research (2025, May 23). Duck Eggs Market. Virtue Market Research. Available online: https://virtuemarketresearch.com/report/duck-eggs-market.
2. Changes in chemical composition, physical properties and microstructure of duck egg as influenced by salting10.1016/j.foodchem.2008.06.011 ↗
3. Salted and preserved duck eggs: A consumer market segmentation analysis
4. Lai, C.-C., Li, C.-H., Huang, K.-J., and Cheng, C.-W. (2021). Duck Eggshell Crack Detection by Nondestructive Sonic Measurement and Analysis. Sensors, 21.10.3390/s21217299 ↗
5. Sequenced wave signal extraction and classification algorithm for duck egg crack on-line detection10.1016/j.compag.2017.09.034 ↗
6. Caguioa, J.V.B.D.P., Guinto, R.N.E., Mesias, L.R.T., and De Goma, J.C. (2022, January 7–10). Duck Egg Quality Classification Based on its Shell Visual Property Through Transfer Learning Using ResNet-50. Proceedings of the 12th Annual International Conference on Industrial Engineering and Operations Management, Istanbul, Turkey.
7. Identification of eggshell crack for hen egg and duck egg using correlation analysis based on acoustic resonance method10.1111/jfpe.13430 ↗
8. Research on Intelligent Recognition Method of Egg Cracks Based on EfficientNet Network Model10.1088/1742-6596/2560/1/012015 ↗
9. Eggshell crack detection using deep convolutional neural networks10.1016/j.jfoodeng.2021.110798 ↗
10. Deep transfer learning-based approach for detection of cracks on eggs10.1111/jfpe.14425 ↗
11. Shi, C., Li, Y., Jiang, X., Sun, W., Zhu, C., Mo, Y., Yan, S., and Zhang, C. (2024). Real-Time ConvNext-Based U-Net with Feature Infusion for Egg Microcrack Detection. Agriculture, 14.10.3390/agriculture14091655 ↗
12. Chen, H., Ma, J., Zhuang, Q., Zhao, S., and Xie, Y. (2021, January 22–25). Submillimeter Crack Detection Technology of Eggs Based on Improved Light Source. Proceedings of the IOP Conference Series: Earth and Environmental Science, Guangzhou, China.10.1088/1755-1315/697/1/012018 ↗
13. Cracked egg recognition based on machine vision10.1016/j.compag.2019.01.005 ↗
14. Artificial Intelligence Based Determination of Cracks in Eggshell Using Sound Signals
15. Identification of cracks in eggs shell using computer vision and hough transform10.29133/yyutbd.422374 ↗
16. Kanjanasurat, I., Krungseanmuang, W., Chaowalittawin, V., and Purahong, B. (2021, January 1–3). Egg-Counting System Using Image Processing and a Website for Monitoring. Proceedings of the 7th International Conference on Engineering, Applied Sciences and Technology (ICEAST), Pattaya, Thailand.10.1109/ICEAST52143.2021.9426295 ↗
17. Defective egg detection based on deep features and Bidirectional Long-Short-Term-Memory10.1016/j.compag.2021.106152 ↗
18. Crack Detection of Eggshell Using Image Processing and Computer Vision10.1088/1742-6596/2261/1/012021 ↗
19. Classification of Overlapping Eggs Based on Image Processing10.1088/1742-6596/2261/1/012023 ↗
20. A review of deep learning methods for pixel-level crack detection
21. Deep Learning-Based Crack Damage Detection Using Convolutional Neural Networks10.1111/mice.12263 ↗
22. Structural crack detection using deep convolutional neural networks10.1016/j.autcon.2021.103989 ↗
23. Chen, K., Huang, Z., Chen, C., Cheng, Y., Shang, Y., Zhu, P., Jv, H., Li, L., Li, W., and Wang, S. (2023). Surface Crack Detection of Steel Structures in Railroad Industry Based on Multi-Model Training Comparison Technique. Processes, 11.10.3390/pr11041208 ↗
24. Shen, Y., Wu, J., Chen, J., Weiwei, Z., Yang, X., and Ma, H. (2024). Quantitative Detection of Pipeline Cracks Based on Ultrasonic Guided Waves and Convolutional Neural Network. Sensors, 24.10.3390/s24041204 ↗
25. Defect detection in pipe structures using stochastic resonance of Duffing oscillator and ultrasonic guided waves10.1016/j.ijpvp.2020.104168 ↗
26. Ali, L., Alnajjar, F., Jassmi, H.A., Gocho, M., Khan, W., and Serhani, M.A. (2021). Performance Evaluation of Deep CNN-Based Crack Detection and Localization Techniques for Concrete Structures. Sensors, 21.10.3390/s21051688 ↗
27. Fan, Z., Li, C., Chen, Y., Di Mascio, P., Chen, X., Zhu, G., and Loprencipe, G. (2020). Ensemble of Deep Convolutional Neural Networks for Automatic Pavement Crack Detection and Measurement. Coatings, 10.10.3390/coatings10020152 ↗
28. Chen, X., Meng, F., Zhang, C., Hu, D., Yang, F., and Lu, J. (2022). Surface Crack Detection Method for Coal Rock Based on Improved YOLOv5. Appl. Sci., 12.10.3390/app12199695 ↗
29. Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., and Chen, L.C. (2018, January 18–22). MobileNetV2: Inverted Residuals and Linear Bottlenecks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00474 ↗