Fresh food freshness prediction method and system, storage medium and electronic equipment

By judging and calculating the color product coordinates of the light source and inputting the fresh freshness estimation model, the problem of inaccurate freshness evaluation of fresh food in the prior art is solved, and accurate freshness prediction under different lighting conditions is achieved.

CN119044074APending Publication Date: 2024-11-29GUANGDONG TEYOUSHI LIGHTING TECH CO LTD

Patent Information

Application Number
CN202411050264.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The existing freshness evaluation methods for fresh food cannot take into account the freshness evaluation of fresh food's color reality and the visual sense of fresh food, resulting in inaccurate prediction results.

Method used

By judging the type of fresh food to be displayed, determine the spectral power distribution information of the target light source, and calculate the color product coordinates of the light source in the CIE1931XYZ color space to determine whether it is within the preset range. If so, enter the fresh freshness estimation model to determine the freshness value.

Benefits of technology

A comprehensive and accurate prediction and evaluation of fresh food freshness under different lighting sources is achieved, and the accuracy of freshness prediction is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119044074A_ABST
    Figure CN119044074A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a fresh food freshness prediction method and system, a storage medium and electronic equipment. The method comprises the steps that whether the type of fresh food to be displayed belongs to a preset fresh food type range or not is judged; when the type of the fresh food to be displayed belongs to a preset fresh food type range, spectral power distribution information of a target light source is determined; wherein the target light source is an illumination light source of the fresh food to be displayed; calculating chromaticity coordinates of the target light source in a CIE1931XYZ color space based on the spectral power distribution information; judging whether the chromaticity coordinates of the target light source belong to a preset chromaticity coordinate range or not; wherein different chromaticity coordinate ranges are preset for different types of fresh food; and when the chromaticity coordinates of the target light source belong to a preset chromaticity coordinate range, inputting the chromaticity coordinates of the target light source into a pre-constructed fresh food freshness estimation model, and determining a fresh food freshness estimation value of the to-be-displayed fresh food under the condition that the target light source is used for illuminating the to-be-displayed fresh food.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of freshness prediction of fresh produce, and in particular to a method and system for predicting the freshness of fresh produce, as well as a storage medium and an electronic device. Background Art

[0002] The visual appearance of fresh food is an important issue in the current fresh food market that involves the needs of multiple parties. Merchants hope to enhance their market competitiveness by improving the appearance of fresh food, and consumers are eager to buy high-quality food that matches the on-site appearance. Lighting manufacturers are committed to developing efficient lighting products that meet the needs of merchants to optimize the display of fresh food.

[0003] Fresh food lights are a special light source for sales and display that has appeared in the domestic agricultural trade and supermarket sales field in recent years. The principle is to visually enhance consumers' judgment of the freshness of fresh products through a combination of light colors with specific wavelengths, thereby increasing consumers' desire to buy. However, some manufacturers currently focus too much on improving the visual appearance of food when developing and producing fresh food lights, which affects consumers' true perception of the color of fresh food and accurate judgment of its freshness.

[0004] Compared with traditional light sources, the fourth-generation lighting source LED has many advantages such as high light efficiency, low radiation, and long life. Its technical feature of adjustable light color creates the possibility of intelligent lighting, which can be applied to scenes such as the display of fresh food. However, at this stage, regarding the problem of freshness identification of fresh food, there is no freshness evaluation method in the field of LED lighting that takes into account the color authenticity and visual sense of fresh food.

[0005] In view of the problem that the existing freshness evaluation scheme cannot take into account the color authenticity and visual perception of fresh food, resulting in inaccurate freshness prediction results, a technical solution is urgently needed. Summary of the invention

[0006] In order to solve the problem described in the background technology, the present application proposes a method and system for predicting the freshness of fresh produce, as well as a storage medium and an electronic device.

[0007] According to one aspect of the present invention, a method for predicting freshness of fresh produce is provided, the method comprising:

[0008] Determine whether the type of fresh food to be displayed falls within the preset range of fresh food types;

[0009] When the type of fresh food to be displayed belongs to the preset fresh food type range, the spectral power distribution information of the target light source is determined; wherein the target light source is the lighting light source of the fresh food to be displayed;

[0010] Based on the spectral power distribution information, calculating the chromaticity coordinates of the target light source in the CIE1931XYZ color space;

[0011] Determine whether the chromaticity coordinates of the target light source are within a preset chromaticity coordinate range; wherein different types of fresh produce are preset with different chromaticity coordinate ranges;

[0012] When the chromaticity coordinates of the target light source fall within the preset chromaticity coordinate range, the chromaticity coordinates of the target light source are input into a pre-constructed food freshness estimation model to determine an estimated value of the freshness of the food to be displayed when the target light source is used to illuminate the food to be displayed.

[0013] Optionally, the determining whether the chromaticity coordinates of the target light source are within a preset chromaticity coordinate range includes:

[0014] Determine whether the chromaticity coordinates of the target light source are within a first threshold ellipse; or

[0015] It is determined whether the chromaticity coordinates of the target light source are within a second threshold ellipse.

[0016] Optionally, the pre-built freshness estimation model is expressed as follows:

[0017] M=p00+p10*x+p01*y+p20*x 2 +p11*x*y+p02*y 2 +

[0018] p30*x 3 +p21*x 2 *y+p12*x*y 2 +p03*y 3 ;

[0019] Wherein, M is the estimated value of the freshness of the fresh food to be displayed; x and y are the chromaticity coordinates of the target light source; p00, p10, p01, p20, p11, p02, p30, p21, p12 and p03 are the coefficients of the freshness estimation model, and the coefficients of the freshness estimation model corresponding to different types of fresh food are different.

[0020] Optionally, when the type of fresh food to be displayed is pork, the coefficients of the fresh food freshness estimation model are as follows:

[0021] p00 = -92.0611;

[0022] p10=1.3287×10 3 ;

[0023] p01 = -543.3958;

[0024] p20=-7.3660×10 3 ;

[0025] p11=6.5221×10 3 ;

[0026] p02=-1.2579×10 3 ;

[0027] p30=1.4893×10 4 ;

[0028] p21=-2.3517×10 4 ;

[0029] p12=1.4805×10 4 ;

[0030] p03=-4.4267×10 3 ;

[0031] When the type of fresh produce to be displayed is fruit, the coefficients of the fresh produce freshness estimation model are as follows:

[0032] p00 = -179.1639;

[0033] p10=169.0017;

[0034] p01=1.3258×10 3 ;

[0035] p20=-5.7054×10 3 ;

[0036] p11=1.0726×10 4 ;

[0037] p02=-9.0307×10 3 ;

[0038] p30=3.6923×10 3 ;

[0039] p21=4.0503×10 3 ;

[0040] p12=-1.8577×10 4 ;

[0041] p03=1.4295×10 4 ;

[0042] When the type of fresh food to be displayed is bread, the coefficients of the fresh food freshness estimation model are as follows:

[0043] p00 = -87.1310;

[0044] p10=1.1077×10 3 ;

[0045] p01 = -450.6800;

[0046] p20=-4.7350×10 3 ;

[0047] p11=3.0825×10 3 ;

[0048] p02=118.4537;

[0049] p30=2.4406×10 3 ;

[0050] p21=4.4858×10 3 ;

[0051] p12=-6.9504×10 3 ;

[0052] p03=1.1054×10 3 ;

[0053] When the type of fresh food to be displayed is chilled, the coefficients of the fresh food freshness estimation model are as follows:

[0054] p00 = -92.4147;

[0055] p10=902.7643;

[0056] p01 = -191.4892;

[0057] p20=-5.5903×10 3 ;

[0058] p11=6.2958×10 3 ;

[0059] p02=-2.3165×10 3 ;

[0060] p30 = -38.9609;

[0061] p21=1.4339×10 4 ;

[0062] p12=-2.2192×10 4 ;

[0063] p03=8.8500×10 3 .

[0064] Optionally, when the type of fresh food to be displayed is pork, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows:

[0065] E1: 2.7325168211306x 2 -4.91220823508485xy+

[0066] 2.70283748957492y 2 -0.226448358637118x-0.127996987303546y+0.0592185694625837≤0;

[0067] E2: 6.88575096900157x 2 -4.79165461846818xy+

[0068] 3.17444924300464y 2 -2.76630930634942x-0.535524472951428y+0.510478931399814≤0;

[0069] When the type of fresh food to be displayed is fruit, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows:

[0070] E1: 3.48130638761296x 2 -5.75931122868009xy+

[0071] 5.09951857364944y 2 -0.449071759527241x-1.48151136473554y+0.324379599412055≤0;

[0072] E2: 1.67012171955429x 2 -1.23244031663104xy+

[0073] 1.40239910226931y 2 -0.640281024548714x-0.5309525177306y+

[0074] 0.185058227994021≤0;

[0075] When the type of fresh food to be displayed is bread, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows:

[0076] E1: 1.44231274550301x 2 -3.46550758681536xy+

[0077] 2.70991358549663y 2 +0.188563568322975x-0.644991121326583y+0.074216757913488≤0;

[0078] E2: 2.16900907259143x 2 -2.97438502569708xy+

[0079] 1.69734472216539y 2 -0.41351674877674x-0.152773289190381y+0.0887567882064757≤0;

[0080] When the type of fresh food to be displayed is chilled food, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows:

[0081] E1: 3.74305989909612x 2 -5.27260842960863xy+

[0082] 4.77270776183139y 2 -0.689477515100031x-1.457156229954y+

[0083] 0.34878658053663≤0;

[0084] E2: 4.01435336845066x 2 -5.50034003569432xy+

[0085] 6.04808146549638y 2 -0.711510284068755x-2.20335092506117y+0.46198741582882≤0;

[0086] Wherein, x and y are the chromaticity coordinates of the target light source.

[0087] Optionally, the calculating the chromaticity coordinates of the target light source in the CIE1931XYZ color space based on the spectral power distribution information includes:

[0088] Based on the wavelength band information within the range of 400nm-700nm in the spectral power distribution information, the chromaticity coordinates of the target light source are calculated in the CIE1931XYZ color space.

[0089] According to another aspect of the present invention, a freshness prediction system for fresh produce is provided, the system comprising:

[0090] A fresh food category determination module is used to determine whether the type of fresh food to be displayed belongs to the preset fresh food category range;

[0091] A spectral power distribution determination module, used to determine the spectral power distribution information of the target light source when the type of the fresh food to be displayed belongs to the preset fresh food type range; wherein the target light source is the lighting light source of the fresh food to be displayed;

[0092] A chromaticity coordinate calculation module, used to calculate the chromaticity coordinates of the target light source in the CIE1931XYZ color space based on the spectral power distribution information;

[0093] A chromaticity coordinate judgment module, used to judge whether the chromaticity coordinate of the target light source is within a preset chromaticity coordinate range; wherein different types of fresh produce are preset with different chromaticity coordinate ranges;

[0094] The freshness prediction module is used to input the chromaticity coordinates of the target light source into a pre-constructed freshness estimation model when the chromaticity coordinates of the target light source fall within the preset chromaticity coordinate range, and determine the estimated freshness value of the fresh food to be displayed when the target light source is used to illuminate the fresh food to be displayed.

[0095] According to another aspect of the present invention, an electronic device is provided, characterized in that the electronic device comprises: a memory and a processor, the memory and the processor are coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes any one of the methods described above.

[0096] According to another aspect of the present invention, there is provided a computer-readable storage medium, characterized in that it includes a computer program, and when the computer program is executed on an electronic device, the electronic device executes any one of the methods described above.

[0097] The present application proposes a technical solution for predicting the freshness of fresh produce, which is based on the chromaticity coordinates of the light source spectrum and uses a freshness estimation model to achieve a comprehensive and accurate prediction and evaluation of the freshness of fresh produce to be displayed under different lighting sources.

[0098] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0099] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0100] Figure 1 is a flow chart of a method for predicting freshness of fresh produce provided by an exemplary embodiment of the present invention;

[0101] Figure 2 is a structural schematic diagram of a fresh produce freshness prediction system provided by an exemplary embodiment of the present invention; and

[0102] Figure 3 It is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0103] Below, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described here.

[0104] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0105] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present invention are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.

[0106] It should also be understood that, in the embodiments of the present invention, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.

[0107] It should also be understood that any component, data or structure mentioned in the embodiments of the present invention can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.

[0108] In order to solve the problems mentioned in the background technology part, this embodiment provides a technical solution for predicting the freshness of fresh produce. It relies on the spectral chromaticity coordinates of the light source and uses a freshness estimation model to achieve a comprehensive and accurate prediction and evaluation of the freshness of the displayed fresh produce under different lighting sources, thereby providing an effective and targeted freshness prediction method for the field.

[0109] In the embodiment of the present invention, four typical fresh products are used as objects to be displayed, namely pork, fruit, bread, and chilled food; four groups of LED light sources with different chromaticity properties are used as light sources to be evaluated; the results of psychophysical experiments are used as the basis for model verification to illustrate the accuracy of a freshness prediction method proposed by the present invention. It should be noted that the present invention is not limited to the above light sources and fresh products, and this method is also applicable to other LED light sources or other fresh products.

[0110] Based on this, Figure 1 As shown, according to this embodiment, a method for predicting freshness of fresh food is provided, including:

[0111] S101: Determine whether the type of fresh food to be displayed belongs to the preset range of fresh food types.

[0112] In the embodiment of the present invention, four typical fresh products are used as the objects to be displayed, namely pork, fruit, bread, and chilled food. The preset fresh product category range includes pork, fruit, bread, and chilled food. With the emergence of new types of fresh products or changes in demand, the fresh product category range also changes accordingly.

[0113] Therefore, the present invention needs to determine whether the type of fresh food to be displayed belongs to the preset fresh food type range, that is, to determine whether the type of fresh food to be displayed belongs to the preset fresh food type range. If not, the present invention is not applicable, and if so, proceed to the next step.

[0114] S102: When the type of the fresh food to be displayed belongs to the preset fresh food type range, determining the spectral power distribution information of the target light source; wherein the target light source is the lighting light source of the fresh food to be displayed.

[0115] In the embodiment of the present invention, the target light source is the light source to be evaluated, and the spectral power distribution information of the target light source having certain chromaticity properties can be measured by using an X-Rite i1 Pro spectrophotometer.

[0116] S103: Calculate the chromaticity coordinates of the target light source in the CIE1931XYZ color space based on the spectral power distribution information.

[0117] Optionally, calculating the chromaticity coordinates of the target light source in the CIE1931XYZ color space based on the spectral power distribution information includes: calculating the chromaticity coordinates of the target light source in the CIE1931XYZ color space based on band information within a range of 400nm-700nm in the spectral power distribution information.

[0118] In an embodiment of the present invention, it is necessary to calculate the chromaticity information of the light source to be evaluated in the CIE1931XYZ color space S, and the chromaticity information is the chromaticity coordinates. Then, the band information of the target light source in the range of 400nm-700nm is used to calculate the chromaticity coordinates (x, y) of the target light source in the CIE1931XYZ color space.

[0119] In the embodiment of the present invention, since there are four kinds of fresh food to be displayed, the chromaticity coordinates (x, y) of the target light source are divided into four corresponding groups. The chromaticity coordinates (x, y) of the target light source are shown in Table 1.

[0120] Table 1 Chromaticity coordinates of target light source

[0121]

[0122]

[0123]

[0124] S104: Determine whether the chromaticity coordinates of the target light source are within a preset chromaticity coordinate range; wherein different types of fresh produce are preset with different chromaticity coordinate ranges.

[0125] Optionally, determining whether the chromaticity coordinates of the target light source are within a preset chromaticity coordinate range includes: determining whether the chromaticity coordinates of the target light source are within a first threshold ellipse; or determining whether the chromaticity coordinates of the target light source are within a second threshold ellipse.

[0126] In the embodiment of the present invention, the chromaticity coordinate (x, y) values ​​of the four types of fresh food lighting sources should respectively meet the threshold ellipse requirements, that is, to determine whether (x, y)∈ellipse E1||ellipse E2 holds.

[0127] Optionally, when the type of fresh food to be displayed is pork, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows:

[0128] E1: 2.7325168211306x 2 -4.91220823508485xy+

[0129] 2.70283748957492y 2-0.226448358637118x-0.127996987303546y+0.0592185694625837≤0;

[0130] E2: 6.88575096900157x 2 -4.79165461846818xy+

[0131] 3.17444924300464y 2 -2.76630930634942x-0.535524472951428y+0.510478931399814≤0;

[0132] When the type of fresh food to be displayed is fruit, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows:

[0133] E1: 3.48130638761296x 2 -5.75931122868009xy+

[0134] 5.09951857364944y 2 -0.449071759527241x-1.48151136473554y+0.324379599412055≤0;

[0135] E2: 1.67012171955429x 2 -1.23244031663104xy+

[0136] 1.40239910226931y 2 -0.640281024548714x-0.5309525177306y+

[0137] 0.185058227994021≤0;

[0138] When the type of fresh food to be displayed is bread, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows:

[0139] E1: 1.44231274550301x 2 -3.46550758681536xy+

[0140] 2.70991358549663y 2 +0.188563568322975x-0.644991121326583y+0.074216757913488≤0;

[0141] E2: 2.16900907259143x 2 -2.97438502569708xy+

[0142] 1.69734472216539y 2 -0.41351674877674x-0.152773289190381y+0.0887567882064757≤0;

[0143] When the type of fresh food to be displayed is chilled food, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows:

[0144] E1: 3.74305989909612x 2 -5.27260842960863xy+

[0145] 4.77270776183139y 2 -0.689477515100031x-1.457156229954y+

[0146] 0.34878658053663≤0;

[0147] E2: 4.01435336845066x 2 -5.50034003569432xy+

[0148] 6.04808146549638y 2 -0.711510284068755x-2.20335092506117y+0.46198741582882≤0;

[0149] Wherein, x and y are the chromaticity coordinates of the target light source.

[0150] S105: When the chromaticity coordinates of the target light source are within the preset chromaticity coordinate range, the chromaticity coordinates of the target light source are input into a pre-constructed food freshness estimation model to determine an estimated value of the food freshness of the food to be displayed when the target light source is used to illuminate the food to be displayed.

[0151] In an embodiment of the present invention, the chromaticity coordinate information of the target light source is input into a pre-constructed freshness estimation model M to obtain an estimated value of the freshness of the fresh food to be displayed under the target light source, thereby realizing the freshness prediction of various types of fresh food to be displayed under different light sources.

[0152] Optionally, the pre-built freshness estimation model is expressed as follows:

[0153] M=p00+p10*x+p01*y+p20*x 2 +p11*x*y+p02*y 2 +

[0154] p30*x 3 +p21*x 2 *y+p12*x*y 2 +p03*y 3 ;

[0155] Wherein, M is the estimated value of the freshness of the fresh food to be displayed; x and y are the chromaticity coordinates of the target light source; p00, p10, p01, p20, p11, p02, p30, p21, p12 and p03 are the coefficients of the freshness estimation model, and the coefficients of the freshness estimation model corresponding to different types of fresh food are different.

[0156] Optionally, when the type of fresh food to be displayed is pork, the coefficients of the fresh food freshness estimation model are as follows:

[0157] p00 = -92.0611;

[0158] p10=1.3287×10 3 ;

[0159] p01 = -543.3958;

[0160] p20=-7.3660×10 3 ;

[0161] p11=6.5221×10 3 ;

[0162] p02=-1.2579×10 3 ;

[0163] p30=1.4893×10 4 ;

[0164] p21=-2.3517×10 4 ;

[0165] p12=1.4805×10 4 ;

[0166] p03=-4.4267×10 3 ;

[0167] When the type of fresh food to be displayed is fruit, the coefficients of the fresh food freshness estimation model are as follows:

[0168] p00 = -179.1639;

[0169] p10=169.0017;

[0170] p01=1.3258×10 3 ;

[0171] p20=-5.7054×10 3 ;

[0172] p11=1.0726×10 4 ;

[0173] p02=-9.0307×10 3 ;

[0174] p30=3.6923×10 3 ;

[0175] p21=4.0503×10 3 ;

[0176] p12=-1.8577×10 4 ;

[0177] p03=1.4295×10 4 ;

[0178] When the type of fresh food to be displayed is bread, the coefficients of the fresh food freshness estimation model are as follows:

[0179] p00 = -87.1310;

[0180] p10=1.1077×10 3 ;

[0181] p01 = -450.6800;

[0182] p20=-4.7350×10 3 ;

[0183] p11=3.0825×10 3 ;

[0184] p02=118.4537;

[0185] p30=2.4406×10 3 ;

[0186] p21=4.4858×10 3 ;

[0187] p12=-6.9504×10 3 ;

[0188] p03=1.1054×10 3 ;

[0189] When the type of fresh food to be displayed is chilled, the coefficients of the fresh food freshness estimation model are as follows:

[0190] p00 = -92.4147;

[0191] p10=902.7643;

[0192] p01 = -191.4892;

[0193] p20=-5.5903×10 3 ;

[0194] p11=6.2958×10 3 ;

[0195] p02=-2.3165×10 3 ;

[0196] p30 = -38.9609;

[0197] p21=1.4339×10 4 ;

[0198] p12=-2.2192×10 4 ;

[0199] p03=8.8500×10 3 .

[0200] In order to further confirm the technical advantages of the method of the present invention in the prediction of freshness of fresh food, a psychophysical experiment was conducted to analyze the goodness of fit R 2 The goodness of fit R between the observers' subjective evaluation of freshness obtained from the psychophysical experiment and the predicted estimate of freshness was calculated by using the correlation coefficient R 2 And the correlation coefficient R. The specific implementation is: take the above four typical fresh products as experimental objects, take the above four groups of light sources to be evaluated as experimental light sources, and conduct a subjective evaluation experiment on the freshness of fresh products. The specific experimental method is as follows:

[0201] 1) Conduct the experiment in a dark room, using the four types of fresh produce to be displayed as experimental objects. The fresh produce is placed in the center of a standard light box, Light-Cube (50cm×50cm×60cm, with neutral gray on the sides and bottom). Each light box is equipped with lighting hardware on the top to generate the designated experimental light source. The observer sits on a chair 90cm away from the center of the light box and observes the fresh produce in the light box.

[0202] 2) A total of 32 observers were involved in the experiment. Before the experiment officially began, the observers were asked to take the Ishihara color blindness test to ensure that they had no visual impairment in color discrimination. After passing the test, they were asked to fill out a questionnaire outside the laboratory containing information such as gender and age. When entering the laboratory, the observers were asked to put on a gray lab coat to prevent reflections from the clothes and the color of the clothes from interfering with judgment, and were asked to turn off light-emitting devices such as mobile phones.

[0203] 3) During the experiment, the experimenter will change the types of fresh food and the light sources in the specified order. The observer needs to record the evaluation of the freshness of the fresh food in each experimental scenario in the experimental record sheet according to the evaluation rules specified in the experiment. The evaluation rules are as follows:

[0204] The seven-level evaluation system is used, with -3 points for very unfresh food and +3 points for very fresh food. The larger the number, the fresher the color of the fresh food under the current experimental light source. After the observer observes the fresh food in the light box for a period of time, the observer can make a corresponding score.

[0205] 4) Before each experiment begins, the experimenter will orally introduce the experimental situation. During the experiment, the observer will observe the color of the fresh food under the corresponding light source and make a freshness evaluation, and then close his eyes until the experimenter replaces the next set of fresh food and experimental light sources. The observer will observe again for a period of time and make a freshness evaluation, and repeat this step until the last set of experimental scenes. It should be noted that there are 88 sets of experimental scenes in the pork freshness experiment, and 80 sets of experimental scenes in the chilled, fruit, and bread freshness experiments, totaling 328 sets of experimental scenes.

[0206] 5) After the experiment, the freshness evaluation scores of all observers are counted to calculate the goodness of fit R between the subjective evaluation value and the freshness prediction estimate value constructed by the present invention. 2 And the correlation coefficient R, the experimental results are shown in Table 2, Table 3, Table 4, Table 5 below, where the larger the value, the higher the freshness score under the lighting source.

[0207] Table 2 Experimental results of subjective evaluation of pork freshness in the embodiment

[0208]

[0209]

[0210]

[0211] Table 3 Experimental results of subjective evaluation of fruit freshness in the examples

[0212]

[0213]

[0214]

[0215] Table 4 Experimental results of subjective evaluation of bread freshness in the examples

[0216]

[0217]

[0218]

[0219] Table 5 Experimental results of subjective evaluation of chilled freshness in the examples

[0220]

[0221]

[0222] Through the above psychophysical experiment, the observer's subjective evaluation value of freshness under different light sources can be obtained, and the goodness of fit R between the subjective evaluation value and the freshness prediction estimation value M constructed by the present invention can be further calculated. 2 and the correlation coefficient R, as shown in Table 6 below. The results show that the goodness of fit between the subjective evaluation value and the model estimation value is R 2 The correlation coefficients R are 0.868, 0.898, 0.881 and 0.888 respectively, which proves that the freshness prediction model M based on the light source spectral chromaticity coordinates constructed by the present invention has extremely high accuracy, and further proves that the method of the present invention has strong technical advantages in freshness prediction.

[0223] Table 6 Goodness of fit R between subjective evaluation values ​​and model estimation values 2 and the correlation coefficient R

[0224] pork fruit bread Chilled <![CDATA[Goodness-of-fit R 2 > 0.754 0.806 0.776 0.788 Correlation coefficient R 0.868 0.898 0.881 0.888

[0225] Therefore, the present invention relies on the chromaticity coordinates of the light source spectrum and uses the freshness estimation model to achieve a comprehensive and accurate prediction and evaluation of the freshness of fresh produce to be displayed under different lighting sources.

[0226] The present application also provides a fresh produce freshness prediction system. Figure 2 FIG. 2 shows a freshness prediction system 200 according to this embodiment, which corresponds to the method described above. Figure 2 As shown, the freshness prediction system 200 includes:

[0227] Fresh food category determination module 210, used to determine whether the category of fresh food to be displayed belongs to the preset fresh food category range;

[0228] The spectral power distribution determination module 220 is used to determine the spectral power distribution information of the target light source when the type of the fresh food to be displayed belongs to the preset fresh food type range; wherein the target light source is the lighting light source of the fresh food to be displayed;

[0229] A chromaticity coordinate calculation module 230, configured to calculate the chromaticity coordinates of the target light source in a CIE1931XYZ color space based on the spectral power distribution information;

[0230] The chromaticity coordinate determination module 240 is used to determine whether the chromaticity coordinate of the target light source is within a preset chromaticity coordinate range; different types of fresh produce are preset with different chromaticity coordinate ranges;

[0231] The freshness prediction module 250 is used to input the chromaticity coordinates of the target light source into a pre-constructed freshness estimation model when the chromaticity coordinates of the target light source fall within the preset chromaticity coordinate range, and determine the estimated freshness value of the fresh food to be displayed when the target light source is used to illuminate the fresh food to be displayed.

[0232] The present application also provides an electronic device, Figure 3 An electronic device 300 according to this embodiment is shown, and the electronic device 300 corresponds to the above method. Figure 3 As shown, the electronic device 300 includes: a memory 310 and a processor 320, wherein the memory 310 and the processor 320 are coupled; the memory 310 stores program instructions, and when the program instructions are executed by the processor 320, the electronic device 300 executes any of the methods described above.

[0233] The present application also provides a computer-readable storage medium, characterized in that it includes a computer program, and when the computer program is run on an electronic device, the electronic device executes the method of any of the above embodiments.

[0234] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.

[0235] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0236] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.

[0237] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

[0238] It should also be noted that in the apparatus, equipment and method of the present disclosure, each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present disclosure. The above description of the disclosed aspects is provided to enable any technician in the field to make or use the present disclosure. Various modifications to these aspects are very obvious to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown here, but to the widest scope consistent with the principles and novel features disclosed herein.

[0239] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A method for predicting freshness of fresh food, characterized in that: The method comprises: Determine whether the type of fresh food to be displayed falls within the preset range of fresh food types; When the type of fresh food to be displayed belongs to the preset fresh food type range, the spectral power distribution information of the target light source is determined; wherein the target light source is the lighting light source of the fresh food to be displayed; Based on the spectral power distribution information, calculating the chromaticity coordinates of the target light source in the CIE1931XYZ color space; Determine whether the chromaticity coordinates of the target light source are within a preset chromaticity coordinate range; wherein different types of fresh produce are preset with different chromaticity coordinate ranges; When the chromaticity coordinates of the target light source fall within the preset chromaticity coordinate range, the chromaticity coordinates of the target light source are input into a pre-constructed food freshness estimation model to determine an estimated value of the freshness of the food to be displayed when the target light source is used to illuminate the food to be displayed.

2. The method according to claim 1, characterized in that: The determining whether the chromaticity coordinates of the target light source are within a preset chromaticity coordinate range includes: Determine whether the chromaticity coordinates of the target light source are within a first threshold ellipse; or It is determined whether the chromaticity coordinates of the target light source are within a second threshold ellipse.

3. The method according to claim 1, characterized in that: The pre-built freshness estimation model is expressed as follows: M=p00+p10*x+p01*y+p20*x 2 +p11*x*y+p02*y 2 +p30*x 3 +p21*x 2 *y+p12*x*y 2 +p03*y 3 ; Wherein, M is the estimated value of the freshness of the fresh food to be displayed; x and y are the chromaticity coordinates of the target light source; p00, p10, p01, p20, p11, p02, p30, p21, p12 and p03 are the coefficients of the freshness estimation model, and the coefficients of the freshness estimation model corresponding to different types of fresh food are different.

4. The method according to claim 3, characterized in that When the type of fresh food to be displayed is pork, the coefficients of the fresh food freshness estimation model are as follows: p00=-92.0611; p10=1.3287×10 3 ; p01=-543.3958; p20=-7.3660×10 3 ; p11=6.5221×10 3 ; p02=-1.2579×10 3 ; p30=1.4893×10 4 ; p21=-2.3517×10 4 ; p12=1.4805×10 4 ; p03=-4.4267×10 3 ; When the type of fresh produce to be displayed is fruit, the coefficients of the fresh produce freshness estimation model are as follows: p00=-179.1639; p10=169.0017; p01=1.3258×10 3 ; p20=-5.7054×10 3 ; p11=1.0726×10 4 ; p02=-9.0307×10 3 ; p30=3.6923×10 3 ; p21=4.0503×10 3 ; p12=-1.8577×10 4 ; p03=1.4295×10 4 ; When the type of fresh food to be displayed is bread, the coefficients of the fresh food freshness estimation model are as follows: p00=-87.1310; p10=1.1077×10 3 ; p01=-450.6800; p20=-4.7350×10 3 ; p11=3.0825×10 3 ; p02=118.4537; p30=2.4406×10 3 ; p21=4.4858×10 3 ; p12=-6.9504×10 3 ; p03=1.1054×10 3 ; When the type of fresh food to be displayed is chilled, the coefficients of the fresh food freshness estimation model are as follows: p00=-92.4147; p10=902.7643; p01=-191.4892; p20=-5.5903×10 3 ; p11=6.2958×10 3 ; p02=-2.3165×10 3 ; p30=-38.9609; p21=1.4339×10 4 ; p12=-2.2192×10 4 ; p03=8.8500×10 3 。 5. The method according to claim 2, characterized in that: When the type of fresh food to be displayed is pork, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows: E1:2.7325168211306x 2 -4.91220823508485xy+ <h2 style=";text-align:left;direction:ltr">2.70283748957492y<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -0.226448358637118x- 0.127996987303546y+0.0592185694625837≤0; <h2 style=";text-align:left;direction:ltr">E2: 6.88575096900157x<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -4.79165461846818xy+ 3.17444924300464y 2 -2.76630930634942x-0.535524472951428y+0.510478931399814≤0; When the type of fresh food to be displayed is fruit, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows: <h2 style=";text-align:left;direction:ltr">E1: 3.48130638761296x<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -5.75931122868009xy+ <h2 style=";text-align:left;direction:ltr">5.09951857364944y<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -0.449071759527241x-1.48151136473554y+0.324379599412055≤0; <h2 style=";text-align:left;direction:ltr">E2: 1.67012171955429x<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -1.23244031663104xy+ 1.40239910226931y 2 -0.640281024548714x-0.5309525177306y+0.185058227994021≤0; When the type of fresh food to be displayed is bread, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows: E1:1.44231274550301x 2 -3.46550758681536xy+ <h2 style=";text-align:left;direction:ltr">2.70991358549663y<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> +0.188563568322975x- 0.644991121326583y+0.074216757913488≤0; <h2 style=";text-align:left;direction:ltr">E2: 2.16900907259143x<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -2.97438502569708xy+ <h2 style=";text-align:left;direction:ltr">1.69734472216539y<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -0.41351674877674x-0.152773289190381y+0.0887567882064757≤0; When the type of fresh food to be displayed is chilled food, the equations of the first threshold ellipse E1 and the second threshold ellipse E2 are as follows: <h2 style=";text-align:left;direction:ltr">E1: 3.74305989909612x<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -5.27260842960863xy+ <h2 style=";text-align:left;direction:ltr">4.77270776183139y<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -0.689477515100031x-1.457156229954y+ 0.34878658053663≤0; <h2 style=";text-align:left;direction:ltr">E2: 4.01435336845066x<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -5.50034003569432xy+ <h2 style=";text-align:left;direction:ltr">6.04808146549638y<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> -0.711510284068755x-2.20335092506117y+0.46198741582882≤0; Wherein, x and y are the chromaticity coordinates of the target light source.

6. The method according to claim 1, characterized in that The calculating the chromaticity coordinates of the target light source in the CIE1931XYZ color space based on the spectral power distribution information includes: Based on the wavelength band information within the range of 400nm-700nm in the spectral power distribution information, the chromaticity coordinates of the target light source are calculated in the CIE1931XYZ color space.

7. A freshness prediction system for fresh produce, characterized in that: The system comprises: A fresh food category determination module is used to determine whether the type of fresh food to be displayed belongs to the preset fresh food category range; A spectral power distribution determination module, used to determine the spectral power distribution information of the target light source when the type of the fresh food to be displayed belongs to the preset fresh food type range; wherein the target light source is the lighting light source of the fresh food to be displayed; A chromaticity coordinate calculation module, used to calculate the chromaticity coordinates of the target light source in the CIE1931XYZ color space based on the spectral power distribution information; A chromaticity coordinate judgment module, used to judge whether the chromaticity coordinate of the target light source is within a preset chromaticity coordinate range; wherein different types of fresh produce are preset with different chromaticity coordinate ranges; The freshness prediction module is used to input the chromaticity coordinates of the target light source into a pre-constructed freshness estimation model when the chromaticity coordinates of the target light source fall within the preset chromaticity coordinate range, and determine the estimated freshness value of the fresh food to be displayed when the target light source is used to illuminate the fresh food to be displayed.

8. An electronic device, characterized in that: The electronic device comprises: a memory and a processor, wherein the memory and the processor are coupled; the memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The method comprises a computer program, which, when executed on an electronic device, enables the electronic device to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Baking food-oriented exhibition illumination light quality evaluation method and system

    CN113483888A

  • Fresh meat freshness-oriented fresh illumination light quality evaluation method and system

    CN114993630A

  • Food preshness-judging device

    JP1995167780A

  • Freshness determining method using digital camera image data

    JP2016085117A

  • Method for evaluating light source and illumination device

    JP2020051878A

Cited By

  • Color light source evaluation method, apparatus and computer device

    WO2026130333A1