Deep learning-based detection of wine bottle capsules for contamination prevention
• YOLOv8, YOLOv9, and YOLOv11 effectively detected the absence of capsules. • AI-based inspection systems are suitable for preventing aerial contamination. • Precision, recall, and mAP of over 96% confirm that DL can assist human inspection. Quality control of wine bottle packaging is crucial for preventing wine contamination and safety hazards, ensuring product integrity, and maintaining the overall quality of the product. The presence of metallic capsules has been demonstrated to significantly reduce airborne contamination, particularly from 2,4,6-trichloroanisol (TCA), a major contributor to cork taint. Traditional capsule detection in the wine industry primarily relies on visual inspection, thus prone to human error. Despite the progress of Industry 4.0, the application of artificial intelligence (AI) for automated inspection in the wine industry remains limited. This study evaluates the suitability of deep learning (DL) for inspecting capsules in wine bottles. A dataset of 12,050 images was used to train, test, and validate the performance of YOLOv8, YOLOv9, and YOLOv11 models. All three models demonstrated similar performance, achieving high precision (>96%), recall (>97%), and mAP (>98%). Notably, YOLOv11 exhibited the fastest inference speed, making it a strong candidate for real-time detection. These results demonstrated the feasibility of deep learning (DL) in assisting humans with wine packaging inspection to prevent further airborne contamination and enhance real-time quality control. The proposed approach provides a practical and affordable solution to reduce reliance on manual inspection, particularly for small and medium producers, making inspection processes smarter and more efficient.
Authors
- Yolanda Báez-López (ORCID: https://orcid.org/0000-0001-8418-254X)
- Emilio Jiménez Macías (ORCID: https://orcid.org/0000-0001-6749-4592)
- Diego Tlapa (ORCID: https://orcid.org/0000-0002-1491-5442)
- Guilherme Luz Tortorella (ORCID: https://orcid.org/0000-0003-2396-4665)
- Jorge Limón-Romero (ORCID: https://orcid.org/0000-0003-2117-4803)
- Jorge Luis García-Alcaráz (ORCID: https://orcid.org/0000-0002-7092-6963)
- Diego Caballero-Ramírez (ORCID: https://orcid.org/0009-0003-6176-1313)
Institutions
- Universidad Autónoma de Ciudad Juárez (MX)
- The University of Melbourne (AU)
- Universidad de La Rioja (ES)
- Universidad Autónoma de Baja California (MX)
- Austral University (AR)
- Universidad Internacional De La Rioja (ES)
- Fundação Dom Cabral (BR)
Publication Details
- Journal
- Results in Engineering
- Published
- 2025-07-20
- DOI
- https://doi.org/10.1016/j.rineng.2025.106388
- Citations
- 2
- Primary Topic
- Spectroscopy and Chemometric Analyses
- Type
- article
- Field-Weighted Citation Impact
- 1.50