A method and device for determining the end point of cigar core fermentation based on accumulated temperature and precipitation
By identifying the core area of the cigar tobacco stack and obtaining the accumulated temperature and precipitation parameters, the end point of cigar tobacco fermentation is automatically determined, solving the problems of low efficiency and difficulty in ensuring consistency in existing technologies, and achieving improved fermentation quality and consistency.
Patent Information
- Application Number
- CN202411165344.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2044-08-23
AI Technical Summary
In the existing technology, the cigar tobacco fermentation process relies on manual smelling and sensory quality evaluation, resulting in low efficiency and difficulty in ensuring fermentation quality and consistency.
By identifying the core area of the cigar tobacco leaf stack, the accumulated temperature precipitation method is used to obtain the moisture and temperature parameters of the stack core. Combined with the preset threshold and change curve, the fermentation end point is automatically determined.
It improves the objectivity, accuracy and timeliness of fermentation endpoint determination, ensures fermentation quality and consistency, and reduces manual dependence and subjectivity.
Smart Images

Figure CN118830652B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of cigar tobacco leaf processing, and in particular relates to a method and device for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation. Background Art
[0002] During the processing of cigar tobacco leaves, research has found that tobacco fermentation is one of the most important links in improving tobacco quality. After fermentation, tobacco leaves can convert and degrade macromolecular substances such as starch, protein and chlorophyll. As the color of the tobacco leaves becomes darker and the oil content becomes more prominent, unpleasant odors such as green smell, miscellaneous smell and irritation are reduced or even eliminated, and pleasant aroma such as fragrance is revealed, and the taste tends to be mellow, thereby effectively improving the quality of tobacco leaves.
[0003] At present, in the actual tobacco leaf fermentation process, the degree of tobacco leaf fermentation is mainly judged by manual smelling of the tobacco leaves and combining it with sensory quality evaluation. This is not only highly dependent on manual labor and subjectivity, resulting in low efficiency, but also cannot guarantee the fermentation quality of the tobacco leaves and the consistency of the fermentation degree. Summary of the Invention
[0004] This application aims to address the aforementioned technical drawbacks of comprehensively judging the degree of tobacco leaf fermentation by manually smelling the tobacco leaves and combining them with sensory quality evaluation. This method is not only highly dependent on manual labor and subjectivity, resulting in low efficiency, but also fails to ensure the fermentation quality and consistency of the tobacco leaves. A method and device for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation is proposed. The technical solution is as follows:
[0005] In a first aspect, the present invention provides a method for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation, comprising:
[0006] Acquire an image to be processed containing two groups of cigar tobacco leaf stacks, and identify the filler portion of each group of cigar tobacco leaf stacks from the image to be processed;
[0007] When the filler positions of all cigar tobacco leaf stacks are consistent, each group of cigar tobacco leaf stacks is turned over at least twice based on the stack core temperature threshold corresponding to the filler positions of the cigar tobacco leaf stacks;
[0008] Obtaining a first stack core moisture parameter corresponding to any group of cigar tobacco leaves stacked during each stack turning process, and obtaining at least two groups of first temperature parameters of the corresponding cigar tobacco leaves stacked within a preset time period;
[0009] The fermentation end point of all the cigar tobacco leaves stacks is determined based on the filler positions of the cigar tobacco leaves stacks, all the moisture parameters of the first core of the stacks, and all the first temperature parameters.
[0010] In an optional solution of the first aspect, identifying the filler portion of each group of cigar tobacco leaves from the image to be processed includes:
[0011] Extracting tobacco leaf contour features corresponding to each group of cigar tobacco leaf stacks from the image to be processed, and determining a sample tobacco leaf contour having the highest similarity to each tobacco leaf contour feature from a preset tobacco leaf contour-part database; wherein the preset tobacco leaf contour-part database includes at least two cigar filler parts and a sample tobacco leaf contour corresponding to each cigar filler part;
[0012] The cigar core part corresponding to the sample tobacco leaf contour with the highest similarity is used as the cigar core part of the corresponding cigar tobacco leaf stack.
[0013] In another optional solution of the first aspect, each set of first temperature parameters includes a fermentation environment temperature and a cellophane core temperature corresponding to the same moment;
[0014] The fermentation endpoint of all cigar tobacco stacks is determined based on the filler position of the cigar tobacco stack, all first stack core moisture parameters, and all first temperature parameters, including:
[0015] Determining a corresponding preset temperature range, a preset core moisture range, and an initial core moisture parameter based on the core portion of the cigar tobacco leaf stack, and calculating a first difference between the fermentation environment temperature and the core temperature of the cigar tobacco leaf stack in each set of first temperature parameters;
[0016] Performing a summation process on the first differences corresponding to all the first temperature parameters, and when detecting that the summation result is within a preset temperature range, calculating a second difference between the minimum first pile core moisture parameter and the initial pile core moisture parameter;
[0017] When it is detected that the second difference is in the preset stack core moisture range, the current moment is used as the fermentation end moment of all cigar tobacco leaf stacks, and the fermentation process of all cigar tobacco leaf stacks is stopped.
[0018] In another optional solution of the first aspect, after summing the first differences corresponding to all the first temperature parameters, the method further includes:
[0019] When it is detected that the summation result is not within the preset temperature range, the total number of stacking processes is determined;
[0020] When the total number of stack turning processes exceeds a preset number threshold, a stack core moisture change curve is generated based on all first stack core moisture parameters and the collection time corresponding to each first stack core moisture parameter;
[0021] When it is detected that all slopes corresponding to the pile core moisture content change curve are within the preset slope range, the estimated time corresponding to the preset pile core moisture content range is determined according to the pile core moisture content change curve, and the estimated time is used as the fermentation end time of all cigar tobacco leaf piles.
[0022] In another optional solution of the first aspect, after generating the stack core moisture change curve based on all first stack core moisture parameters and the acquisition time corresponding to each first stack core moisture parameter, the method further includes:
[0023] When it is detected that any slope corresponding to the moisture content variation curve of the stack is not within the preset slope range, the fermentation process of all cigar tobacco leaf stacks is stopped.
[0024] In yet another optional solution of the first aspect, after identifying the filler portion of each group of cigar tobacco leaves from the image to be processed, the method further includes:
[0025] When the filler positions of all cigar tobacco leaf stacks are inconsistent, the corresponding cigar tobacco leaf stacks are turned over at least twice based on the stack core temperature threshold corresponding to the filler position of each group of cigar tobacco leaf stacks;
[0026] Obtaining a second core moisture parameter of each group of cigar tobacco leaves stacked during each stack turning process, and obtaining at least two groups of second temperature parameters within a preset time period;
[0027] Determining a correction parameter for the corresponding cigar tobacco stack based on preset weights corresponding to all filler parts, and performing correction processing on each corresponding second temperature parameter based on the correction parameter to obtain a third temperature parameter;
[0028] The corresponding fermentation endpoint time is determined based on the core part corresponding to each group of cigar tobacco leaf stacks, all moisture parameters of the second core stacks, and all third temperature parameters.
[0029] In another optional solution of the first aspect, the filler portion of each group of cigar tobacco leaf stacks is any one of the top filler portion, the middle filler portion or the bottom filler portion.
[0030] In a second aspect, an embodiment of the present application provides a device for determining the end point of cigar core fermentation based on accumulated temperature and precipitation, comprising:
[0031] A first processing module is configured to obtain an image to be processed comprising two groups of cigar tobacco stacks, and identify the filler portion of each group of cigar tobacco stacks from the image to be processed;
[0032] The second processing module is configured to, when the filler positions of all the cigar tobacco leaves stacks are consistent, perform stack turning processing on each group of cigar tobacco leaves stacks at least twice based on the stack core temperature threshold corresponding to the filler positions of the cigar tobacco leaves stacks;
[0033] The third processing module is used to obtain the first stack core moisture parameter corresponding to any group of cigar tobacco leaves stacks during each stack turning process, and to obtain at least two groups of first temperature parameters of the corresponding cigar tobacco leaves stacks within a preset time period;
[0034] The fourth processing module is used to determine the fermentation end point time of all the cigar tobacco leaves stacks based on the filler parts of the cigar tobacco leaves stack, all the first core moisture parameters and all the first temperature parameters.
[0035] In a third aspect, an embodiment of the present application further provides a device for determining the fermentation endpoint of a cigar core based on accumulated temperature and precipitation, comprising a processor and a memory;
[0036] The processor is connected to the memory;
[0037] a memory for storing executable program code;
[0038] The processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect.
[0039] In a fourth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the method for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation provided in the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect can be implemented.
[0040] In an embodiment of the present application, when determining the endpoint of the fermentation process of a cigar tobacco stack, an image to be processed containing two groups of cigar tobacco stacks can be obtained, and the core part of each group of cigar tobacco stacks can be identified from the image to be processed; when the core part of all cigar tobacco stacks is consistent, each group of cigar tobacco stacks is turned over at least twice based on the core temperature threshold corresponding to the core part of the cigar tobacco stack; the first core moisture parameter corresponding to any group of cigar tobacco stacks during each turning process is obtained, and at least two groups of first temperature parameters of the corresponding cigar tobacco stacks within a preset time period are obtained; and the fermentation endpoint time of all cigar tobacco stacks is determined based on the core part of the cigar tobacco stacks, all first core moisture parameters, and all first temperature parameters. By identifying the core part of the cigar tobacco leaf stack during the fermentation process, the corresponding cigar tobacco leaf stack is turned over multiple times in combination with the core temperature threshold corresponding to the core part, and the core moisture parameters and at least two sets of temperature parameters under the turning treatment are collected to effectively ensure the fermentation quality and consistency of the tobacco leaves. In addition, the changes in these two indicators can be used to jointly determine the fermentation endpoint of the cigar tobacco leaf stack, which can greatly improve the objectivity, accuracy and timeliness of the tobacco leaf fermentation endpoint determination compared with manual methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 This is an overall flow chart of a method for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation provided in an embodiment of the present application;
[0043] Figure 2 A schematic diagram of the structure of a device for determining the end point of cigar core fermentation based on accumulated temperature and precipitation provided in an embodiment of the present application;
[0044] Figure 3 This is a schematic diagram of the structure of another device for determining the end point of cigar core fermentation based on accumulated temperature and precipitation provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.
[0046] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application. Different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments described. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, even though the embodiment may not be clearly described in the following text.
[0047] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the elements described without departing from the scope of the present application. Various examples may appropriately omit, replace, or add various processes or components. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted, or combined. In addition, features described in some examples may be combined in other examples.
[0048] See also Figure 1 , Figure 1 The overall flow chart of a method for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation provided in an embodiment of the present application is shown.
[0049] like Figure 1 As shown, the method for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation may include at least the following steps:
[0050] Step 102: Acquire an image to be processed containing two groups of cigar tobacco leaf stacks, and identify the filler portion of each group of cigar tobacco leaf stacks from the image to be processed.
[0051] In an embodiment of the present application, the method for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation can be but is not limited to being applied to a control terminal, which can establish connections with a cigar tobacco leaf stacking device, an industrial camera, a tobacco leaf moisture content detection device, and a temperature detection device, respectively, so that when multiple groups of cigar tobacco leaf stacks placed on the cigar tobacco leaf stacking device are fermented, the industrial camera is used to collect images to be processed containing two groups of cigar tobacco leaf stacks, and the cigar tobacco leaf stacking device is controlled to perform multiple stacking processes on the cigar tobacco leaf stack according to the identified core part, and during the stacking process, the tobacco leaf moisture content detection device and the temperature detection device can also be controlled to collect corresponding stack core moisture parameters and temperature parameters, respectively, and finally the fermentation endpoint moment of the cigar tobacco leaf stack is determined in combination with the core part, stack core moisture parameters, and temperature parameters. Among them, the moisture content parameter of the stack core can be understood as the moisture content corresponding to the tobacco leaves at the stack core position of the cigar tobacco leaf stack, and the temperature parameter can include but is not limited to the fermentation environment temperature collected at the same time and the tobacco leaf stack core temperature at the stack core position of the cigar tobacco leaf stack, and the above-mentioned cigar tobacco leaf stack turning device, industrial camera, tobacco leaf moisture content detection device and temperature detection device are all conventional application equipment in the field of cigar tobacco leaf fermentation processing technology, and their working principles and equipment structures will not be elaborated here.
[0052] It can be understood that when determining the end point of the fermentation process of a cigar tobacco leaf stack, the control terminal can specifically identify the core part of the cigar tobacco leaf stack during the fermentation process, and perform multiple stacking processes on the corresponding cigar tobacco leaf stack based on the core temperature threshold corresponding to the core part, and collect the core moisture parameters and at least two sets of temperature parameters under the stacking process to effectively ensure the fermentation quality and consistency of the fermentation degree of the tobacco leaves; in addition, the changes in these two indicators can be used to jointly determine the fermentation end point of the cigar tobacco leaf stack, which can greatly improve the objectivity, accuracy and timeliness of the tobacco leaf fermentation end point determination compared to manual work.
[0053] Specifically, when performing endpoint determination processing on the fermentation process of cigar tobacco leaf stacks, the control terminal can, but is not limited to, controlling the industrial camera arranged on the top of the cigar tobacco leaf stacking device to collect images to be processed containing the two groups of cigar tobacco leaf stacks after the two groups of cigar tobacco leaf stacks placed on the cigar tobacco leaf stacking device are fermented, so as to identify the core part of each group of cigar tobacco leaf stacks through image recognition and other methods. Here, a plurality of cigar leaf stacks distributed in an array can be placed on the cigar leaf stacking device, and one or more industrial cameras can respectively collect images to be processed containing two adjacent groups of cigar leaf stacks, so as to more accurately and effectively determine the fermentation endpoint time of the two groups of cigar leaf stacks from the perspective of the two adjacent groups of cigar leaf stacks. In addition, the industrial camera in the embodiment of the present application is not limited to collecting images to be processed containing multiple adjacent groups of cigar leaf stacks, so as to more accurately and effectively determine the fermentation endpoint time of the multiple groups of cigar leaf stacks from the perspective of the multiple adjacent groups of cigar leaf stacks, thereby improving the overall processing efficiency of the cigar leaf stacks on the cigar leaf stacking device.
[0054] It can be understood that the filler part of each group of cigar tobacco leaf stacks can be any one of the top filler, middle filler or bottom filler. For example, the filler parts of two adjacent groups of cigar tobacco leaf stacks in the image to be processed can be any combination of the top filler, the middle filler, the bottom filler, the top filler and the middle filler, the middle filler and the bottom filler, and the top filler and the bottom filler.
[0055] As an option in the embodiment of the present application, identifying the filler portion of each group of cigar tobacco leaves from the image to be processed includes:
[0056] Extracting tobacco leaf contour features corresponding to each group of cigar tobacco leaf stacks from the image to be processed, and determining a sample tobacco leaf contour having the highest similarity to each tobacco leaf contour feature from a preset tobacco leaf contour-part database; wherein the preset tobacco leaf contour-part database includes at least two cigar filler parts and a sample tobacco leaf contour corresponding to each cigar filler part;
[0057] The cigar core part corresponding to the sample tobacco leaf contour with the highest similarity is used as the cigar core part of the corresponding cigar tobacco leaf stack.
[0058] Specifically, to ensure accurate identification of filler locations, when identifying the filler locations of each cigar stack from the image to be processed, the control terminal may utilize algorithms such as image feature extraction to extract tobacco leaf contour features corresponding to each cigar stack from the image to be processed. The control terminal may also calculate the similarity between each sample tobacco leaf contour in a preset tobacco leaf contour-location database and the tobacco leaf contour features corresponding to each cigar stack, with the sample tobacco leaf contour feature with the highest similarity being deemed the tobacco leaf contour feature with the highest degree of match to the corresponding cigar stack. The preset tobacco leaf contour-location database may include, but is not limited to, at least three tobacco leaf locations: top filler, middle filler, and bottom filler, as well as sample tobacco leaf contour features corresponding to each of these locations. The preset tobacco leaf contour-location database may be manually derived based on statistical analysis of historical contour features corresponding to various tobacco leaf locations.
[0059] Next, after determining the sample tobacco leaf contour feature with the highest similarity corresponding to each group of cigar tobacco leaf stacks in the preset tobacco leaf contour-position database, the control terminal may use the cigar position corresponding to the sample tobacco leaf contour feature with the highest similarity in the preset tobacco leaf contour-position database as the cigar position of the corresponding cigar tobacco leaf stack. It is understood that when the similarities between each sample tobacco leaf contour in the preset tobacco leaf contour-position database and the tobacco leaf contour feature corresponding to each group of cigar tobacco leaf stacks are all within the same similarity range, or when the highest similarity is below a preset similarity threshold, it indicates that the tobacco leaf contour feature recognition of the corresponding cigar tobacco leaf stack is abnormal. The industrial camera may be controlled to adjust its shooting angle to retake the image to be processed containing two adjacent groups of cigar tobacco leaf stacks from another angle until the cigar position is determined.
[0060] Step 104: When the filler parts of all the cigar tobacco leaf stacks are consistent, each group of cigar tobacco leaf stacks is turned over at least twice based on the stack core temperature threshold corresponding to the filler parts of the cigar tobacco leaf stacks.
[0061] Specifically, after identifying the filler portion of each group of cigar tobacco stacks, the control terminal can also determine whether the filler portions of two adjacent groups of cigar tobacco stacks in the image to be processed are consistent. It can be understood that when the filler portions of the two adjacent groups of cigar tobacco stacks are consistent, it indicates that the fermentation endpoint times corresponding to the two groups of cigar tobacco stacks can be consistent. In other words, data collection and analysis can be performed on any one of the two groups of cigar tobacco stacks to determine the fermentation endpoint times corresponding to the two groups of cigar tobacco stacks. When the filler portions of the two adjacent groups of cigar tobacco stacks are inconsistent, it indicates that the fermentation endpoint times corresponding to the two groups of cigar tobacco stacks are inconsistent. In other words, data collection and analysis can be performed on each of the two groups of cigar tobacco stacks to determine the fermentation endpoint times corresponding to the corresponding cigar tobacco stacks.
[0062] Furthermore, after determining that the core parts of all cigar tobacco leaf stacks are consistent, the control terminal can also determine the core temperature threshold corresponding to the core part of the cigar tobacco leaf stack based on the core part of the cigar tobacco leaf stack and the historical fermentation stack core temperature database, and use the core temperature threshold as the stack turning condition. When the core temperature of each group of cigar tobacco leaf stacks rises to the same as the core temperature threshold, the above-mentioned cigar tobacco leaf stacking device is controlled to turn the corresponding cigar tobacco leaf stack until the core temperature of the cigar tobacco leaf stack rises again to the same as the core temperature threshold, and the stack is turned again. The cigar tobacco leaf stacking device in the embodiment of the present application can, but is not limited to, turning each group of cigar tobacco leaf stacks separately, or turning two adjacent groups of cigar tobacco leaf stacks at the same time, and is not limited to this.
[0063] It can be understood that the historical fermentation pile core temperature database may include at least three citrus core parts, namely the top citrus core, the middle citrus core and the lower citrus core, as well as the historical fermentation pile core temperature limit values corresponding to each citrus core part. For example, the fermentation pile core temperature limit value corresponding to the top citrus core is 50°C, the fermentation pile core temperature limit value corresponding to the middle citrus core is 45°C, and the fermentation pile core temperature limit value corresponding to the lower citrus core is 40°C.
[0064] Step 106: Obtain the first core moisture parameter corresponding to any group of cigar tobacco leaves stacks during each stack turning process, and obtain at least two groups of first temperature parameters of the corresponding cigar tobacco leaves stacks within a preset time period.
[0065] Specifically, when each group of cigar tobacco leaf stacks is turned over multiple times according to the stack core temperature threshold, the control terminal can also control the tobacco leaf moisture content detection device to perform moisture content detection on the tobacco leaves at the stack core of the cigar tobacco leaf stack after each turning process to obtain the corresponding first stack core moisture parameter. At the same time, the temperature detection device can also be controlled to collect multiple groups of temperature parameters at specified time intervals within a preset period. For example, the temperature parameters of the cigar tobacco leaf stack can be collected at 3 pm every day within a week (that is, a total of 7 groups of temperature parameters). Each group of temperature parameters can include but is not limited to the fermentation environment temperature at the current moment and the tobacco leaf stack core temperature at the stack core of the cigar tobacco leaf stack.
[0066] It can be understood that since the filler areas of the two groups of cigar tobacco leaves are consistent, the turning times of the two groups of cigar tobacco leaves during fermentation can be kept consistent. In other words, all first core moisture parameters and first temperature parameters collected from any one group of cigar tobacco leaves can represent all first core moisture parameters and first temperature parameters corresponding to the two groups of cigar tobacco leaves.
[0067] Step 108: Determine the fermentation endpoint time of all the cigar tobacco leaves in the stack based on the filler portion of the cigar tobacco leaves, all the first core moisture parameters, and all the first temperature parameters.
[0068] Specifically, after collecting at least two first pile core moisture parameters corresponding to any group of cigar tobacco leaves and at least two groups of first temperature parameters within a preset time period, the control terminal can analyze and process the at least two first pile core moisture parameters and at least two groups of first temperature parameters according to the core position of the cigar tobacco leaves, for example but not limited to, after collecting n first pile core moisture parameters and m groups of first temperature parameters, by analyzing and processing the n first pile core moisture parameters and m groups of first temperature parameters, and determining that the current moment is not all cigar leaves. At the fermentation endpoint of the cigar tobacco pile, the n+1th moisture parameter of the first pile core and the m+1th group of first temperature parameters can be continuously collected. After the n+1th moisture parameter of the first pile core and the m+1th group of first temperature parameters are collected, the n+1th moisture parameter of the first pile core and the m+1th group of first temperature parameters are analyzed and processed to again determine whether the current moment is the fermentation endpoint of all cigar tobacco piles, until a certain moment is determined to be the fermentation endpoint of all cigar tobacco piles, and the fermentation process can be stopped in a timely manner for all cigar tobacco piles. Here, n and m are both positive integers greater than or equal to 2.
[0069] As another option of the embodiment of the present application, each set of first temperature parameters includes a fermentation environment temperature and a cellophane core temperature corresponding to the same moment;
[0070] The fermentation endpoint of all cigar tobacco stacks is determined based on the filler position of the cigar tobacco stack, all first stack core moisture parameters, and all first temperature parameters, including:
[0071] Determining a corresponding preset temperature range, a preset core moisture range, and an initial core moisture parameter based on the core portion of the cigar tobacco leaf stack, and calculating a first difference between the fermentation environment temperature and the core temperature of the cigar tobacco leaf stack in each set of first temperature parameters;
[0072] Performing a summation process on the first differences corresponding to all the first temperature parameters, and when detecting that the summation result is within a preset temperature range, calculating a second difference between the minimum first pile core moisture parameter and the initial pile core moisture parameter;
[0073] When it is detected that the second difference is in the preset stack core moisture range, the current moment is used as the fermentation end moment of all cigar tobacco leaf stacks, and the fermentation process of all cigar tobacco leaf stacks is stopped.
[0074] Specifically, when the fermentation endpoint time of all cigar tobacco stacks is obtained, the control terminal can first determine the corresponding preset temperature range, preset stack core moisture range and initial stack core moisture parameter according to the core part of the cigar tobacco stack. For example, but not limited to, when the core part of the cigar tobacco stack is the top core, the corresponding preset temperature range can be 390-410°C (or the preset temperature is 400°C), the preset stack core moisture range can be 5-9% (or the preset stack core moisture content is 7%), and the initial stack core moisture parameter can be 32%; when the cigar tobacco stack is the top core, the preset temperature range can be 390-410°C (or the preset temperature is 400°C), the preset stack core moisture range can be 5-9% (or the preset stack core moisture content is 7%), and the initial stack core moisture parameter can be 32%; When the filler portion of the cigar tobacco pile is the middle filler, the corresponding preset temperature range can be 290-310°C (or the preset temperature is 300°C), the preset core moisture range can be 5-9% (or the preset core moisture content is 7%), and the initial core moisture parameter can be 30%. When the filler portion of the cigar tobacco pile is the lower filler, the corresponding preset temperature range can be 230-270°C (or the preset temperature is 250°C), the preset core moisture range can be 6-10% (or the preset core moisture content is 8%), and the initial core moisture parameter can be 28%. It should be noted that the preset temperature range, preset core moisture range, and initial core moisture parameter corresponding to each filler portion can be manually determined by combining the historical temperature and moisture data recorded for the corresponding filler portion during the fermentation process to ensure the authenticity and validity of the data.
[0075] Next, after determining the preset temperature range, preset core moisture range, and initial core moisture parameter corresponding to the filler portion of the cigar tobacco stack, the control terminal may further calculate a first difference between the fermentation environment temperature and the core temperature of the cigar tobacco stack among all currently collected first temperature parameters (in this embodiment of the present application, calculation processing may be performed when two sets of first temperature parameters are collected to ensure real-time data processing), and sum all of the first differences to obtain a corresponding summation result. It is understood that when this summation result is within the preset temperature range (or is consistent with the preset temperature), it indicates that the cigar tobacco stack currently meets the temperature requirements during the fermentation process. The control terminal may then calculate a second difference between the smallest first core moisture parameter among all currently collected first core moisture parameters and the initial core moisture parameter, to further determine whether the cigar tobacco stack currently meets the moisture requirements during the fermentation process based on this second difference. Here, when the summation processing result is not within the preset temperature range (or is inconsistent with the preset temperature), it indicates that the cigar tobacco leaf stack currently does not meet the temperature requirements of the fermentation process, and the control terminal can, but is not limited to, continue to collect the next set of temperature parameters. In the process of collecting the next set of temperature parameters, the corresponding first stack core moisture parameters can also be collected during the stack turning process. After the next set of temperature parameters are collected when the total number of stack turning processes does not exceed the preset number threshold, the first difference between the fermentation environment temperature and the cigar core stack core temperature of all the currently collected first temperature parameters and the corresponding summation processing results are calculated again until a summation processing result is within the preset temperature range (or is consistent with the preset temperature).
[0076] Then, when it is detected that the second difference is within the preset stack core moisture range (or is consistent with the preset stack core moisture content), it indicates that the cigar tobacco leaf stack currently meets both the temperature requirements and the moisture content requirements during the fermentation process. The current moment can then be used as the fermentation endpoint of all cigar tobacco leaf stacks. That is, after it is detected that the second difference is within the preset stack core moisture range, the fermentation process of all cigar tobacco leaf stacks can be stopped, so as to effectively ensure the quality and efficiency of cigar tobacco leaf fermentation.
[0077] As another optional embodiment of the present application, after summing the first differences corresponding to all first temperature parameters, the method further includes:
[0078] When it is detected that the summation result is not within the preset temperature range, the total number of stacking processes is determined;
[0079] When the total number of stack turning processes exceeds a preset number threshold, a stack core moisture change curve is generated based on all first stack core moisture parameters and the collection time corresponding to each first stack core moisture parameter;
[0080] When it is detected that all slopes corresponding to the pile core moisture content change curve are within the preset slope range, the estimated time corresponding to the preset pile core moisture content range is determined according to the pile core moisture content change curve, and the estimated time is used as the fermentation end time of all cigar tobacco leaf piles.
[0081] Specifically, when it is detected that the summation result is not within the preset temperature range (or is inconsistent with the preset temperature), it indicates that the cigar tobacco stack has not yet met the temperature requirements for the fermentation process, and the total number of stack turning processes to that point can also be calculated. It is understood that when the total number of stack turning processes of the cigar tobacco stack exceeds a preset number threshold, if the corresponding summation result is still not within the preset temperature range (or is inconsistent with the preset temperature), it indicates that the cigar tobacco stack may be fermenting slowly or abnormally.
[0082] Next, in order to determine whether the cigar tobacco leaf stack is currently experiencing a slow fermentation phenomenon or fermentation abnormality, the control terminal can, but is not limited to, generating a stack core moisture change curve based on all the first stack core moisture parameters currently collected and the collection time corresponding to each first stack core moisture parameter. The stack core moisture change curve can be understood as a smooth curve composed of multiple coordinate points, the horizontal coordinate of each coordinate point can correspond to the collection time, and the vertical coordinate can correspond to the first stack core moisture parameter corresponding to the collection time, and the slope between every two adjacent coordinate points is calculated. When it is detected that all slopes are within a preset slope range, it indicates that the cigar tobacco leaf stack is currently experiencing a slow fermentation phenomenon (that is, the stack core moisture parameter continues to decrease). Furthermore, all coordinate points on the stack core moisture change curve can be fitted, but is not limited to, to obtain a corresponding fitting curve function, and the minimum stack core moisture content, the middle stack core moisture content, or the maximum stack core moisture content within the preset stack core moisture range is substituted into the fitting curve function to calculate the corresponding estimated time. Here, when the fermentation process reaches the estimated moment, it indicates that the fermentation of all cigar tobacco leaf stacks has been completed, and the fermentation process of all cigar tobacco leaf stacks can be stopped.
[0083] It can be understood that when it is detected that any slope is not within the preset slope range, it indicates that the cigar tobacco leaf stack is currently fermenting abnormally, and the fermentation process of all cigar tobacco leaf stacks can be stopped in time, and manual inspection and processing of all cigar tobacco leaf stacks can be notified to avoid affecting the quality of the cigar tobacco leaf stacks.
[0084] As another optional embodiment of the present application, after identifying the filler portion of each group of cigar tobacco leaves from the image to be processed, the method further includes:
[0085] When the filler positions of all cigar tobacco leaf stacks are inconsistent, the corresponding cigar tobacco leaf stacks are turned over at least twice based on the stack core temperature threshold corresponding to the filler position of each group of cigar tobacco leaf stacks;
[0086] Obtaining a second core moisture parameter of each group of cigar tobacco leaves stacked during each stack turning process, and obtaining at least two groups of second temperature parameters within a preset time period;
[0087] Determining a correction parameter for the corresponding cigar tobacco stack based on preset weights corresponding to all filler parts, and performing correction processing on each corresponding second temperature parameter based on the correction parameter to obtain a third temperature parameter;
[0088] The corresponding fermentation endpoint time is determined based on the core part corresponding to each group of cigar tobacco leaf stacks, all moisture parameters of the second core stacks, and all third temperature parameters.
[0089] Specifically, when the filler locations of all cigar stacks are inconsistent, it indicates that the fermentation endpoint times corresponding to the two groups of cigar stacks are inconsistent. This means that data collection and analysis processing are required for each group of cigar stacks to determine the fermentation endpoint time corresponding to the corresponding cigar stack. Furthermore, the times corresponding to the stack turning process for each group of cigar stacks are inconsistent (each group of cigar stacks needs to be turned separately). It is understood that the methods for obtaining the second core moisture parameter corresponding to each group of cigar stacks during each turning process, as well as obtaining at least two sets of second temperature parameters within a preset time period, can be referred to in one or more of the above embodiments and will not be further elaborated here.
[0090] Next, to ensure the accuracy of the temperature parameters, correction parameters for the corresponding cigar tobacco leaf stacks may be determined based on preset weights corresponding to all filler parts. For example, but not limited to, taking the two groups of filler parts, namely, the top filler and the middle filler, the preset weight corresponding to the top filler may be set to 1.1, and the preset weight corresponding to the middle filler may be set to 1.2. Then, the correction parameter for the cigar tobacco leaf stack corresponding to the top filler may be a ratio between 1.2 and 1.1 (i.e., greater than 1), thereby reducing the influence of the stack core temperature threshold (lower temperature) corresponding to the middle filler on the temperature parameters collected from the top filler. Furthermore, the correction parameter for the cigar tobacco leaf stack corresponding to the middle filler may be a ratio between 1.1 and 1.2 (i.e., less than 1), thereby reducing the influence of the stack core temperature threshold (higher temperature) corresponding to the top filler on the temperature parameters collected from the middle filler.
[0091] Next, after determining the correction parameter for each group of cigar tobacco leaves, the control terminal may also, but is not limited to, multiply the correction parameter by the corresponding second temperature parameter, the core temperature of the cigar stack, and use the processed core temperature and the collected fermentation environment temperature as the third temperature parameter. The control terminal then determines the corresponding fermentation endpoint time based on the corresponding core portion of each group of cigar tobacco leaves, all second core moisture parameters, and all third temperature parameters. The method for determining the fermentation endpoint time for each group of cigar tobacco leaves can also be referred to in one or more of the above embodiments and will not be further elaborated.
[0092] It should be noted that the use of changes in the temperature of the tobacco leaf pile core and the moisture content of the tobacco leaves during the fermentation process to judge the end point of tobacco leaf fermentation can greatly ensure the objectivity, accuracy and timeliness of the determination of the end point of tobacco leaf fermentation, compared with the existing fermentation end point judgment which mainly relies on experience technology. Compared with manual smelling of tobacco leaves and sensory quality evaluation, the accumulated temperature and precipitation determination method is the product of the combination of a large amount of fermentation data monitoring, human experience judgment and sensory evaluation. It uses intuitive and quantifiable digital indicators as a reference, which can enhance the objectivity, accuracy and timeliness of the determination of the fermentation end point, reduce the workload of manual smelling and evaluation, and reduce the risk of occupational diseases.
[0093] See also Figure 2 , Figure 2 A schematic structural diagram of a device for determining the end point of cigar core fermentation based on accumulated temperature and precipitation provided in an embodiment of the present application is shown.
[0094] like Figure 2 As shown, the device for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation may include at least a first processing module 201, a second processing module 202, a third processing module 203, and a fourth processing module 204, wherein:
[0095] The first processing module 201 is configured to obtain an image to be processed comprising two groups of cigar tobacco stacks, and identify the filler portion of each group of cigar tobacco stacks from the image to be processed;
[0096] The second processing module 202 is configured to, when the filler parts of all the cigar tobacco stacks are consistent, perform stack turning processing on each group of cigar tobacco stacks at least twice based on the stack core temperature threshold corresponding to the filler parts of the cigar tobacco stacks;
[0097] The third processing module 203 is used to obtain the first core moisture parameter corresponding to any group of cigar tobacco leaves stacks during each stack turning process, and to obtain at least two groups of first temperature parameters of the corresponding cigar tobacco leaves stacks within a preset time period;
[0098] The fourth processing module 204 is configured to determine the fermentation endpoint time of all the cigar tobacco stacks based on the filler portion of the cigar tobacco stack, all first core moisture parameters, and all first temperature parameters.
[0099] In some possible embodiments, identifying the filler portion of each group of cigar tobacco leaves from the image to be processed includes:
[0100] Extracting tobacco leaf contour features corresponding to each group of cigar tobacco leaf stacks from the image to be processed, and determining a sample tobacco leaf contour having the highest similarity to each tobacco leaf contour feature from a preset tobacco leaf contour-part database; wherein the preset tobacco leaf contour-part database includes at least two cigar filler parts and a sample tobacco leaf contour corresponding to each cigar filler part;
[0101] The cigar core part corresponding to the sample tobacco leaf contour with the highest similarity is used as the cigar core part of the corresponding cigar tobacco leaf stack.
[0102] In some possible embodiments, each set of first temperature parameters includes a fermentation environment temperature and a cellophane core temperature corresponding to the same moment;
[0103] The fermentation endpoint of all cigar tobacco stacks is determined based on the filler position of the cigar tobacco stack, all first stack core moisture parameters, and all first temperature parameters, including:
[0104] Determining a corresponding preset temperature range, a preset core moisture range, and an initial core moisture parameter based on the core portion of the cigar tobacco leaf stack, and calculating a first difference between the fermentation environment temperature and the core temperature of the cigar tobacco leaf stack in each set of first temperature parameters;
[0105] Performing a summation process on the first differences corresponding to all the first temperature parameters, and when detecting that the summation result is within a preset temperature range, calculating a second difference between the minimum first pile core moisture parameter and the initial pile core moisture parameter;
[0106] When it is detected that the second difference is in the preset stack core moisture range, the current moment is used as the fermentation end moment of all cigar tobacco leaf stacks, and the fermentation process of all cigar tobacco leaf stacks is stopped.
[0107] In some possible embodiments, after summing the first differences corresponding to all first temperature parameters, the method further includes:
[0108] When it is detected that the summation result is not within the preset temperature range, the total number of stacking processes is determined;
[0109] When the total number of stack turning processes exceeds a preset number threshold, a stack core moisture change curve is generated based on all first stack core moisture parameters and the collection time corresponding to each first stack core moisture parameter;
[0110] When it is detected that all slopes corresponding to the pile core moisture content change curve are within the preset slope range, the estimated time corresponding to the preset pile core moisture content range is determined according to the pile core moisture content change curve, and the estimated time is used as the fermentation end time of all cigar tobacco leaf piles.
[0111] In some possible embodiments, after generating a stack core moisture change curve based on all first stack core moisture parameters and the acquisition time corresponding to each first stack core moisture parameter, the method further includes:
[0112] When it is detected that any slope corresponding to the moisture content variation curve of the stack is not within the preset slope range, the fermentation process of all cigar tobacco leaf stacks is stopped.
[0113] In some possible embodiments, after identifying the filler portion of each group of cigar tobacco leaves from the image to be processed, the method further includes:
[0114] When the filler positions of all cigar tobacco leaf stacks are inconsistent, the corresponding cigar tobacco leaf stacks are turned over at least twice based on the stack core temperature threshold corresponding to the filler position of each group of cigar tobacco leaf stacks;
[0115] Obtaining a second core moisture parameter of each group of cigar tobacco leaves stacked during each stack turning process, and obtaining at least two groups of second temperature parameters within a preset time period;
[0116] Determining a correction parameter for the corresponding cigar tobacco stack based on preset weights corresponding to all filler parts, and performing correction processing on each corresponding second temperature parameter based on the correction parameter to obtain a third temperature parameter;
[0117] The corresponding fermentation endpoint time is determined based on the core part corresponding to each group of cigar tobacco leaf stacks, all moisture parameters of the second core stacks, and all third temperature parameters.
[0118] In some possible embodiments, the filler portion of each group of cigar tobacco leaf stacks is any one of the top filler, the middle filler, and the bottom filler.
[0119] Those skilled in the art will clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. "Unit" and "module" in this specification refer to software and / or hardware that can independently perform or cooperate with other components to perform specific functions, where the hardware can be, for example, a field-programmable gate array (FPGA) or an integrated circuit (IC).
[0120] See also Figure 3 , Figure 3A schematic structural diagram of another device for determining the end point of cigar core fermentation based on accumulated temperature and precipitation provided in an embodiment of the present application is shown.
[0121] like Figure 3 As shown, the device 300 for determining the end point of cigar core fermentation based on accumulated temperature and precipitation may include at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 and at least one communication bus 302 .
[0122] The communication bus 302 may be used to implement the connection and communication between the above components.
[0123] The user interface 303 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0124] The network interface 304 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, and the like.
[0125] The processor 301 may include one or more processing cores. Using various interfaces and circuits, the processor 301 connects various components within the device 300 for determining the end point of fermentation of cigar cores based on accumulated temperature and precipitation. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 305, as well as accessing data stored in the memory 305, the processor 301 executes various functions and processes data within the device 300. Optionally, the processor 301 may be implemented in hardware using at least one of a DSP, FPGA, and PLA. The processor 301 may integrate one or a combination of a CPU, GPU, and modem. The CPU primarily handles the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing content displayed on the display; and the modem handles wireless communications. It is understood that the modem may be implemented independently of the processor 301 and implemented as a separate chip.
[0126] Among them, the memory 305 may include RAM and ROM. Optionally, the memory 305 includes a non-transitory computer-readable medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may also be optionally at least one storage device located away from the aforementioned processor 301. As Figure 3As shown, the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for determining the end point of cigar core fermentation based on accumulated temperature and precipitation.
[0127] Specifically, the processor 301 may be configured to call the cigar core fermentation endpoint determination application based on accumulated temperature and precipitation stored in the memory 305 and specifically perform the following operations:
[0128] Acquire an image to be processed containing two groups of cigar tobacco leaf stacks, and identify the filler portion of each group of cigar tobacco leaf stacks from the image to be processed;
[0129] When the filler positions of all cigar tobacco leaf stacks are consistent, each group of cigar tobacco leaf stacks is turned over at least twice based on the stack core temperature threshold corresponding to the filler positions of the cigar tobacco leaf stacks;
[0130] Obtaining a first stack core moisture parameter corresponding to any group of cigar tobacco leaves stacked during each stack turning process, and obtaining at least two groups of first temperature parameters of the corresponding cigar tobacco leaves stacked within a preset time period;
[0131] The fermentation end point of all the cigar tobacco leaves stacks is determined based on the filler positions of the cigar tobacco leaves stacks, all the moisture parameters of the first core of the stacks, and all the first temperature parameters.
[0132] In some possible embodiments, identifying the filler portion of each group of cigar tobacco leaves from the image to be processed includes:
[0133] Extracting tobacco leaf contour features corresponding to each group of cigar tobacco leaf stacks from the image to be processed, and determining a sample tobacco leaf contour having the highest similarity to each tobacco leaf contour feature from a preset tobacco leaf contour-part database; wherein the preset tobacco leaf contour-part database includes at least two cigar filler parts and a sample tobacco leaf contour corresponding to each cigar filler part;
[0134] The cigar core part corresponding to the sample tobacco leaf contour with the highest similarity is used as the cigar core part of the corresponding cigar tobacco leaf stack.
[0135] In some possible embodiments, each set of first temperature parameters includes a fermentation environment temperature and a cellophane core temperature corresponding to the same moment;
[0136] The fermentation endpoint of all cigar tobacco stacks is determined based on the filler position of the cigar tobacco stack, all first stack core moisture parameters, and all first temperature parameters, including:
[0137] Determining a corresponding preset temperature range, a preset core moisture range, and an initial core moisture parameter based on the core portion of the cigar tobacco leaf stack, and calculating a first difference between the fermentation environment temperature and the core temperature of the cigar tobacco leaf stack in each set of first temperature parameters;
[0138] Performing a summation process on the first differences corresponding to all the first temperature parameters, and when detecting that the summation result is within a preset temperature range, calculating a second difference between the minimum first pile core moisture parameter and the initial pile core moisture parameter;
[0139] When it is detected that the second difference is in the preset stack core moisture range, the current moment is used as the fermentation end moment of all cigar tobacco leaf stacks, and the fermentation process of all cigar tobacco leaf stacks is stopped.
[0140] In some possible embodiments, after summing the first differences corresponding to all first temperature parameters, the method further includes:
[0141] When it is detected that the summation result is not within the preset temperature range, the total number of stacking processes is determined;
[0142] When the total number of stack turning processes exceeds a preset number threshold, a stack core moisture change curve is generated based on all first stack core moisture parameters and the collection time corresponding to each first stack core moisture parameter;
[0143] When it is detected that all slopes corresponding to the pile core moisture content change curve are within the preset slope range, the estimated time corresponding to the preset pile core moisture content range is determined according to the pile core moisture content change curve, and the estimated time is used as the fermentation end time of all cigar tobacco leaf piles.
[0144] In some possible embodiments, after generating a stack core moisture change curve based on all first stack core moisture parameters and the acquisition time corresponding to each first stack core moisture parameter, the method further includes:
[0145] When it is detected that any slope corresponding to the moisture content variation curve of the stack is not within the preset slope range, the fermentation process of all cigar tobacco leaf stacks is stopped.
[0146] In some possible embodiments, after identifying the filler portion of each group of cigar tobacco leaves from the image to be processed, the method further includes:
[0147] When the filler positions of all cigar tobacco leaf stacks are inconsistent, the corresponding cigar tobacco leaf stacks are turned over at least twice based on the stack core temperature threshold corresponding to the filler position of each group of cigar tobacco leaf stacks;
[0148] Obtaining a second core moisture parameter of each group of cigar tobacco leaves stacked during each stack turning process, and obtaining at least two groups of second temperature parameters within a preset time period;
[0149] Determining a correction parameter for the corresponding cigar tobacco stack based on preset weights corresponding to all filler parts, and performing correction processing on each corresponding second temperature parameter based on the correction parameter to obtain a third temperature parameter;
[0150] The corresponding fermentation endpoint time is determined based on the core part corresponding to each group of cigar tobacco leaf stacks, all moisture parameters of the second core stacks, and all third temperature parameters.
[0151] In some possible embodiments, the filler portion of each group of cigar tobacco leaf stacks is any one of the top filler, the middle filler, and the bottom filler.
[0152] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above method. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a microdrive, a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0153] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0154] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0155] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interface, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0156] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0157] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0158] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, etc., various media that can store program code.
Claims
1. A method for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation, characterized in that: include: Acquiring an image to be processed comprising two groups of cigar tobacco leaf stacks, and identifying the filler portion of each group of the cigar tobacco leaf stacks from the image to be processed; When the filler parts of all the cigar tobacco leaves stacks are consistent, turning the stacks of each group of cigar tobacco leaves at least twice based on the stack core temperature threshold corresponding to the filler parts of the cigar tobacco leaves stacks; Obtaining a first stack core moisture parameter corresponding to any group of the cigar tobacco leaves stacks during each stack turning process, and obtaining at least two groups of first temperature parameters corresponding to the cigar tobacco leaves stacks within a preset time period; Determining the fermentation endpoint time of all the cigar tobacco stacks based on the filler positions of the cigar tobacco stacks, all the first stack core moisture parameters, and all the first temperature parameters; Each set of the first temperature parameters includes the fermentation environment temperature and the eggplant core temperature corresponding to the same moment; Determining the fermentation endpoint time of all the cigar tobacco leaves stacks based on the filler positions of the cigar tobacco leaves stacks, all the first core moisture parameters, and all the first temperature parameters includes: Determining a corresponding preset temperature range, a preset core moisture range, and an initial core moisture parameter based on the core portion of the cigar tobacco leaf stack, and calculating a first difference between the fermentation environment temperature and the core temperature of the cigar tobacco leaf stack in each set of the first temperature parameters; performing a summation process on the first differences corresponding to all the first temperature parameters, and when detecting that the summation result is within the preset temperature range, calculating a minimum second difference between the first stack core moisture parameter and the initial stack core moisture parameter; When it is detected that the second difference is within the preset stack core moisture range, the current moment is taken as the fermentation end moment of all the cigar tobacco leaves stacks, and the fermentation process of all the cigar tobacco leaves stacks is stopped.
2. The method according to claim 1, characterized in that The step of identifying the filler portion of each group of the cigar tobacco leaves stack from the image to be processed includes: Extracting tobacco leaf contour features corresponding to each group of cigar tobacco leaf stacks from the image to be processed, and determining a sample tobacco leaf contour having the highest similarity to each of the tobacco leaf contour features from a preset tobacco leaf contour-part database; wherein the preset tobacco leaf contour-part database includes at least two cigar core parts and a sample tobacco leaf contour corresponding to each cigar core part; The cigar core portion corresponding to the sample tobacco leaf contour with the highest similarity is used as the cigar core portion of the corresponding cigar tobacco leaf stack.
3. The method according to claim 1, characterized in that After summing up the first differences corresponding to all the first temperature parameters, the method further includes: When it is detected that the summation result is not within the preset temperature range, determining the total number of stack turning processes; When the total number of stack turning processes exceeds a preset number threshold, a stack core moisture change curve is generated based on all the first stack core moisture parameters and the collection time corresponding to each of the first stack core moisture parameters; When it is detected that all slopes corresponding to the stack core moisture content change curve are within a preset slope range, an estimated time corresponding to the preset stack core moisture content range is determined based on the stack core moisture content change curve, and the estimated time is used as the fermentation end time of all the cigar tobacco leaf stacks.
4. The method according to claim 3, characterized in that After generating a stack core moisture change curve based on all the first stack core moisture parameters and the acquisition time corresponding to each of the first stack core moisture parameters, the method further includes: When it is detected that any slope corresponding to the moisture content variation curve of the stack is not within the preset slope range, the fermentation process of all the cigar tobacco leaf stacks is stopped.
5. The method according to claim 1, wherein After identifying the filler portion of each group of the cigar tobacco leaves stack from the image to be processed, the method further includes: When the filler parts of all the cigar tobacco leaves stacks are inconsistent, turning the corresponding cigar tobacco leaves stacks at least twice based on the stack core temperature threshold corresponding to the filler parts of each group of the cigar tobacco leaves stacks; Obtaining a second core moisture parameter of each group of cigar tobacco leaves stacked during each stack turning process, and obtaining at least two groups of second temperature parameters within the preset time period; determining a correction parameter for the corresponding cigar tobacco stack according to preset weights corresponding to all the filler parts, and performing correction processing on each corresponding second temperature parameter based on the correction parameter to obtain a third temperature parameter; The corresponding fermentation endpoint time is determined based on the filler portion corresponding to each group of the cigar tobacco leaf stacks, all the moisture parameters of the second stack cores, and all the third temperature parameters.
6. The method according to claim 1, characterized in that The filler portion of each group of cigar tobacco leaf stacks is any one of the top filler portion, the middle filler portion or the bottom filler portion.
7. A device for determining the end point of cigar core fermentation based on accumulated temperature and precipitation, characterized in that: The device is applied to the method for determining the fermentation endpoint of cigar core based on accumulated temperature and precipitation as described in any one of claims 1 to 6, and the device comprises: a first processing module configured to obtain an image to be processed comprising two groups of cigar tobacco stacks, and identify the filler portion of each group of cigar tobacco stacks from the image to be processed; a second processing module configured to, when the filler portions of all the cigar tobacco stacks are consistent, perform stack turning processing on each group of the cigar tobacco stacks at least twice based on a stack core temperature threshold corresponding to the filler portions of the cigar tobacco stacks; A third processing module is configured to obtain a first stack core moisture parameter corresponding to any group of the cigar tobacco leaves stacks during each stack turning process, and to obtain at least two groups of first temperature parameters corresponding to the cigar tobacco leaves stacks within a preset time period; The fourth processing module is configured to determine the fermentation endpoint time of all the cigar tobacco stacks based on the filler portion of the cigar tobacco stack, all the first core moisture parameters, and all the first temperature parameters.
8. A device for determining the end point of cigar core fermentation based on accumulated temperature and precipitation, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Identification processing method and device for stacking fermentation of cigar tobacco leaves
CN117243403A
Cigar tobacco fermentation system and fermentation method thereof
CN118104862A