A method and system for predicting fermentation quality for bread processing based on data processing
Using infrared thermal imaging and watershed algorithm to identify the fluffiness of dough pore agglomeration contours solves the problem of accuracy and quantification of bread fermentation quality prediction, achieves uniform pores and delicate taste of bread products, and improves fermentation efficiency.
Patent Information
- Application Number
- CN202411070839.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-06
AI Technical Summary
It is difficult to accurately predict bread fermentation quality with existing technology, especially the uniformity of dough pores and delicate taste. Moreover, traditional methods are subjective and difficult to quantify. Secondary fermentation wastes time and may lead to uneven bread texture.
Using a method based on data processing, the thermal infrared image data of the dough surface is collected through an infrared thermal imager, the watershed algorithm is used to segment the contour, and the contour absorption technology is combined to identify the fluffiness of the pore agglomeration contour to predict the fermentation quality.
It achieves accurate quantitative prediction of bread fermentation quality, ensures the uniformity of pores and delicate taste of bread products, avoids the subjectivity and time waste of traditional methods, and improves fermentation efficiency.
Smart Images

Figure CN118586785B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of fermentation quality data prediction, and in particular relates to a method and system for predicting fermentation quality for bread processing based on data processing. Background Art
[0002] As the application of digital and intelligent technologies in the baking industry continues to advance, the industry's research and development direction has gradually shifted to areas such as dough baking prediction and fermented bread prediction. These emerging intelligent technologies can significantly reduce the time and raw material costs in the development of new bread, cake and other products. For example, Google's AutoML Tables machine learning model tool, through repeated training of the model, has mastered the recipe characteristics of each dessert, so that it can accurately predict the baking results of the input recipe.
[0003] In the bread processing process, fermentation quality is a crucial step, which directly determines the key quality characteristics of bread, such as taste and appearance. The fermentation process is affected by many factors such as temperature, microbial growth rate, equipment and environment, so it is difficult to accurately simulate and predict the fermentation results through machine learning models. In response to this, for example, a fermentation quality prediction system for bread processing based on data processing, with the Chinese invention announcement number CN114358450B, analyzes and predicts the fermentation quality of bread during the processing process, analyzes the fermentation process, and analyzes the equipment operation during the intermittent time of the bread fermentation process. The corresponding parameter changes of the equipment operation during the intermittent time are judged, thereby judging the influence of the changes in equipment operation parameters during the intermittent time on the fermentation quality, thereby improving the accuracy of the prediction of bread fermentation quality; the environment of the bread fermentation process in the intermittent time period is analyzed in real time, and the surrounding environment data in the intermittent time period is analyzed to judge whether there is a risk to the fermentation quality caused by the changes in the surrounding environment, thereby monitoring the fermentation quality of the bread, which can effectively The processing efficiency of bread is improved, and the intermittent time period caused by the change of surrounding environmental parameters affects the fermentation quality; however, this method only judges the surrounding environmental data of bread fermentation, and the fermentation method of bread itself is difficult to quantify. The fermentation state of bread is too subjective. Generally, the sampling time method, finger pressure method, and volume method are used for judgment. The time method is that at the same temperature and yeast amount, the time for the dough to ferment to an appropriate degree basically does not change; the volume method is to use the size of the dough volume change to judge the fermentation degree; since bread fermentation generally adopts the three-fermentation method, the most common method is to press the dough with fingers through the finger pressure method and judge the state by observing the rebound of the dough. At present, fermented bread usually adopts the one-time fermentation method. However, if the result of the one-time fermentation leads to uneven pores, unsatisfactory expansion rate, or a larger and fuller finished bread is needed, the secondary fermentation method will be used. This method is to exhaust the air in the dough after the first fermentation is completed, and then re-roll it into a ball and ferment it. However, the secondary fermentation will waste a lot of time and may produce too much alcohol, making it difficult to control the size of the pores, making the bread texture uneven and the taste not delicate enough. Currently, there is an urgent need for a method using simulation technology to make the fermented dough have uniform pores, delicate taste, and be able to be effectively quantified. Summary of the invention
[0004] The purpose of the present invention is to propose a method and system for predicting fermentation quality for bread processing based on data processing, so as to solve one or more technical problems existing in the prior art and at least provide a beneficial choice or create conditions.
[0005] In order to achieve the above object, according to one aspect of the present invention, a method for predicting the fermentation quality of bread processing based on data processing is provided, and the method for predicting the fermentation quality of bread processing based on data processing comprises the following steps:
[0006] S100, after the dough starts to ferment, thermal infrared image data of the dough surface during the fermentation process is collected at preset intervals;
[0007] S200, using a watershed algorithm to segment each thermal infrared image data to obtain a plurality of closed contours;
[0008] S300, performing contour absorption according to a plurality of closed contours of each thermal infrared image data to obtain a pore aggregation contour;
[0009] S400, after the dough stops fermenting, predicting the fermentation quality of the bread dough according to the fluffiness of the pore aggregation contour of the thermal infrared image data.
[0010] Further, in S100, the preset time is 0.5 to 3 minutes.
[0011] Further, in S100, the dough includes: 400g-520g of high-gluten flour, 80g-150g of medium-gluten flour, 2g-10g of salt, 2g-10g of malt, 2g-10g of dry yeast, and 300g-450g of water.
[0012] Furthermore, in S100, the temperature during fermentation is 20 to 30 degrees.
[0013] Furthermore, in S100, the method for collecting and acquiring thermal infrared image data of the dough surface during the fermentation process is: collecting thermal infrared image data of the dough surface during the fermentation process by using an infrared thermal imager.
[0014] Among them, the infrared thermal imager is the MLX90640 infrared thermal imager.
[0015] Furthermore, in S400, the dough fermentation time is set to 70 minutes to 120 minutes.
[0016] Furthermore, in S200, the method of segmenting each thermal infrared image data by using a watershed algorithm to obtain a plurality of closed contours includes:
[0017] S201, converting the thermal infrared image data into a grayscale image;
[0018] S202, performing vector morphological reconstruction filtering processing on the grayscale image, and then performing Kalman filtering processing;
[0019] S203, performing morphological opening and closing reconstruction processing on the filtered grayscale image to obtain an enhanced grayscale image;
[0020] S204, marking the foreground object and the background object of the enhanced grayscale image respectively, and performing foreground marking and background marking; wherein, in the foreground marking, the dark spots of specific pixels of the image after the morphological opening and closing reconstruction processing are removed; in the background marking, the marking threshold is determined according to the maximum entropy threshold method;
[0021] S205, performing a watershed transformation on the enhanced grayscale image to achieve image segmentation to obtain a plurality of closed contours; wherein, when performing the watershed transformation, a constraint condition is that both the foreground mark and the background mark have local minimum values.
[0022] During the fermentation of bread dough, yeast is a facultative anaerobic microorganism. It performs aerobic respiration in an aerobic environment, decomposing sugars in the dough into carbon dioxide and water, and releasing a large amount of heat energy. As fermentation progresses, when the oxygen in the dough gradually decreases and the amount of carbon dioxide increases, the aerobic respiration of the yeast will gradually turn into anaerobic respiration, performing anaerobic respiration (alcohol fermentation), decomposing sugars into carbon dioxide and alcohol, and releasing a small amount of heat energy (compared to aerobic respiration, part of the heat energy is stored in alcohol); therefore, the performance in the thermal infrared image is: due to the aerobic respiration of yeast at the beginning, the temperature of the area with denser pores on the dough (i.e., the pore cluster contour) gradually increases, but after the transition to anaerobic respiration in the later stage, the temperature of the pore cluster contour will gradually decrease, so the pore cluster contour is identified by the following method;
[0023] Further, in S300, the method of obtaining the pore aggregation contour by performing contour absorption according to the multiple closed contours of each thermal infrared image data includes:
[0024] Combining the individual thermal infrared image data into an image data set in chronological order;
[0025] In the image data set, each thermal infrared image data is traversed in sequence. If there is a newly appeared closed contour (that is, there is no closed contour within the range of this position on the previous thermal infrared image data, and a closed contour appears in the current closed contour), the newly appeared closed contour is marked as a new pore contour NPOL;
[0026] The pixel with the highest temperature value in NPOL is recorded as NP, and the thermal infrared image data corresponding to NPOL in the image data set is taken as the new image (i.e., the position where the aerobic respiration of yeast first begins to become intense);
[0027] If there is a closed contour except the corresponding position of NPOL on the previous thermal infrared image of the newly generated image in the image data set, then the point closest to NP among the pixels with the highest temperature value in each closed contour except the corresponding position of NPOL on the previous thermal infrared image is marked as VP; the closed contour corresponding to VP is recorded as VPOL;
[0028] Take the points NOBP and VOBP with the largest temperature values on the contour boundaries of NPOL and VPOL, and the points NOSP and VOSP with the smallest temperature values on the contour boundaries respectively; the polygonal area formed by the four points NOBP, VOBP, NOSP and VOSP is the absorption monitoring domain corresponding to NPOL (when the dough is fermenting, if a new pore contour appears, it is very likely to be developed from the closed contour around it (i.e., the old pore contour), so the heat source radiation of the new pore contour generally develops and becomes larger within the range of the absorption monitoring domain);
[0029] Starting from the first thermal infrared image data in the image data set, whenever a new pore contour appears, the new pore contour is subjected to contour absorption to obtain the pore aggregation contour (Note: the pore aggregation contour is not the pore merging but the merging of the heat source radiation areas of the adjacent pores). The contour absorption method is as follows:
[0030] In the image data set, each thermal infrared image data is traversed in sequence starting from the thermal infrared image data corresponding to the newly generated image (i.e., starting from the newly generated image corresponding to the new stomatal contour). If it is found that the average temperature value in the absorption monitoring domain corresponding to the new stomatal contour in the previous thermal infrared image data is greater than the average temperature value in the absorption monitoring domain corresponding to the new stomatal contour in the next thermal infrared image data, the next thermal infrared image data is marked as a stable image (i.e., in the stable image at this time, yeast has already appeared in the position around the new stomatal contour in the absorption monitoring domain after the yeast has switched from aerobic respiration to anaerobic respiration, and the temperature around the new stomatal contour has begun to gradually decrease);
[0031] The pore cluster contour is obtained by performing a closing operation on all closed contours within the coverage of the absorption monitoring domain corresponding to the new pore contour in the stable image.
[0032] Note: After yeast switches from aerobic respiration to anaerobic respiration, although it still produces a small amount of carbon dioxide, it will not expand. In addition, after switching to anaerobic respiration, the temperature inside the stomata will gradually drop, causing the entire stomata cluster contour to cool down, resulting in the infrared thermal imaging being unable to accurately identify the range of the stomata cluster contour on the last thermal infrared image data collected. The cooling effect of yeast anaerobic respiration on aerobic respiration will inevitably lead to a reduction in the range of the stomata cluster contour on the last thermal infrared image data collected. Therefore, the temperature area on the last thermal infrared image data collected cannot be directly identified. The above method can accurately capture the range of the stomata cluster contour, ensuring that the fluffiness of the stomata cluster contour can be accurately simulated and calculated in subsequent calculations.
[0033] Further, in S400, the method for predicting the fermentation quality of bread dough according to the fluffiness of the pore clustering profile of the thermal infrared image data includes:
[0034] The last collected thermal infrared image data is recorded as LMap, and the position of each pore cluster outline marked on LMap is recorded as the pore area; the set of all pore areas is recorded as QK; N is the number of pore areas in QK;
[0035] Take qk(i) as the i-th pore area in QK, and the geometric center of gravity of qk(i) as Pqk(i); take the pore area with the smallest difference between the average temperature value of QK except qk(i) and the average temperature value of qk(i) as pk(i), and the geometric center of gravity of pk(i) as Ppk(i);
[0036] The complement of qk(i), pk(i) and QK is BK;
[0037] The set of geometric centroids of all pore areas in BK is denoted as PBKk; the set of distances between each point in Pqk(i) and PBKk is denoted as qkD, and the set of distances between each point in Ppk(i) and PBKk is denoted as pkD; j is the serial number of the distances in qkD and pkD (the two sets have the same size, so the same serial number j can be used universally); qkD(j) represents the jth distance in qkD, and pkD(j) represents the jth distance in pkD;
[0038] Within the range of i, the bulkiness qkPS(i) is calculated for each qk(i) in turn. The calculation method of qkPS(i) is:
[0039] ;
[0040] Among them, f function is the transition function (through the transition function, the difference signal generated by the small distance difference on the complex connection line network can be simplified, and the characteristics of the relative distance size generated by each small distance difference can be accurately identified. The accumulation is the fluffiness of the dough after fermentation), M is the number of distance values in qkD or pkD,
[0041] ;
[0042] If the number of pore areas whose fluffiness value in QK is greater than the average fluffiness value of all pore areas is greater than N×TP, the fermentation quality of the bread dough is judged to be qualified, otherwise it is unqualified; where TP is the threshold value, and TP is set to [0.7, 0.9].
[0043] The above method can accurately identify the fluffiness of the pore area produced when the yeast starts to switch from aerobic respiration to anaerobic respiration, thereby ensuring the fermentation quality of the bread dough, so that the final bread product with qualified fermentation quality has a delicate taste and uniform pore organization; and this method can be effectively quantified by computer and has strong reproducibility.
[0044] The present invention also provides a fermentation quality prediction system for bread processing based on data processing, the system comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the computer program in the following system units:
[0045] A thermal infrared data acquisition unit is used to acquire thermal infrared image data of the dough surface during the fermentation process at preset intervals after the dough begins to ferment;
[0046] An image data segmentation unit, used for segmenting each thermal infrared image data by a watershed algorithm to obtain a plurality of closed contours;
[0047] An aggregation contour absorption unit, used for performing contour absorption according to a plurality of closed contours of each thermal infrared image data to obtain a pore aggregation contour;
[0048] The fermentation quality prediction unit is used to predict the fermentation quality of the bread dough according to the fluffiness of the pore aggregation contour of the thermal infrared image data after the dough stops fermenting.
[0049] The beneficial effects of the present invention are as follows: the present invention provides a method and system for predicting fermentation quality for bread processing based on data processing, which avoids the problem that the cooling effect of anaerobic respiration of yeast on aerobic respiration will inevitably lead to a reduction in the range of the pore cluster outline directly on a thermal infrared image data collected last, accurately marks the pore cluster outline, and can accurately identify the fluffiness of the pore area generated when the yeast starts to switch from aerobic respiration to anaerobic respiration, thereby ensuring the fermentation quality of the bread dough, so that the final bread product with qualified fermentation quality has a delicate taste and uniform pore organization; and the method can be effectively quantified. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The above and other features of the present invention will become more obvious by describing in detail the embodiments shown in the accompanying drawings. The same reference numerals in the accompanying drawings of the present invention represent the same or similar elements. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other accompanying drawings can be obtained based on these accompanying drawings without creative work. In the accompanying drawings:
[0051] Figure 1 Shown is a flow chart of a method for predicting fermentation quality for bread processing based on data processing;
[0052] Figure 2 Shown is a structural diagram of a fermentation quality prediction system for bread processing based on data processing. DETAILED DESCRIPTION
[0053] The following will be combined with the embodiments and drawings to clearly and completely describe the concept, specific structure and technical effects of the present invention, so as to fully understand the purpose, scheme and effect of the present invention. It should be noted that the embodiments and features in the embodiments of this application can be combined with each other without conflict.
[0054] like Figure 1 FIG. 1 is a flow chart of a method for predicting fermentation quality of bread processing based on data processing according to an embodiment of the present invention. Figure 1 A method for predicting fermentation quality for bread processing based on data processing according to an embodiment of the present invention is described below. The method comprises the following steps:
[0055] S100, after the dough starts to ferment, thermal infrared image data of the dough surface during the fermentation process is collected at preset intervals;
[0056] S200, using a watershed algorithm to segment each thermal infrared image data to obtain a plurality of closed contours;
[0057] S300, performing contour absorption according to a plurality of closed contours of each thermal infrared image data to obtain a pore aggregation contour;
[0058] S400, after the dough stops fermenting, predicting the fermentation quality of the bread dough according to the fluffiness of the pore aggregation contour of the thermal infrared image data.
[0059] Further, in S100, the preset time is 3 minutes.
[0060] Furthermore, in S100, the dough includes: 520 g of high-gluten flour, 150 g of medium-gluten flour, 8 g of salt, 10 g of malt, 10 g of dry yeast, and 450 g of water.
[0061] Furthermore, in S100, the temperature during fermentation is 24 degrees.
[0062] Furthermore, in S100, the method for collecting and acquiring thermal infrared image data of the dough surface during the fermentation process is: collecting thermal infrared image data of the dough surface during the fermentation process by using an infrared thermal imager.
[0063] Among them, the infrared thermal imager is the MLX90640 infrared thermal imager.
[0064] Further, in S400, the dough fermentation time is set to 120 minutes.
[0065] Furthermore, in S200, the method of segmenting each thermal infrared image data by using a watershed algorithm to obtain a plurality of closed contours includes:
[0066] S201, converting the thermal infrared image data into a grayscale image;
[0067] S202, performing vector morphological reconstruction filtering processing on the grayscale image, and then performing Kalman filtering processing;
[0068] S203, performing morphological opening and closing reconstruction processing on the filtered grayscale image to obtain an enhanced grayscale image;
[0069] S204, marking the foreground object and the background object of the enhanced grayscale image respectively, and performing foreground marking and background marking; wherein, in the foreground marking, the dark spots of specific pixels of the image after the morphological opening and closing reconstruction processing are removed; in the background marking, the marking threshold is determined according to the maximum entropy threshold method;
[0070] S205, performing a watershed transformation on the enhanced grayscale image to achieve image segmentation to obtain a plurality of closed contours; wherein, when performing the watershed transformation, a constraint condition is that both the foreground mark and the background mark have local minimum values.
[0071] Further, in S300, the method of obtaining the pore aggregation contour by performing contour absorption according to the multiple closed contours of each thermal infrared image data includes:
[0072] Combining the individual thermal infrared image data into an image data set in chronological order;
[0073] In the image data set, each thermal infrared image data is traversed in sequence. If there is a new closed contour, the new closed contour is marked as a new pore contour NPOL;
[0074] The pixel with the highest temperature value in NPOL is recorded as NP, and the thermal infrared image data corresponding to NPOL in the image data set is recorded as the new image;
[0075] If there is a closed contour except the corresponding position of NPOL on the previous thermal infrared image of the newly generated image in the image data set, then the point closest to NP among the pixels with the highest temperature value in each closed contour except the corresponding position of NPOL on the previous thermal infrared image is marked as VP; the closed contour corresponding to VP is recorded as VPOL;
[0076] Take the points NOBP and VOBP with the largest temperature values on the contour boundaries of NPOL and VPOL, and the points NOSP and VOSP with the smallest temperature values on the contour boundaries respectively; the polygonal area formed by the four points NOBP, VOBP, NOSP and VOSP is the absorption monitoring domain corresponding to NPOL;
[0077] Starting from the first thermal infrared image data in the image data set, whenever a new pore contour appears, the new pore contour is subjected to contour absorption to obtain the pore aggregation contour. The contour absorption method is as follows:
[0078] In the image data set, each thermal infrared image data is traversed in sequence starting from the thermal infrared image data corresponding to the newly emitted image. If it is found that the average temperature value in the absorption monitoring domain corresponding to the new pore contour in the previous thermal infrared image data is greater than the average temperature value in the absorption monitoring domain corresponding to the new pore contour in the next thermal infrared image data, the next thermal infrared image data is marked as a stable image;
[0079] The pore cluster contour is obtained by performing a closing operation on all closed contours within the coverage of the absorption monitoring domain corresponding to the new pore contour in the stable image.
[0080] Further, in S400, the method for predicting the fermentation quality of bread dough according to the fluffiness of the pore clustering profile of the thermal infrared image data includes:
[0081] The last collected thermal infrared image data is recorded as LMap, and the position of each pore cluster outline marked on LMap is recorded as the pore area; the set of all pore areas is recorded as QK; N is the number of pore areas in QK;
[0082] Take qk(i) as the i-th pore area in QK, and the geometric center of gravity of qk(i) as Pqk(i); take the pore area with the smallest difference between the average temperature value of QK except qk(i) and the average temperature value of qk(i) as pk(i), and the geometric center of gravity of pk(i) as Ppk(i);
[0083] The complement of qk(i), pk(i) and QK is BK;
[0084] The set of geometric centroids of all pore areas in BK is denoted as PBKk; the set of distances between each point in Pqk(i) and PBKk is denoted as qkD, and the set of distances between each point in Ppk(i) and PBKk is denoted as pkD; j is the sequence number of the distances in qkD and pkD; qkD(j) represents the jth distance in qkD, and pkD(j) represents the jth distance in pkD;
[0085] Within the range of i, the bulkiness qkPS(i) is calculated for each qk(i) in turn. The calculation method of qkPS(i) is:
[0086] ;
[0087] Where f is the transition function, M is the number of distance values in qkD or pkD,
[0088] ;
[0089] If the number of pore areas whose fluffiness value in QK is greater than the average fluffiness value of all pore areas is greater than N×TP, the fermentation quality of the bread dough is judged to be qualified, otherwise it is unqualified; wherein TP is a threshold value, and TP is set to 0.8.
[0090] In addition, the present invention also provides an embodiment of a bread processing fermentation quality prediction system based on data processing, such as Figure 2 Shown is a structural diagram of a fermentation quality prediction system for bread processing based on data processing of the present invention. The fermentation quality prediction system for bread processing based on data processing of this embodiment includes: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the above-mentioned embodiment of the fermentation quality prediction system for bread processing based on data processing are implemented.
[0091] The system comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to run in the following units of the system:
[0092] A thermal infrared data acquisition unit is used to acquire thermal infrared image data of the dough surface during the fermentation process at preset intervals after the dough begins to ferment;
[0093] An image data segmentation unit, used for segmenting each thermal infrared image data by a watershed algorithm to obtain a plurality of closed contours;
[0094] An aggregation contour absorption unit, used for performing contour absorption according to a plurality of closed contours of each thermal infrared image data to obtain a pore aggregation contour;
[0095] The fermentation quality prediction unit is used to predict the fermentation quality of the bread dough according to the fluffiness of the pore aggregation contour of the thermal infrared image data after the dough stops fermenting.
[0096] The bread processing fermentation quality prediction system based on data processing can be run in computing devices such as desktop computers, notebooks, PDAs and cloud servers. The bread processing fermentation quality prediction system based on data processing, the system that can run may include, but is not limited to, a processor, a memory. Those skilled in the art can understand that the example is only an example of a bread processing fermentation quality prediction system based on data processing, and does not constitute a limitation on a bread processing fermentation quality prediction system based on data processing, which may include more or fewer components than the example, or a combination of certain components, or different components, for example, the bread processing fermentation quality prediction system based on data processing may also include input and output devices, network access devices, buses, etc.
[0097] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DEPO), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the operation system of the bread processing fermentation quality prediction system based on data processing, and uses various interfaces and lines to connect the various parts of the entire operation system of the bread processing fermentation quality prediction system based on data processing.
[0098] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the bread processing fermentation quality prediction system based on data processing by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0099] Although the description of the present invention has been quite detailed and has been described in particular with respect to several described embodiments, it is not intended to be limited to any of these details or embodiments or any particular embodiment, so as to effectively cover the intended scope of the present invention. In addition, the present invention is described above with the embodiments foreseeable by the inventors, and its purpose is to provide a useful description, and those non-substantial changes to the present invention that are not currently foreseen may still represent equivalent changes of the present invention.
Claims
1. A method for predicting fermentation quality for bread processing based on data processing, It is characterized in that The method comprises the following steps: S100, after the dough starts to ferment, thermal infrared image data of the dough surface during the fermentation process is collected at preset intervals; S200, using a watershed algorithm to segment each thermal infrared image data to obtain a plurality of closed contours; S300, performing contour absorption according to a plurality of closed contours of each thermal infrared image data to obtain a pore aggregation contour; S400, after the dough stops fermenting, predicting the fermentation quality of the bread dough according to the fluffiness of the pore aggregation profile of the thermal infrared image data; In S300, the method for obtaining the pore cluster contour by contour absorption based on multiple closed contours of each thermal infrared image data includes: composing each thermal infrared image data into an image data set in chronological order; traversing each thermal infrared image data in the image data set in order, and if there is a newly appeared closed contour, marking the newly appeared closed contour as a new pore contour NPOL; recording the pixel point with the highest temperature value in NPOL as NP, and taking the thermal infrared image data corresponding to NPOL in the image data set as a newly emitted image; if there is a closed contour other than the corresponding position of NPOL on the thermal infrared image before the newly emitted image in the image data set, then Mark the point closest to NP among the pixels with the highest temperature value in each closed contour except the corresponding position of NPOL on the previous thermal infrared image as VP; record the closed contour corresponding to VP as VPOL; take the points NOBP and VOBP with the largest temperature value on the contour boundary of NPOL and VPOL, and the points NOSP and VOSP with the smallest temperature value on the contour boundary respectively; the polygonal area formed by the four points NOBP, VOBP, NOSP and VOSP is the absorption monitoring domain corresponding to NPOL; starting from the first thermal infrared image data in the image data set, whenever a new pore contour appears, perform contour absorption on the new pore contour to obtain the pore aggregation contour; In S400, the method for predicting the fermentation quality of bread dough according to the fluffiness of the pore clustering profile of the thermal infrared image data includes: The last collected thermal infrared image data is recorded as LMap, and the position of each pore cluster outline marked on LMap is recorded as the pore area; the set of all pore areas is recorded as QK; N is the number of pore areas in QK; Take qk(i) as the i-th pore area in QK, and the geometric center of gravity of qk(i) as Pqk(i); take the pore area with the smallest difference between the average temperature value of QK except qk(i) and the average temperature value of qk(i) as pk(i), and the geometric center of gravity of pk(i) as Ppk(i); take the complement of qk(i), pk(i) and QK as BK; The set of geometric centroids of all pore areas in BK is denoted as PBKk; the set of distances between each point in Pqk(i) and PBKk is denoted as qkD, and the set of distances between each point in Ppk(i) and PBKk is denoted as pkD; j is the sequence number of the distances in qkD and pkD; qkD(j) represents the jth distance in qkD, and pkD(j) represents the jth distance in pkD; within the range of i, the fluffiness qkPS(i) is calculated for each qk(i) in turn; If the number of pore areas whose fluffiness value in QK is greater than the average fluffiness value of all pore areas is greater than N×TP, the fermentation quality of the bread dough is judged to be qualified, otherwise it is unqualified; wherein TP is the threshold value; Among them, the calculation method of the fluffiness qkPS(i) is: ; Among them, f function is the transition function, M is the number of distance values in qkD or pkD; The calculation method of the f function is: 。 2. A method for predicting fermentation quality for bread processing based on data processing according to claim 1, It is characterized in that The method of segmenting each thermal infrared image data by a watershed algorithm to obtain multiple closed contours includes: S201, converting the thermal infrared image data into a grayscale image; S202, performing vector morphological reconstruction filtering processing on the grayscale image, and then performing Kalman filtering processing; S203, performing morphological opening and closing reconstruction processing on the filtered grayscale image to obtain an enhanced grayscale image; S204, marking the foreground object and the background object of the enhanced grayscale image respectively, and performing foreground marking and background marking; wherein, in the foreground marking, the dark spots of specific pixels of the image after the morphological opening and closing reconstruction processing are removed; in the background marking, the marking threshold is determined according to the maximum entropy threshold method; S205, performing a watershed transformation on the enhanced grayscale image to achieve image segmentation to obtain a plurality of closed contours; wherein, when performing the watershed transformation, a constraint condition is that both the foreground mark and the background mark have local minimum values.
3. The method for predicting fermentation quality of bread processing based on data processing according to claim 1, It is characterized in that The method of performing contour absorption on the new pore contour to obtain the pore aggregation contour is as follows: In the image data set, each thermal infrared image data is traversed in sequence starting from the thermal infrared image data corresponding to the newly emitted image. If it is found that the average temperature value in the absorption monitoring domain corresponding to the new pore contour in the previous thermal infrared image data is greater than the average temperature value in the absorption monitoring domain corresponding to the new pore contour in the next thermal infrared image data, the next thermal infrared image data is marked as a stable image; The pore cluster contour is obtained by performing a closing operation on all closed contours within the coverage of the absorption monitoring domain corresponding to the new pore contour in the stable image.
4. A fermentation quality prediction system for bread processing based on data processing, It is characterized in that The data processing-based bread processing fermentation quality prediction system comprises: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the data processing-based bread processing fermentation quality prediction method are implemented as described in any one of claims 1 to 3.
Citation Information
Patent Citations
A data processing-based fermentation quality prediction system for mochi bread processing
CN114358450B
Lung image segmentation method and system based on connected region analysis
CN111105427A
Multi-colony body counting method based on image segmentation algorithm
CN113902713A
