Method, device, medium and equipment for rapidly detecting nitrite concentration

Through the image acquisition and color recognition technology of the portable detection device, data processing is carried out in combination with preset formulas, the problem of low detection efficiency of nitrite concentration in food is solved, fast and accurate detection results are achieved, cost reduction and monitoring is expanded Application scenario.

CN118914183APending Publication Date: 2024-11-08GANNAN MEDICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410959004.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The prior art has low efficiency in nitrite concentration detection in foods, and traditional methods rely on complex laboratory equipment and time-consuming sample processing, limiting portability and increasing analysis costs.

Method used

The portable detection device is adopted to obtain the image of the solution to be tested through the image acquisition module, the color recognition module recognizes the average value of red and blue, and uses preset formulas to perform data processing to achieve rapid analysis of nitrite concentration.

Benefits of technology

It realizes the convenience and realization of the testing process, reduces analysis costs, improves detection efficiency and accuracy, and expands the application scenarios of food safety monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118914183A_ABST
    Figure CN118914183A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a device, a medium and equipment for rapidly detecting the nitrite concentration, relates to the technical field of food detection, and aims to solve the technical problem of low efficiency when the nitrite concentration of food is detected in the prior art. The method is carried out based on a portable detection device. Comprising the following steps: pretreating to-be-detected food to obtain a to-be-detected solution; based on an image acquisition module, acquiring an image of the to-be-detected solution; inputting the image of the solution to be detected into a color recognition module for color recognition to obtain a red average value and a blue average value; inputting the red average value and the blue average value into a data processing module for data processing to obtain an analysis result of nitrite; a preset formula is stored in the data processing module, and the preset formula is a linear relation function, obtained based on a preset experimental method, of the average value of red in the food, the average value of blue in the food and the nitrite concentration in the food.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of food detection technology, and in particular to a method, device, medium and equipment for rapidly detecting nitrite concentration. Background Art

[0002] Nitrite, as a common food preservative and additive, can bind to myoglobin to maintain the freshness and color of meat products, and effectively inhibit the reproduction of microorganisms and reduce the rate of food decay. Therefore, it is widely used in the preparation of meat products. However, excessive intake of nitrite by the human body will quickly bind to hemoglobin to form methemoglobin, which interferes with the body's oxygen transport system; in addition, nitrite can also react with secondary amines in the stomach and intestines to produce carcinogenic nitrosamines. Long-term intake may increase the risk of esophageal cancer, gastric cancer, hypertension, cardiovascular disease and other health risks. Therefore, strict testing of the nitrite content in food is crucial to maintaining human health.

[0003] Spectroscopic instruments such as spectrophotometers and fluorescence spectrometers have gradually become effective tools for nitrite detection. They have the advantages of simple operation, rapid response, and low cost. Among them, colorimetry has attracted widespread attention in the field of nitrite detection due to its rapid, intuitive, and simple measurement characteristics. This method provides a new idea and method for the rapid detection of nitrite in food. Although colorimetry has achieved remarkable results in the field of nitrite ion detection, traditional colorimetry relies on precision instruments, which not only limits its portability but also increases the analysis cost. Given that portable detection devices are gradually developing into a powerful data collection and processing tool, this has inspired researchers to explore more attractive sensing systems. By using the portable detection device camera for image information collection and combining the RGB information of the picture to conduct in-depth analysis and processing of the data, researchers can quickly achieve qualitative and quantitative analysis of the target substance. The data collection and processing scheme based on the portable detection device not only realizes the portability of the detection process, but also significantly improves the detection efficiency, thereby effectively reducing the analysis cost. Summary of the invention

[0004] The present application provides a method, device, medium and equipment for quickly detecting nitrite concentration, which at least solves the technical problem of low efficiency in the prior art when detecting nitrite concentration in food.

[0005] In order to solve the above technical problems, the present application provides a method for quickly detecting nitrite concentration, which is based on a portable detection device; the method comprises the following steps:

[0006] Pre-treating the food to be tested to obtain a solution to be tested;

[0007] Based on the image acquisition module, an image of the solution to be tested is obtained;

[0008] Inputting the image of the solution to be tested into a color recognition module for color recognition to obtain a red average value and a blue average value;

[0009] The red average value input and the blue average value input are input into a data processing module for data processing to obtain an analysis result of nitrite; a preset formula is stored in the data processing module, and the preset formula is a linear relationship function of the red average value in food, the blue average value in food and the nitrite concentration in food obtained based on a preset experimental method.

[0010] As some optional implementations of the present application, after receiving the red average value and the blue average value, the data processing module includes the following data processing steps:

[0011] Inputting the red average value into a first data processing module, performing calculation based on a first preset formula, and obtaining a first calculation result;

[0012] Inputting the blue average value into a second data processing module, performing calculation based on a second preset formula, and obtaining a second calculation result;

[0013] Based on the first calculation result and the second calculation result, an analysis result of nitrite is obtained.

[0014] As some optional embodiments of the present application, the blue average value refers to the actual blue average value of the test solution; the red average value includes the red average value of the test solution spiked with 50 μM and the red average value of the test solution spiked with 100 μM.

[0015] As some optional implementations of the present application, the first preset formula satisfies the following relationship:

[0016] B / B0=-0.02349c+0.9932

[0017] Wherein, B represents the actual average blue value of the solution to be tested, B0 represents the average blue value of the standard solution with a nitrite concentration of 0 μM; and c represents the nitrite concentration value in μM.

[0018] As some optional implementations of the present application, the second preset formula satisfies the following relationship:

[0019] R / R0=0.02209c+0.7874

[0020] Wherein, R represents the actual red average value of the solution to be tested, R0 represents the red average value of the 25 μM nitrite concentration standard solution; and c represents the nitrite concentration value, in μM.

[0021] As some optional embodiments of the present application, the analysis results of nitrite include: the nitrite concentration of the test solution when it is spiked with 0 μM, the nitrite concentration of the test solution when it is spiked with 50 μM, and the nitrite concentration of the test solution when it is spiked with 100 μM.

[0022] On the other hand, an embodiment of the present application provides a portable detection device, the portable detection device comprising:

[0023] An image acquisition module, used for acquiring images of the solution to be tested;

[0024] A color recognition module, used to perform color recognition based on the image of the solution to be tested, and obtain a red average value and a blue average value;

[0025] A data processing module, used for performing data processing based on the red average value input and the blue average value to obtain a nitrite analysis result; a preset formula is stored in the data processing module, and the preset formula is a linear relationship function of the red average value in the food, the blue average value in the food and the nitrite concentration in the food obtained based on a preset experimental method;

[0026] There is data interaction among the image acquisition module, the color recognition module and the data processing module.

[0027] As some optional implementations of the present application, the data processing module includes a first data processing module and a second data processing module; wherein:

[0028] The first data processing module is used to calculate the red average value based on a first preset formula to obtain a first calculation result; the first preset formula satisfies the following relationship:

[0029] B / B0=-0.02349c+0.9932

[0030] Wherein, B represents the actual average blue value of the solution to be tested, B0 represents the average blue value of the 0 μM nitrite concentration standard solution; c represents the nitrite concentration value, in μM;

[0031] The second data processing module is used to calculate the blue average value based on a second preset formula to obtain a second calculation result; the second preset formula satisfies the following relationship:

[0032] R / R0=0.02209c+0.7874

[0033] Wherein, R represents the actual red average value of the solution to be tested, R0 represents the red average value of the 25 μM nitrite concentration standard solution; and c represents the nitrite concentration value, in μM.

[0034] On the other hand, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the method as described above.

[0035] On the other hand, an embodiment of the present application provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described above.

[0036] The technical progress of the method for rapid detection of nitrite concentration provided by this application compared with the prior art is mainly reflected in the following aspects:

[0037] Portability and real-time performance: Traditional food safety testing methods usually require complex laboratory equipment and time-consuming sample processing, while this technical solution uses a portable testing device. This device includes an image acquisition module, a color recognition module, and a data processing module, making the testing process more convenient and instant. Users can process and test food samples directly in the experimental scene without sending the samples to the laboratory for analysis, greatly shortening the testing time.

[0038] Analysis based on image processing: This technical solution uses the image acquisition module to obtain the image of the solution to be tested, and then uses the color recognition module to identify and analyze the color in the image. This method is more intuitive and efficient than traditional chemical analysis methods. Through image processing technology, the average value of red and blue in the solution can be quickly and accurately obtained, providing a basis for subsequent data processing.

[0039] Automation of data processing: The data processing module processes the red average and blue average inputs obtained from the color recognition module according to preset formulas. These formulas establish a linear relationship function between the red and blue averages and the nitrite concentration in food based on preset experimental methods. Through automated data processing, the analysis results of nitrite concentration can be quickly generated, reducing human errors and analysis time.

[0040] Real-time monitoring and application potential: Due to the design of the portable detection device, this technical solution can be widely used in various aspects of food safety monitoring, such as production sites, sales links and even consumers. This real-time monitoring capability can help grasp the food safety status in real time and take necessary measures in time to protect public health.

[0041] Therefore, compared with traditional methods, this food safety detection technology solution based on portable detection devices has significant advantages such as simple operation, strong real-time performance, and automated data processing. It not only improves detection efficiency and accuracy, but also expands the application scenarios and possibilities of food safety monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the specific implementation of the present application or the technical solution in the prior art, the following is a brief introduction to the drawings required for the specific implementation or the prior art description. In all drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, each element or part is not necessarily drawn according to the actual scale.

[0043] Figure 1 A schematic diagram of the computer device structure of the hardware operating environment involved in this application;

[0044] Figure 2 This is a schematic diagram of the process of the method for rapid detection of nitrite concentration in this application;

[0045] Figure 3 This is a schematic diagram of the correlation between nitrite concentration and color involved in this application;

[0046] Figure 4 The standard curve diagram of nitrite concentration and B / B0 and the standard curve diagram of nitrite concentration and R / R0 value involved in this application;

[0047] Figure 5 This is a schematic diagram of the structure of the portable detection device involved in this application;

[0048] Figure 6 A schematic diagram of the synthesis of NiO nanozymes and the portable detection device thereof for detecting nitrite involved in this application;

[0049] Figure 7 An image of the sample solution to be tested described in Example 1 of the present application;

[0050] Figure 8 An image of the sample solution to be tested described in Example 2 of the present application;

[0051] Fig. 9 This is an image of the sample solution to be tested described in Example 3 of the present application.

[0052] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.

[0055] In this application, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0056] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the meaning of "and / or" appearing in the full text includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0057] Reference Figure 1 , Figure 1 This is a schematic diagram of the computer device structure of the hardware operating environment involved in this embodiment, such as Figure 1As shown, the computer device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0058] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.

[0059] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and an electronic program, and may also include a data storage module.

[0060] exist Figure 1 In the computer device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the computer device of this embodiment can be set in the computer device, and the computer device calls the portable detection device stored in the memory 1005 through the processor 1001, and executes the method for rapid detection of nitrite provided in this embodiment.

[0061] It should be noted that the above-mentioned computer device may be an external hardware device that can run independently, or may be a hardware device built into the portable detection device.

[0062] Reference Figure 2 Based on the aforementioned hardware environment, this embodiment also provides a method for quickly detecting nitrite concentration, which is performed based on a portable detection device; the method comprises the following steps:

[0063] Step S10: pre-treat the food to be tested to obtain a solution to be tested.

[0064] Specifically, the pretreatment refers to treating the food to be tested according to the pretreatment method of the national standard GB5009.33-2016 and obtaining the test solution by the standard addition method; that is, adding 0 μM nitrite to the test solution, adding 50 μM nitrite to the test solution, and adding 100 μM nitrite to the test solution.

[0065] Step S20: acquiring an image of the solution to be tested based on the image acquisition module.

[0066] Specifically, the image acquisition module may be a camera or a similar optical device capable of capturing visual information of the solution.

[0067] Step S30: input the image of the solution to be tested into a color recognition module for color recognition to obtain a red average value and a blue average value.

[0068] Specifically, after obtaining the image of the solution to be tested, it is preprocessed, such as denoising, adjusting the image brightness and contrast, to ensure that subsequent color recognition can be performed on the basis of a clear and accurate image; and then the preprocessed image is input into a color recognition module. The color recognition module can use color distribution or a specific color space (such as RGB) based on computer vision technology to identify the red and blue components in the image. The color recognition module analyzes each pixel in the image to determine its color attributes. By counting and analyzing the colors of all pixels in the image, the average values ​​of red and blue are calculated. These average values ​​reflect the color distribution in the solution and can be used as input for subsequent data processing. Finally, the color recognition module outputs the calculated red average value and blue average value to the data processing module. These values ​​are usually transmitted in digital form for subsequent data processing based on preset formulas.

[0069] It should be noted that the blue average value refers to the actual blue average value of the test solution; the red average value includes the red average value of the test solution spiked with 50 μM and the red average value of the test solution spiked with 100 μM.

[0070] Through the above steps, the accuracy and efficiency of the entire process from image acquisition to color recognition to data processing are ensured. This method takes advantage of modern computer vision technology, making food safety testing faster and more accurate.

[0071] Step S40, inputting the red average value and the blue average value into a data processing module for data processing to obtain an analysis result of nitrite; a preset formula is stored in the data processing module, and the preset formula is a linear relationship function of the red average value in food, the blue average value in food and the nitrite concentration in food obtained based on a preset experimental method.

[0072] Specifically, the above steps may include: the data processing module receives the red average value and the blue average value output by the color recognition module as input data. These values ​​are usually the average values ​​of color intensity or brightness expressed in digital form, reflecting the concentration of red and blue in the solution. It should be noted that preset formulas are stored in the data processing module. These formulas are based on preset experimental methods to establish a linear relationship function between the red average value, the blue average value and the nitrite concentration in food. For example, it may be a statistical model or regression equation obtained by analyzing a large amount of experimental data. According to the stored preset formula, the data processing module substitutes the red average value and the blue average value into the calculation. These calculations may involve parameters such as slope and intercept, and the concentration of nitrite is calculated based on the value of the color average value. This process uses the known relationship between the color average value and the experimental measurement value to perform fast and accurate data conversion and analysis. After completing the data processing, the data processing module generates the analysis results of nitrite. This result can be a numerical value (such as a concentration value) or a classification (such as a qualified or unqualified judgment). The output results are usually presented in a form that is easy to understand and use, so that users or subsequent systems can perform further processing or decision-making.

[0073] Through the above steps, the logic and technical details of the whole process from direct data obtained from color recognition to the final nitrite concentration analysis results are clearly visible. This data processing method based on preset formulas not only improves the speed and accuracy of analysis, but also enables the food safety detection system to operate and apply more efficiently.

[0074] In some embodiments, after receiving the red average value and the blue average value, the data processing module includes the following data processing steps:

[0075] The red average value is input into the first data processing module, and is calculated based on a first preset formula to obtain a first calculation result; the first preset formula satisfies the following relationship:

[0076] B / B0=-0.02349c+0.9932

[0077] Wherein, B represents the actual average blue value of the solution to be tested, B0 represents the average blue value of the 0 μM nitrite concentration standard solution; c represents the nitrite concentration value, in μM;

[0078] The blue average value is input into the second data processing module, and is calculated based on a second preset formula to obtain a second calculation result; the second preset formula satisfies the following relationship:

[0079] R / R0=0.02209c+0.7874

[0080] Wherein, R represents the actual red average value of the solution to be tested, R0 represents the red average value of the 25 μM nitrite concentration standard solution; c represents the nitrite concentration value, in μM;

[0081] Based on the first calculation result and the second calculation result, an analysis result of nitrite is obtained; the analysis result of nitrite includes: the nitrite concentration of the test solution when 0 μM is added, the nitrite concentration of the test solution when 50 μM is added, and the nitrite concentration of the test solution when 100 μM is added.

[0082] It should be noted that the first preset formula and the second preset formula are obtained by the following steps:

[0083] (1) NiSO4·6H2O (52.57 g) and K2S2O8 (10.80 g) were added to distilled water (360 mL) and stirred until all the solids were dissolved to obtain a light green solution; then ammonia water (40 mL) was added and stirred at room temperature for 1 h to obtain a black solution; the above solution was centrifuged to obtain a black powder, which was washed with water and ethanol several times to obtain a green powder; finally, it was dried at 60°C. The obtained green powders were calcined at 400°C for 2 h to obtain NiO products.

[0084] (2) After mixing NaAc-HAc buffer solution (pH 4.0, 200 mM, 1.5 mL), TMB (10.0 mM, 60 μL), NiO product (5.0 mg / mL, 120 μL) and distilled water (320 μL), different concentrations of nitrite solution (i.e., 0 μM, 3 μM, 15 μM, 30 μM, 75 μM, 150 μM, 225 μM, 300 μM, 375 μM, 450 μM, 525 μM, 600 μM, 675 μM and 750 μM) were added (1.0 mL). After incubation at 37°C for 50 min, the color of the system changed due to the diazotization of nitrite with oxidized TMB. As the concentration of nitrite increased, the color gradually changed from blue to green, yellow, and blue. Figure 3 The data were processed by normalization. In the range of 0–25 μM, the nitrite concentration was linearly related to the B / B0 value; in the range of 25–250 μM, the nitrite concentration was linearly related to the R / R0 value, as shown in Figure 4The full name of TMB is 3,3',5,5'-tetramethylbenzidine.

[0085] like Figure 5 As shown, the portable detection device comprises:

[0086] The image acquisition module is used to acquire the image of the solution to be tested.

[0087] The color recognition module is used to perform color recognition based on the image of the solution to be tested to obtain a red average value and a blue average value.

[0088] A data processing module is used to perform data processing based on the red average value input and the blue average value to obtain an analysis result of nitrite; a preset formula is stored in the data processing module, and the preset formula is a linear relationship function of the red average value in food, the blue average value in food and the nitrite concentration in food obtained based on a preset experimental method; the data processing module includes a first data processing module and a second data processing module; wherein: the first data processing module is used to calculate the red average value based on a first preset formula to obtain a first calculation result; the first preset formula satisfies the following relationship:

[0089] B / B0=-0.02349c+0.9932

[0090] Wherein, B represents the actual average blue value of the solution to be tested, B0 represents the average blue value of the 0 μM nitrite concentration standard solution, which is 155.0; c represents the nitrite concentration value, in μM;

[0091] The second data processing module is used to calculate the blue average value based on a second preset formula to obtain a second calculation result; the second preset formula satisfies the following relationship:

[0092] R / R0=0.02209c+0.7874

[0093] Wherein, R represents the actual red average value of the solution to be tested, R0 represents the red average value of the 25 μM nitrite concentration standard solution, which is 26.5; and c represents the nitrite concentration value, in μM.

[0094] There is data interaction among the image acquisition module, the color recognition module and the data processing module.

[0095] Specifically:

[0096] The image acquisition module is the starting part of the detection device and is responsible for acquiring images from the solution to be tested; the image contains visual information of the solution, which will be used for subsequent analysis.

[0097] The color recognition module receives the image captured by the image acquisition module, and its task is to analyze the color information in the image, especially the average values ​​of red and blue; by identifying the average values ​​of these colors, the nitrite concentration in the solution can be indirectly inferred.

[0098] The data processing module receives the red and blue average values ​​from the color recognition module; these average values ​​are processed based on preset formulas, which are based on data obtained from previous experiments. The data processing module includes two submodules: a first data processing module and a second data processing module. The first data processing module uses a first preset formula to calculate the relevant parameters of the blue average value to obtain a first calculation result; the first preset formula describes the linear relationship between the blue average value and the nitrite concentration in the solution. The second data processing module uses a second preset formula to calculate the relevant parameters of the red average value to obtain a second calculation result. The second preset formula describes the linear relationship between the red average value and the nitrite concentration in the solution.

[0099] Data interaction is carried out between the image acquisition module, the color recognition module and the data processing module to ensure that the transmission and processing of information are consistent.

[0100] It can be seen that this portable detection device can quickly and accurately analyze the concentration of nitrite in the test solution through image acquisition, color recognition and data processing based on preset formulas. This design allows the detection process to be completed on-site and has a certain degree of automation and reliability, which is suitable for use in and outside the laboratory.

[0101] The specific carrier of the portable detection device may include a smart phone, a tablet computer, a portable computer, a handheld device or a smart wearable device (such as a smart watch or smart glasses that can receive and display detection data by connecting to a smart phone or other device).

[0102] The synthesis of the above NiO nanozyme and the schematic diagram of its portable detection device for detecting nitrite are shown in Figure 6As shown, the nanozyme activity of nickel oxide is used to catalyze colorless TMB to generate blue oxidized TMB; nitrite can react with blue oxidized TMB to generate yellow-green diazotization product; a portable detection device is used to take pictures of different nitrite concentrations, and color recognition software is used to identify the RGB values ​​of the pictures of different nitrite concentrations. The R value and B value of the pictures of different nitrite concentrations are used to construct the relationship between the concentration and the value; the constructed linear relationship can be used to quantitatively identify the concentration of nitrite.

[0103] In order to facilitate the understanding of the technical solution by those skilled in the art, the technical solution described in this application is described below in conjunction with specific implementation methods:

[0104] Example 1

[0105] The bacon was pre-processed according to the national standard GB5009.33-2016. The relevant pictures obtained by the experiment are as follows Figure 7 As shown in the figure (the leftmost side of the figure is the image of the test solution with 0 μM, the middle side is the image of the test solution with 50 μM, and the rightmost side is the image of the test solution with 100 μM), the RGB value of the image is identified by the portable detection device, wherein the average B value of the actual sample is 148.3, and the average R values ​​of 50 μM and 100 μM are 50.0 and 80.5 respectively. The portable detection device defaults to the B value of the actual sample into the first preset formula, and the R value of 50 μM and 100 μM into the second preset formula, and calculates the corresponding nitrite concentration. The experimental results are shown in Table 1.

[0106] Table 1:

[0107]

[0108] Example 2

[0109] The sausages were pre-processed according to the national standard GB5009.33-2016. The relevant pictures obtained by the experiment are as follows Figure 8 As shown in the figure (the leftmost side of the figure is the image of the test solution spiked with 0 μM, the middle side is the image of the test solution spiked with 50 μM, and the rightmost side is the image of the test solution spiked with 100 μM), the RGB value of the image is identified by a portable detection device, wherein the average B value of the actual sample is 150.7, and the average R values ​​of the spiked 50 μM and 100 μM are 52.0 and 80.3, respectively. The B value of the actual sample is substituted into the preset first formula, and the R value of the spiked 50 μM and 100 μM is substituted into the preset second formula to calculate the corresponding nitrite concentration. The results of the relevant spiked experiment are shown in Table 2.

[0110] Table 2:

[0111]

[0112] Example 3

[0113] The dried shrimp was pretreated according to the national standard GB5009.33-2016. The relevant pictures obtained by the experiment are as follows Fig. 9 As shown, the RGB value of the image is identified by a portable detection device, where the average B value of the actual sample is 146.3, and the average R values ​​of the spiked 50μM and 100μM are 48.5 and 80.3, respectively. The B value of the actual sample is substituted into the preset first formula, and the R value of the spiked 50μM and 100μM is substituted into the preset second formula to calculate the corresponding nitrite concentration. The relevant spiked experimental results are shown in Table 3.

[0114] Table 3:

[0115]

[0116] It can be seen that the method described in the present application collects image information through the above-mentioned portable detection device, and conducts in-depth analysis and processing of the data in combination with the RGB information of the image, so that researchers can quickly achieve qualitative and quantitative analysis of the target substance. That is, the oxidase-like activity of nickel oxide is used to catalyze the color development of 3,3',5,5'-tetramethylbenzidine (TMB) to generate oxidized TMB. Based on the specific color development reaction of nitrite and oxidized TMB and the data collection and processing scheme of the portable detection device, not only the portability of the detection process is realized, but also the detection efficiency is significantly improved, thereby effectively reducing the analysis cost.

[0117] Based on the same inventive concept as the aforementioned embodiment, this embodiment provides a computer-readable storage medium, on which a computer program is stored, and a processor executes the computer program to implement the aforementioned method.

[0118] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0119] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for rapidly detecting nitrite concentration, characterized in that: The method is carried out based on a portable detection device; The method comprises the following steps: Pre-treating the food to be tested to obtain a solution to be tested; Based on the image acquisition module, an image of the solution to be tested is obtained; Inputting the image of the solution to be tested into a color recognition module for color recognition to obtain a red average value and a blue average value; based on the red average value and the blue average value, determining and obtaining a concentration range of nitrite in the solution to be tested; Based on the concentration range of nitrite in the solution to be tested, the red average value input and the blue average value input are input into a data processing module for data processing to obtain an analysis result of nitrite; a preset formula is stored in the data processing module, and the preset formula is a linear relationship function of the red average value in food, the blue average value in food and the nitrite concentration in food obtained based on a preset experimental method.

2. The method for rapidly detecting nitrite concentration according to claim 1, characterized in that: Based on the concentration range of nitrite in the solution to be tested, the data processing module includes the following data processing steps after receiving the red average value and the blue average value: When the concentration range of nitrite in the test solution is 25-250 μM, the red average value is input into the first data processing module, and the calculation is performed based on the first preset formula to obtain a first calculation result; When the concentration range of nitrite in the test solution is 0-25 μM, the blue average value is input into the second data processing module, and a second calculation result is obtained by performing calculation based on a second preset formula; Based on the first calculation result and the second calculation result, an analysis result of nitrite is obtained.

3. The method for rapidly detecting nitrite concentration according to claim 2, characterized in that: The blue average value refers to the actual blue average value of the test solution; the red average value includes the red average value of the test solution spiked with 50 μM and the red average value of the test solution spiked with 100 μM.

4. The method for rapidly detecting nitrite concentration according to claim 2, characterized in that: The first preset formula satisfies the following relationship: B / B0=-0.02349c+0.9932 Wherein, B represents the actual average blue value of the solution to be tested, B0 represents the average blue value of the standard solution with a nitrite concentration of 0 μM; and c represents the nitrite concentration value in μM.

5. The method for rapidly detecting nitrite concentration according to claim 2, characterized in that: The second preset formula satisfies the following relationship: R / R0=0.02209c+0.7874 Wherein, R represents the actual red average value of the solution to be tested, R0 represents the red average value of the 25 μM nitrite concentration standard solution; and c represents the nitrite concentration value, in μM.

6. The method for rapidly detecting nitrite concentration according to claim 2, characterized in that: The analysis result of nitrite includes: the nitrite concentration of the test solution when 0 μM is added, the nitrite concentration of the test solution when 50 μM is added, and the nitrite concentration of the test solution when 100 μM is added.

7. A portable detection device, characterized in that: The portable detection device comprises: An image acquisition module, used for acquiring images of the solution to be tested; A color recognition module, used to perform color recognition based on the image of the solution to be tested, and obtain a red average value and a blue average value; A data processing module, used for performing data processing based on the red average value input and the blue average value to obtain a nitrite analysis result; a preset formula is stored in the data processing module, and the preset formula is a linear relationship function of the red average value in the food, the blue average value in the food and the nitrite concentration in the food obtained based on a preset experimental method; There is data interaction among the image acquisition module, the color recognition module and the data processing module.

8. The portable detection device according to claim 7, characterized in that: The data processing module includes a first data processing module and a second data processing module; wherein: The first data processing module is used to calculate the red average value based on a first preset formula to obtain a first calculation result; the first preset formula satisfies the following relationship: B / B0=-0.02349c+0.9932 Wherein, B represents the actual average blue value of the solution to be tested, B0 represents the average blue value of the 0 μM nitrite concentration standard solution; c represents the nitrite concentration value, in μM; The second data processing module is used to calculate the blue average value based on a second preset formula to obtain a second calculation result; the second preset formula satisfies the following relationship: R / R0=0.02209c+0.7874 Wherein, R represents the actual red average value of the solution to be tested, R0 represents the red average value of the 25 μM nitrite concentration standard solution; and c represents the nitrite concentration value, in μM.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 6.

10. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 6.