A food freshness recognition system based on vector vortex light detection and its application
Through the food freshness identification system based on vector vortex light, vector vortex light imaging and polarization degree calculation are used to solve the problems of high misjudgment rate, high cost and complex device in the existing technology, and achieve efficient and accurate food freshness and economic identification and determination.
Patent Information
- Application Number
- CN202210738924.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing food freshness identification methods, such as electronic nose method, spectroscopy method, machine vision method and polarization image sensing method, have problems such as high misjudgment rate, high cost, complex device, low measurement efficiency, etc., making it difficult to achieve high accuracy. and low-cost food freshness judgment.
A food freshness identification system based on vector vortex light is adopted, using vector vortex light generation device, image sensing detection device and data processing device, through vector vortex light imaging and polarization degree calculation, to achieve intelligent identification and determination of food freshness, reducing the cost of food freshness. System cost and algorithm difficulty simplify the detection process.
It achieves efficient identification and determination of food freshness, reduces system costs and algorithm complexity, improves identification efficiency and reliability, and avoids errors caused by multiple imaging and light spot offsets, making it suitable for system integration and promotion.
Smart Images

Figure CN114965373B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a food freshness identification system based on vector vortex light detection and application thereof, belonging to the field of food safety and dietary health. Background Art
[0002] Intelligent identification of food freshness can help improve the quality of life of people, especially those who are busy at work or lack life experience. And unified inspection standards are conducive to avoiding misjudgment. At present, the commonly used methods for identifying food freshness are electronic nose method, spectral method, machine vision method, and polarization image sensing method. Among them, the electronic nose method is mature and widely used, but it is easily affected by other residual odors and odors between foods, resulting in misjudgment. The spectral method has high accuracy, but the required spectrometer is expensive, not suitable for system integration, and increases the cost, which is not conducive to its promotion. The machine vision method refers to using a camera to image food, and extracting feature modules by denoising and enhancing the image, comparing it with the database, and judging its current freshness. However, this method requires high imaging equipment requirements and complex algorithms, and it is difficult to achieve high-accuracy food freshness judgment. The polarization image sensing method is relatively simple in algorithm, but it requires additional polarized light source. During the measurement process, it is necessary to adjust the angle of the polarizer several times, change the angle between the analyzer and the polarizer to measure the corresponding light intensity, and then obtain the polarization degree of the scattered light of the food to be tested, which makes the device complex and the measurement efficiency low. Summary of the invention
[0003] The purpose of the present invention is to provide a food freshness identification system based on vector vortex light detection and its application. The food freshness identification system uses vector vortex light as a light source, has low cost, high reliability, simple algorithm and high identification efficiency.
[0004] The technical method adopted by the present invention to achieve its invention purpose is a food freshness identification system based on vector vortex light detection, the system includes a vector vortex light generating device, an image sensing detection device and a data processing device;
[0005] The vector vortex light generating device comprises a light source, a polarizer and a spiral phase plate, and is used to generate vector vortex light and illuminate the area where the food to be tested is placed;
[0006] The image sensing detection device includes a CMOS image sensor and a polarizer, which are used to image the area where the food to be tested is placed;
[0007] The data processing device processes the image obtained by the image sensing device to obtain the storage time of each food to be tested;
[0008] The data processing device includes a database module, a food identification module, a polarization degree calculation module and a food storage time calculation module;
[0009] The database module stores fitting curves of the polarization degree of scattered light of different types of food and the storage time of the food;
[0010] The food recognition module segments the image obtained by the image sensing device to obtain an image of each food to be tested, and identifies the type of each food to be tested;
[0011] The polarization degree calculation module calculates the polarization degree P of the scattered light of the food to be tested according to the image of the food to be tested obtained by the food recognition module. The specific method is as follows: the polarization degree calculation module divides the image of the food to be tested into I0 area, I 45 Region I 90 Region I 135 region, integrate the grayscale values of each region, and obtain the light intensities I0 and I 45 ,I 90 ,I 135 , through I0, I 45 ,I 90 ,I 135 Calculate the Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested, and further calculate the polarization degree P of the scattered light of the food to be tested;
[0012] The food storage time calculation module calculates the food storage time of the food to be tested according to the polarization degree P of the scattered light of the food to be tested. The specific method is as follows: the food storage time calculation module calls the fitting curve of the polarization degree of the scattered light of the food to be tested and the food storage time in the database module according to the type of food to be tested, and then calculates the food storage time of the food to be tested according to the polarization degree P of the scattered light of the food to be tested.
[0013] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention uses vector vortex light as a light source, and can obtain the polarization degree of scattered light of the food to be tested by imaging at one time, effectively reducing the cost and algorithm difficulty of the entire system, simplifying the complexity of the detection system, and avoiding multiple imaging at different angles and increasing the time for device operation and processing, with high reliability, simple algorithm, and fast recognition and processing speed. Moreover, the system of the present invention can realize intelligent recognition and freshness judgment of the food to be tested at one time through the database module, food recognition module, polarization degree calculation module and food storage time calculation module of the data processing device, and has high measurement efficiency.
[0014] Furthermore, the polarization degree calculation module of the present invention divides the food image to be tested into I0 area, I 45 Region I 90 Region I 135The specific method of the area is as follows: the angle in the image of the food to be tested that is consistent with the angle of the analyzer is recorded as 0°, the area consisting of x° on the left and right sides of 0° is the I0 area, and the area consisting of x° on the left and right sides of the image that is 45° different from the analyzer angle is the I 45 The area is 90° away from the analyzer angle, and the area of x° on both sides is I 90 The area is 135° away from the analyzer angle, and the area of x° on both sides is I 135 Area; where x = 0.5-5.
[0015] Furthermore, in the present invention, when x=1, the area of the food image to be tested that differs from the analyzer angle by -1° to 1° is the I0 area, and the area that differs from the analyzer angle by 44° to 46° is the I 45 The area with an angle difference of 89°-91° from the analyzer is I 90 The area with a difference of 134°-136° from the analyzer angle is I 135 area.
[0016] Furthermore, the polarization degree calculation module of the present invention is configured to calculate the polarization degree by I0, I 45 ,I 90 ,I 135 The specific method for calculating the Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested and further calculating the polarization degree P of the scattered light of the food to be tested is:
[0017] First, according to I0, I 45 ,I 90 ,I 135 Calculate the Stokes component of the vector vortex light scattered by the food to be tested: S0 = I0 + I 90 、S1=I0-I 90 、S2=I 45 -I 135 , and then the polarization degree P of the scattered light of the food to be tested can be obtained from the above Stokes component:
[0018]
[0019] Furthermore, the topological core value corresponding to the spiral phase plate described in the present invention is 1.
[0020] Furthermore, the light source of the present invention is an LED light source, a halogen lamp, a HeNe laser, a solid laser or a fiber laser.
[0021] Furthermore, the number of the vector vortex light generating devices and the image sensing detection devices described in the present invention are N, where N≥2. During measurement, each vector vortex light generating device illuminates the area where the food to be tested is placed, and each image sensing detection device images the area where the food to be tested is placed. The data processing device processes the images obtained by the N image sensing detection devices to obtain the storage time of each food to be tested.
[0022] Through multilateral vector vortex light irradiation, imaging the entire food object can effectively avoid the freshness judgment error caused by the light spot offset caused by the movement and deflection of food, and reduce the impact of food movement on freshness judgment.
[0023] Furthermore, the polarizer angles of the N vector vortex light generating devices of the present invention correspond to the topological core values corresponding to the spiral phase plate; the analyzer angles of the N image sensing detection devices are the same;
[0024] In the process of the data processing device processing the image obtained by the image sensing device, the light intensities I0 and I 45 ,I 90 ,I 135 The method of obtaining is as follows: the polarization degree calculation module divides the N images of the food to be tested into I0 area, I 45 Region I 90 Region I 135 The grayscale values of each area are integrated, and the grayscale integral values of the corresponding areas in N images are added to obtain the light intensities I0 and I 45 ,I 90 ,I 135 .
[0025] Furthermore, the arrangement positions of the vector vortex light generating device and the image sensing detection device described in the present invention are: with the center point of the area to be tested being the vertex of the angle, with the ray connecting the center point of the area to be tested and each vector vortex light generating device being the side of the angle, and the angle between every two vector vortex light generating devices being 360° / N; with the center point of the area to be tested being the vertex of the angle, with the ray connecting the center point of the area to be tested and each image sensing detection device being the side of the angle, and the angle between every two image sensing detection devices being 360° / N.
[0026] The present invention achieves its purpose and also discloses the application of the above-mentioned food freshness identification system based on vector vortex light detection in a refrigerator. The food freshness identification system of the present invention is installed in the refrigerator compartment, and the vector vortex light generating device and the image sensing detection device are installed on the side wall of the refrigerator compartment. When the food freshness identification system is working, the vector vortex light generating device emits vector vortex light to illuminate the food to be tested placed on each partition of the refrigerator compartment, and the image sensing detection device images all the food to be tested placed on each partition. The data processing device processes the image obtained by the image sensing detection device to obtain the storage time of each food to be tested placed on the partition, thereby realizing the identification of the freshness of the food to be tested on the partition of the refrigerator compartment.
[0027] The present invention is further described in detail below through specific implementation modes and accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 Schematic diagram of vector vortex light of the present invention.
[0029] Figure 2 It is a schematic diagram of the scattered light area division of the vector vortex light of the present invention.
[0030] Figure 3 Schematic diagram of the overall structure of the food freshness identification system according to Example 1 of the present invention.
[0031] Figure 4 Schematic diagram of the overall structure of the food freshness identification system according to Embodiment 2 of the present invention.
[0032] Figure 5 This is a schematic diagram of the food freshness identification system according to Embodiment 2 of the present invention applied to a refrigerator. DETAILED DESCRIPTION
[0033] A food freshness identification system based on vector vortex light detection comprises a vector vortex light generating device, an image sensing detection device and a data processing device.
[0034] The vector vortex light generating device comprises a light source, a polarizer and a spiral phase plate, and is used to generate vector vortex light and illuminate the area where the food to be tested is placed; the vector vortex light is a non-uniform polarized light, and the polarization state on the cross section of the light beam is not uniformly distributed, but changes with the spatial distribution. Figure 1 Schematic diagram of vector vortex light.
[0035] The image sensing detection device comprises a CMOS image sensor and a polarizer, and is used to image the area where the food to be detected is placed.
[0036] The data processing device processes the images obtained by the image sensing detection device to obtain the storage time of each food to be tested.
[0037] The data processing device comprises a database module, a food identification module, a polarization degree calculation module and a food storage time calculation module.
[0038] The database module stores fitting curves of the polarization degree of scattered light of different types of food and the storage time of the food.
[0039] The food recognition module segments the image obtained by the image sensing device to obtain an image of each food to be tested, and uses an object intelligent recognition technology based on a neural network to identify the type of each food to be tested.
[0040] The polarization degree calculation module calculates the polarization degree P of scattered light of each food to be tested according to the image of each food to be tested obtained by the food recognition module. The specific method is as follows: Taking the image of one of the food to be tested as an example, the polarization degree calculation module divides the image of the food to be tested into I0 area, I 45 Region I 90 Region I 135 region, integrate the grayscale values of each region, and obtain the light intensities I0 and I 45 ,I 90 ,I 135 , through I0, I 45 ,I 90 ,I 135 Calculate the Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested, and further calculate the polarization degree P of the scattered light of the food to be tested, wherein preferably, the polarization degree calculation module divides the image of the food to be tested into I0 area, I 45 Region I 90 Region I 135 The specific method of the area is as follows: the angle in the image of the food to be tested that is consistent with the angle of the analyzer is recorded as 0°, the area consisting of x° on the left and right sides of 0° is the I0 area, and the area consisting of x° on the left and right sides of the image that is 45° different from the analyzer angle is the I 45 The area is 90° away from the analyzer angle, and the area of x° on both sides is I 90 The area is 135° away from the analyzer angle, and the area of x° on both sides is I 135 Area; where x = 0.5-5.
[0041] The food storage time calculation module calculates the food storage time of each food to be tested according to the polarization degree P of the scattered light of each food to be tested. The specific method is as follows: taking the image of one of the foods to be tested as an example, the food storage time calculation module calls the fitting curve of the polarization degree of the scattered light of the food to be tested and the food storage time in the database module according to the type of food to be tested identified by the food recognition module, and then calculates the food storage time of the food to be tested according to the polarization degree P of the scattered light of the food to be tested.
[0042] More preferably, x=1, the area of the food image to be tested that differs from the analyzer angle by -1° to 1° is the I0 area, and the area that differs from the analyzer angle by 44° to 46° is the I 45 The area with an angle difference of 89°-91° from the analyzer is I 90 The area with a difference of 134°-136° from the analyzer angle is I 135 area.
[0043] Figure 2 Schematic diagram of the scattered light area division of the vector vortex light of the present invention, in which area A is the I0 area and area B is the I 45 Area, C area is I 90 Area, D area is I 135 area.
[0044] Preferably, the polarization degree calculation module is configured by I0, I 45 ,I 90 ,I 135 The specific method for calculating the Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested and further calculating the polarization degree P of the scattered light of the food to be tested is:
[0045] First, according to I0, I 45 ,I 90 ,I 135 Calculate the Stokes component of the vector vortex light scattered by the food to be tested: S0 = I0 + I 90 、S1=I0-I 90 、S2=I 45 -I 135 , and then the polarization degree P of the scattered light of the food to be tested can be obtained from the above Stokes component:
[0046]
[0047] Preferably, the topological core value corresponding to the spiral phase plate is 1.
[0048] Preferably, the light source is an LED light source, a halogen lamp, a HeNe laser, a solid laser or a fiber laser.
[0049] Preferably, the number of the vector vortex light generating devices and the image sensing detection devices described in the present invention are N, where N≥2. During measurement, each vector vortex light generating device illuminates the area where the food to be tested is placed, and each image sensing detection device images the area where the food to be tested is placed. The data processing device processes the images obtained by the N image sensing detection devices to obtain the storage time of each food to be tested.
[0050] Through multilateral vector vortex light irradiation, imaging the entire food object can effectively avoid the freshness judgment error caused by the light spot offset caused by the movement and deflection of food, and reduce the impact of food movement on freshness judgment.
[0051] More preferably, the polarizer angles of the N vector vortex light generating devices of the present invention correspond to the topological core values corresponding to the spiral phase plate; the analyzer angles of the N image sensing detection devices are the same;
[0052] In the process of the data processing device processing the image obtained by the image sensing device, the light intensities I0 and I 45 ,I 90 ,I 135 The method of obtaining is as follows: the polarization degree calculation module divides the N images of the food to be tested into I0 area, I 45 Region I 90 Region I 135 The grayscale values of each area are integrated, and the grayscale integral values of the corresponding areas in N images are added to obtain the light intensities I0 and I 45 ,I 90 ,I 135 .
[0053] Each image sensing device images the area where the food to be tested is placed, and obtains N images of the food area to be tested. The food recognition module processes the N images, segments the image of the food to be tested from each image, and identifies the type of each food to be tested. Then, each food to be tested will have N images. Taking one of the foods to be tested as an example, the polarization calculation module divides the N images of the food to be tested into I0 area, I 45 Region I 90 Region I 135 The grayscale values of each area are integrated, and the grayscale integral values of the corresponding areas in N images are added to obtain the light intensity I0, I 45 ,I 90 ,I 135 .
[0054] Preferably, the arrangement positions of the vector vortex light generating device and the image sensing detection device described in the present invention are: with the center point of the food area to be tested being the vertex of the angle, with the ray connecting the center point of the food area to be tested and each vector vortex light generating device being the side of the angle, and the angle between every two vector vortex light generating devices being 360° / N; with the center point of the food area to be tested being the vertex of the angle, with the ray connecting the center point of the food area to be tested and each image sensing detection device being the side of the angle, and the angle between every two image sensing detection devices being 360° / N.
[0055] The above-mentioned food freshness recognition system based on vector vortex light detection can be applied to a refrigerator to recognize the freshness of food in the refrigerator.
[0056] Example 1
[0057] A food freshness identification system based on vector vortex light detection, the system comprising a vector vortex light generating device, an image sensing detection device and a data processing device. In this example, there is only one vector vortex light generating device and one image sensing detection device.
[0058] The vector vortex light generating device comprises a light source, a polarizer and a spiral phase plate, and is used to generate vector vortex light to illuminate an area where food to be tested is placed.
[0059] The image sensing detection device comprises a CMOS image sensor and a polarizer, and is used to image the area where the food to be detected is placed.
[0060] The data processing device processes the images obtained by the image sensing detection device to obtain the storage time of each food to be tested.
[0061] The data processing device comprises a database module, a food identification module, a polarization degree calculation module and a food storage time calculation module.
[0062] The database module stores fitting curves of the polarization degree of scattered light of different types of food and the storage time of the food.
[0063] The food recognition module segments the image obtained by the image sensing device to obtain an image of each food to be tested, and uses an object intelligent recognition technology based on a neural network to identify the type of each food to be tested.
[0064] Figure 3Schematic diagram of the overall structure of the food freshness identification system in this example, in which 1.1 is a light source, 1.2 is a polarizer, 1.3 is a spiral phase plate, 2.1 is a CMOS image sensor, 2.2 is an analyzer, and 3.0 is a data processing device. In this example, the line connecting the light source 1.1 and the center of the food area to be tested is recorded as the incident line segment, and the line connecting the center of the food area to be tested and the CMOS image sensor 2.1 is recorded as the reflection line segment, and the angle between the incident line segment and the reflection line segment is 20°-70°.
[0065] The polarization degree calculation module calculates the polarization degree P of the scattered light of the food to be tested according to the image of the food to be tested obtained by the food recognition module. The specific method is as follows: the polarization degree calculation module divides the image of the food to be tested into I0 area, I 45 Region I 90 Region I 135 region, integrate the grayscale values of each region, and obtain the light intensities I0 and I 45 ,I 90 ,I 135 , through I0, I 45 ,I 90 ,I 135 The Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested is calculated, and the polarization degree P of the scattered light of the food to be tested is further calculated.
[0066] The food storage time calculation module calculates the food storage time of the food to be tested according to the polarization degree P of the scattered light of the food to be tested. The specific method is as follows: the food storage time calculation module calls the fitting curve of the polarization degree of the scattered light of the food to be tested and the food storage time in the database module according to the type of food to be tested, and then calculates the food storage time of the food to be tested according to the polarization degree P of the scattered light of the food to be tested.
[0067] In this example, the polarization degree calculation module divides the food image to be tested into I0 area, I 45 Region I 90 Region I 135 The specific method of the area is: the area with a difference of -1°-1° from the analyzer angle in the food image to be tested is the I0 area, and the area with a difference of 44°-46° from the analyzer angle is the I 45 The area with an angle difference of 89°-91° from the analyzer is I 90 The area with a difference of 134°-136° from the analyzer angle is I 135 area.
[0068] In this example, the polarization degree calculation module uses I0, I 45 ,I 90 ,I 135The specific method for calculating the Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested and further calculating the polarization degree P of the scattered light of the food to be tested is:
[0069] First, according to I0, I 45 ,I 90 ,I 135 Calculate the Stokes component of the vector vortex light scattered by the food to be tested: S0 = I0 + I 90 、S1=I0-I 90 、S2=I 45 -I 135 , and then the polarization degree P of the scattered light of the food to be tested can be obtained from the above Stokes component:
[0070]
[0071] In this example, the topological core value corresponding to the spiral phase plate is 1.
[0072] The light source in this example is an LED light source, a halogen lamp, a HeNe laser, a solid laser or a fiber laser.
[0073] The above-mentioned food freshness recognition system based on vector vortex light detection can be applied to a refrigerator to recognize the freshness of food in the refrigerator.
[0074] Example 2
[0075] A food freshness identification system based on vector vortex light detection, the system comprising a vector vortex light generating device, an image sensing detection device and a data processing device;
[0076] The vector vortex light generating device comprises a light source, a polarizer and a spiral phase plate, and is used to generate vector vortex light to illuminate an area where food to be tested is placed.
[0077] The image sensing detection device comprises a CMOS image sensor and a polarizer, and is used to image the area where the food to be detected is placed.
[0078] The data processing device processes the images obtained by the image sensing detection device to obtain the storage time of each food to be tested.
[0079] The data processing device comprises a database module, a food identification module, a polarization degree calculation module and a food storage time calculation module.
[0080] The database module stores fitting curves of the polarization degree of scattered light of different types of food and the storage time of the food.
[0081] The food recognition module segments the image obtained by the image sensing device to obtain an image of each food to be tested, and uses an object intelligent recognition technology based on a neural network to identify the type of each food to be tested.
[0082] The polarization degree calculation module calculates the polarization degree P of the scattered light of the food to be tested according to the image of the food to be tested obtained by the food recognition module. The specific method is as follows: the polarization degree calculation module divides the image of the food to be tested into I0 area, I 45 Region I 90 Region I 135 region, integrate the grayscale values of each region, and obtain the light intensities I0 and I 45 ,I 90 ,I 135 , through I0, I 45 ,I 90 ,I 135 The Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested is calculated, and the polarization degree P of the scattered light of the food to be tested is further calculated.
[0083] The food storage time calculation module calculates the food storage time of the food to be tested according to the polarization degree P of the scattered light of the food to be tested. The specific method is as follows: the food storage time calculation module calls the fitting curve of the polarization degree of the scattered light of the food to be tested and the food storage time in the database module according to the type of food to be tested, and then calculates the food storage time of the food to be tested according to the polarization degree P of the scattered light of the food to be tested.
[0084] In this example, the polarization degree calculation module divides the food image to be tested into I0 area, I 45 Region I 90 Region I 135 The specific method of the area is: the area with a difference of -1°-1° from the analyzer angle in the food image to be tested is the I0 area, and the area with a difference of 44°-46° from the analyzer angle is the I 45 The area with an angle difference of 89°-91° from the analyzer is I 90 The area with a difference of 134°-136° from the analyzer angle is I 135 area.
[0085] In this example, the polarization degree calculation module uses I0, I 45 ,I 90 ,I 135 The specific method for calculating the Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested and further calculating the polarization degree P of the scattered light of the food to be tested is:
[0086] First, according to I0, I 45 ,I 90 ,I135 Calculate the Stokes component of the vector vortex light scattered by the food to be tested: S0 = I0 + I 90 、S1=I0-I 90 、S2=I 45 -I 135 , and then the polarization degree P of the scattered light of the food to be tested can be obtained from the above Stokes component:
[0087]
[0088] In this example, the topological core value corresponding to the spiral phase plate is 1.
[0089] The light source in this example is an LED light source, a halogen lamp, a HeNe laser, a solid laser or a fiber laser.
[0090] In this example, there are N vector vortex light generating devices and N=2 image sensing detection devices. During measurement, each vector vortex light generating device illuminates the area where the food to be tested is placed, and each image sensing detection device images the area where the food to be tested is placed. The data processing device processes the images obtained by the N image sensing detection devices to obtain the storage time of each food to be tested.
[0091] In this example, the polarizer angles of the N vector vortex light generating devices correspond to the topological core values corresponding to the spiral phase plate; the analyzer angles of the N image sensing detection devices are the same;
[0092] In the process of the data processing device processing the image obtained by the image sensing device, the light intensities I0 and I 45 ,I 90 ,I 135 The method of obtaining is as follows: the polarization degree calculation module divides the N images of the food to be tested into I0 area, I 45 Region I 90 Region I 135 The grayscale values of each area are integrated, and the grayscale integral values of the corresponding areas in N images are added to obtain the light intensities I0 and I 45 ,I 90 ,I 135 .
[0093] The arrangement positions of the vector vortex light generating device and the image sensing detection device in this example are: with the center point of the area where the food to be tested is placed as the vertex of the angle, with the ray connecting the center point of the area where the food to be tested is placed and each vector vortex light generating device as the side of the angle, the angle between the two vector vortex light generating devices is 180°, and the two vector vortex light generating devices are respectively arranged on both sides of the area where the food to be tested is placed; with the center point of the area where the food to be tested is placed as the vertex of the angle, with the ray connecting the center point of the area where the food to be tested is placed and each image sensing detection device as the side of the angle, the angle between every two image sensing detection devices is 180°, and the two image sensing detection devices are respectively located on the upper left side and the lower right side of the area where the food to be tested is placed.
[0094] Figure 4 Schematic diagram of the overall structure of the food freshness identification system of this example, in which 1.1 is the light source, 1.2 is the polarizer, 1.3 is the spiral phase plate, 2.1 is the CMOS image sensor, 2.2 is the analyzer, and 3.0 is the data processing device.
[0095] The above-mentioned food freshness identification system based on vector vortex light detection can be applied to refrigerators to identify the freshness of food in the refrigerator. The food freshness identification system of the present invention is installed in the refrigerator's cold storage room, and two vector vortex light generating devices are respectively arranged on the left and right sides of the refrigerator's cold storage room, one is arranged in the upper left corner of the refrigerator's cold storage room, and the other image sensor detection device is arranged in the lower right corner of the refrigerator's cold storage room. The distribution of the vector vortex light generating device and the image sensor detection device in the refrigerator's cold storage room is as follows: Figure 5 As shown, in the figure, 1.0 is a vector vortex light generating device, and 2.0 is an image sensing detection device.
[0096] When the food freshness identification system is working, two vector vortex light generating devices emit vector vortex light to illuminate the food to be tested placed on each partition of the refrigerating chamber, and two image sensing detection devices image all the food to be tested placed on each partition. The data processing device processes the images obtained by the image sensing detection device to obtain the storage time of each food to be tested placed on the partition, thereby realizing the identification of the freshness of the food to be tested on the partition of the refrigerating chamber.
Claims
1. A food freshness identification system based on vector vortex light detection, characterized in that: The system comprises a vector vortex light generating device, an image sensing detection device and a data processing device; The vector vortex light generating device comprises a light source, a polarizer and a spiral phase plate, and is used to generate vector vortex light and illuminate the area where the food to be tested is placed; The image sensing detection device includes a CMOS image sensor and a polarizer, which are used to image the area where the food to be tested is placed; The data processing device processes the image obtained by the image sensing device to obtain the storage time of each food to be tested; The data processing device includes a database module, a food identification module, a polarization degree calculation module and a food storage time calculation module; The database module stores fitting curves of the polarization degree of scattered light of different types of food and the storage time of the food; The food recognition module segments the image obtained by the image sensing device to obtain an image of each food to be tested, and identifies the type of each food to be tested; The polarization degree calculation module calculates the polarization degree P of the scattered light of the food to be tested according to the image of the food to be tested obtained by the food recognition module. The specific method is as follows: the polarization degree calculation module divides the image of the food to be tested into I0 area, I 45 Region I 90 Region I 135 The specific method is as follows: the angle in the image of the food to be tested that is consistent with the angle of the analyzer is recorded as 0°, the area composed of x° on the left and right sides of 0° is the I0 area, and the area composed of x° on the left and right sides of 45° different from the analyzer angle is the I 45 The area is 90° away from the analyzer angle, and the area of x° on both sides is I 90 The area is 135° away from the analyzer angle, and the area of x° on both sides is I 135 region; where x = 0.5-5; integrate the grayscale values of each region to obtain the light intensities I0 and I corresponding to the food image to be tested 45 ,I 90 ,I 135 , through I0, I 45 ,I 90 ,I 135 Calculate the Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested, and further calculate the polarization degree P of the scattered light of the food to be tested; The food storage time calculation module calculates the food storage time of the food to be tested according to the polarization degree P of the scattered light of the food to be tested. The specific method is as follows: the food storage time calculation module calls the fitting curve of the polarization degree of the scattered light of the food to be tested and the food storage time in the database module according to the type of food to be tested, and then calculates the food storage time of the food to be tested according to the polarization degree P of the scattered light of the food to be tested.
2. The food freshness identification system based on vector vortex light detection according to claim 1 is characterized in that: When x=1, the area in the image of the food to be tested that differs from the analyzer angle by -1° to 1° is the I0 area, and the area that differs from the analyzer angle by 44° to 46° is the I 45 The area with an angle difference of 89°-91° from the analyzer is I 90 The area with a difference of 134°-136° from the analyzer angle is I 135 area.
3. The food freshness identification system based on vector vortex light detection according to claim 1 is characterized in that: The polarization degree calculation module is based on I0, I 45 ,I 90 ,I 135 The specific method for calculating the Stokes component of the scattered light after the vector vortex light is scattered by the food to be tested and further calculating the polarization degree P of the scattered light of the food to be tested is: First, according to I0, I 45 ,I 90 ,I 135 Calculate the Stokes component of the vector vortex light scattered by the food to be tested: S0 = I0 + I 90 、S1=I0-I 90 、S2=I 45 -I 135 , and then the polarization degree P of the scattered light of the food to be tested can be obtained from the above Stokes component:
4. The food freshness identification system based on vector vortex light detection according to claim 1 is characterized in that: The topological core value corresponding to the spiral phase plate is 1.
5. The food freshness identification system based on vector vortex light detection according to claim 1 is characterized in that: The light source is an LED light source, a halogen lamp, a HeNe laser, a solid laser or a fiber laser.
6. The food freshness identification system based on vector vortex light detection according to claim 1 is characterized by: There are N vector vortex light generating devices and N≥2 image sensing detection devices. During measurement, each vector vortex light generating device illuminates the area where the food to be tested is placed, and each image sensing detection device images the area where the food to be tested is placed. The data processing device processes the images obtained by the N image sensing detection devices to obtain the storage time of each food to be tested.
7. The food freshness identification system based on vector vortex light detection according to claim 6 is characterized by: The polarizer angles of the N vector vortex light generating devices correspond to the topological core values corresponding to the spiral phase plate; the analyzer angles of the N image sensing detection devices are the same; In the process of the data processing device processing the image obtained by the image sensing device, the light intensities I0 and I 45 ,I 90 ,I 135 The method of obtaining is as follows: the polarization degree calculation module divides the N images of the food to be tested into I0 area, I 45 Region I 90 Region I 135 The grayscale values of each area are integrated, and the grayscale integral values of the corresponding areas in N images are added to obtain the light intensities I0 and I 45 ,I 90 ,I 135 .
8. The food freshness identification system based on vector vortex light detection according to claim 6 is characterized by: The arrangement positions of the vector vortex light generating device and the image sensing detection device are: with the center point of the area to be tested for placing the food as the vertex of the angle, with the rays connecting the center point of the area to be tested for placing the food and each vector vortex light generating device as the side of the angle, and the angle between every two vector vortex light generating devices is 360° / N; with the center point of the area to be tested for placing the food as the vertex of the angle, with the rays connecting the center point of the area to be tested for placing the food and each image sensing detection device as the side of the angle, and the angle between every two image sensing detection devices is 360° / N.
9. Application of the food freshness identification system based on vector vortex light detection according to any one of claims 1 to 8 in a refrigerator.
Citation Information
Patent Citations
Meat marinating online detection system based on polarization image sensing and application thereof
CN116067891A
