Skip to main content
U.S. flag

An official website of the United States government

This site is currently in beta, and your feedback is helping shape its ongoing development.

Return to search results

Data and Code From: AI-Based bread quality assessment using image processing techniques and the developed BQe-CNN

Published by Agricultural Research Service | Department of Agriculture | Metadata Last Checked: February 12, 2026 | Last Modified: 2026-02-03
Ensuring consistent bread quality is vital for maintaining industry standards, reducing waste, and keeping consumer satisfaction. Traditional methods of bread quality analysis which rely on manual inspection, are often subjective, time-consuming, and prone to inconsistencies, while modern analysis techniques, though available, tend to be prohibitively expensive. This study introduces an AI-driven approach that leverages advanced image processing techniques to automate and enhance the accuracy of bread quality assessment. By extracting key features such as porosity, texture, and air cell structure, the proposed Bread Quality Enhanced Convolutional Neural Network (BQe-CNN) offers a more precise analysis of bread parameters. The model achieved classification accuracies of 92% for bread colors and 88% for quality levels, significantly outperforming manual methods. By leveraging enhanced layers like residual connections and attention mechanisms, the model efficiently captured fine details in bread images, making it highly effective at detecting subtle variations in texture and air cell distribution. While the model demonstrates high performance in quantitative analysis, it is important to note that artisan scoring—characterized by detailed aesthetic evaluations integral to traditional bread-making—remains a challenging domain for automation. This limitation presents an opportunity to further enhance the model's capabilities by integrating advanced algorithms or hybrid approaches, bridging the gap between precise computational analysis and the specific requirements of artisan scoring. Nevertheless, the BQe-CNN's ability to provide real-time, automated quality control is a dependable and transformative tool, optimizing production, reducing waste, and complementing human expertise in a cost-effective manner. These image processing techniques allow for real-time, automated quality control, optimizing production and reducing waste. This novel approach, rooted in visual analysis of product characteristics, represents a significant leap forward in achieving consistency and scalability in bread quality control for the baking industry.Included is a subsample of images of bread of different color and porosity, examples of the processed images, a data descriptor README, metadata for the bread images, porosity values for the bread images, and MatLab code.

Find Related Datasets

Click any tag below to search for similar datasets

Complete Metadata

data.gov

An official website of the GSA's Technology Transformation Services

Looking for U.S. government information and services?
Visit USA.gov