[go: up one dir, main page]

CN118111980A - Rapid quantitative detection method based on smart phone and machine learning - Google Patents

Rapid quantitative detection method based on smart phone and machine learning Download PDF

Info

Publication number
CN118111980A
CN118111980A CN202410146352.1A CN202410146352A CN118111980A CN 118111980 A CN118111980 A CN 118111980A CN 202410146352 A CN202410146352 A CN 202410146352A CN 118111980 A CN118111980 A CN 118111980A
Authority
CN
China
Prior art keywords
sample
quantitative detection
color
machine learning
detection method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410146352.1A
Other languages
Chinese (zh)
Inventor
冯建烊
常丹
石利红
双少敏
董川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanxi University
Original Assignee
Shanxi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanxi University filed Critical Shanxi University
Priority to CN202410146352.1A priority Critical patent/CN118111980A/en
Publication of CN118111980A publication Critical patent/CN118111980A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/75Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated
    • G01N21/77Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated by observing the effect on a chemical indicator
    • G01N21/78Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated by observing the effect on a chemical indicator producing a change of colour
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/68Food, e.g. fruit or vegetables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • G01N2021/0106General arrangement of respective parts
    • G01N2021/0112Apparatus in one mechanical, optical or electronic block

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Immunology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Pathology (AREA)
  • Evolutionary Computation (AREA)
  • Biochemistry (AREA)
  • Analytical Chemistry (AREA)
  • Medical Informatics (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Databases & Information Systems (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Plasma & Fusion (AREA)
  • Investigating, Analyzing Materials By Fluorescence Or Luminescence (AREA)
  • Investigating Or Analysing Materials By The Use Of Chemical Reactions (AREA)

Abstract

The invention provides a rapid quantitative detection method based on smart phones and machine learning, which comprises the following steps: preparing a sample, detecting by a color-changing sensor, shooting by a smart phone, analyzing by YOLOv algorithm, constructing a standard curve, and detecting an unknown sample. The method combines a visual color-changing sensor detection system and a smart phone WeChat applet, and utilizes the image acquisition function and a machine learning algorithm of the smart phone to perform data analysis and target identification, thereby realizing quick and accurate quantitative detection on site. The detection method can be used in various fields of food safety, medical diagnosis, environmental monitoring and the like, and has important application prospect and practical value.

Description

一种基于智能手机和机器学习的快速定量检测方法A rapid quantitative detection method based on smartphone and machine learning

技术领域Technical Field

本发明涉及变色定量检测方法,具体属于一种基于智能手机和机器学习双重辅助功能的快速定量检测方法。The invention relates to a color change quantitative detection method, and in particular to a rapid quantitative detection method based on the dual auxiliary functions of a smart phone and machine learning.

背景技术Background technique

在食品安全、医疗诊断和环境监测领域,快速、高效的现场检测方法具有重要意义。传统的检测方法往往需要昂贵的设备和专业的实验人员,限制了其在资源匮乏区域和便捷个人应用中的推广。同时,一些非定量检测方法的准确性也存在一定的局限性。因此,开发一种基于智能手机和机器学习的快速定量检测方法具有重要的应用价值。在传统的光谱变化检测方法中,常常需要使用昂贵的荧光分光光度计来对待测物进行分析。这种方法的准确性较高,但检测流程复杂,需要专业的实验人员和昂贵的实验设备。而非定量检测方法,如pH试纸和定性检测试纸条,虽然简单易用,但只能提供模糊的检测结果,无法进行准确的定量分析。In the fields of food safety, medical diagnosis and environmental monitoring, rapid and efficient on-site detection methods are of great significance. Traditional detection methods often require expensive equipment and professional laboratory personnel, which limits their promotion in resource-scarce areas and convenient personal applications. At the same time, the accuracy of some non-quantitative detection methods also has certain limitations. Therefore, the development of a rapid quantitative detection method based on smartphones and machine learning has important application value. In traditional spectral change detection methods, expensive fluorescence spectrophotometers are often required to analyze the analytes. This method has high accuracy, but the detection process is complicated and requires professional laboratory personnel and expensive experimental equipment. Non-quantitative detection methods, such as pH test paper and qualitative test strips, although simple and easy to use, can only provide vague test results and cannot perform accurate quantitative analysis.

现有专利中,专利号为CN202210581500.3的专利,提出了一种集成智能手机平台的双酚A的双信号免疫分析方法,这种装置虽然一定程度将定量检测与智能手机结合起来,但是由于数据前处理需要人工进行,检测准确度受到了很大的限制,而且检测流程相对较长。专利号为CN202210364606.8的专利提出了一种基于智能手机的比率荧光传感器及其制备方法和应用,但是该方法只能使用市面上已有的颜色识别软件而非定制的,因此在对检测数据进行后处理和分析时需要人工处理,这大大限制了检测的便捷性和快速性。Among the existing patents, the patent number CN202210581500.3 proposes a dual-signal immunoassay method for bisphenol A integrated with a smartphone platform. Although this device combines quantitative detection with smartphones to a certain extent, the detection accuracy is greatly limited because the data pre-processing needs to be done manually, and the detection process is relatively long. The patent number CN202210364606.8 proposes a ratio fluorescence sensor based on a smartphone and its preparation method and application, but this method can only use existing color recognition software on the market instead of customized ones. Therefore, manual processing is required for post-processing and analysis of the detection data, which greatly limits the convenience and speed of the detection.

发明内容Summary of the invention

本发明的目的在于针对现有技术存在的问题,提供一种基于智能手机和机器学习的快速定量检测方法。The purpose of the present invention is to provide a rapid quantitative detection method based on a smart phone and machine learning to address the problems existing in the prior art.

本发明提供的一种基于智能手机和机器学习的快速定量检测方法,其中主要包括变色传感检测、智能手机微信小程序应用和机器学习算法。该方法结合了光谱变化检测和非定量检测的优点,利用智能手机的便携性和易用性,实现了现场快速定量检测的目标。具体检测方法,包括如下步骤:The present invention provides a rapid quantitative detection method based on a smartphone and machine learning, which mainly includes color change sensing detection, a smartphone WeChat applet application and a machine learning algorithm. This method combines the advantages of spectral change detection and non-quantitative detection, and uses the portability and ease of use of smartphones to achieve the goal of rapid on-site quantitative detection. The specific detection method includes the following steps:

准备样品:将相应的可视化变色传感系统加载在样品区域,随后将待检测的样品加入样品区域;Prepare the sample: load the corresponding visual color change sensing system into the sample area, and then add the sample to be detected into the sample area;

变色传感器检测:将紫外光源或日光光源照射到样品上,观察样品的颜色变化;Color change sensor detection: shine a UV light source or a sunlight light source onto the sample and observe the color change of the sample;

智能手机拍摄:使用智能手机的摄像头拍摄样品的颜色变化情况,并将照片上传到手机的微信小程序中(小程序名称为:F智能荧光分析);Smartphone photography: Use the smartphone camera to take pictures of the color changes of the sample and upload the pictures to the WeChat applet on the phone (the name of the applet is: F Intelligent Fluorescence Analysis);

YOLOv3算法分析:在微信小程序中使用机器学习算法YOLOv3对照片进行分析,识别出样品中的目标区域;YOLOv3 algorithm analysis: The machine learning algorithm YOLOv3 is used in the WeChat applet to analyze the photos and identify the target area in the sample;

构建标准曲线:将目标区域的颜色参数与已知浓度的样品进行比对,建立颜色与浓度之间的标准函数关系,即标准曲线;Constructing a standard curve: Compare the color parameters of the target area with samples of known concentration to establish a standard functional relationship between color and concentration, i.e., a standard curve;

未知样品检测:对未知样品进行拍摄并上传到微信小程序中,通过标准曲线进行定量检测,即可得到待测物质的浓度。Unknown sample detection: Take a photo of the unknown sample and upload it to the WeChat applet. Perform quantitative detection using the standard curve to obtain the concentration of the substance to be tested.

所述的可视化变色传感系统可以是日光比色探针、荧光比色探针(含碳点)、磷光比色探针等;The visual color change sensing system can be a daylight colorimetric probe, a fluorescence colorimetric probe (including carbon dots), a phosphorescence colorimetric probe, etc.

所述的样品的形式可以是试管样品、比色皿样品、试纸样品或微流控芯片样品。The sample may be in the form of a test tube sample, a cuvette sample, a test paper sample or a microfluidic chip sample.

本发明方法具有以下优点:The method of the present invention has the following advantages:

高效快速:通过智能手机和机器学习算法,实现了现场快速定量检测,大大缩短了检测时间,提高了工作效率。Efficient and fast: Through smartphones and machine learning algorithms, on-site rapid quantitative detection is achieved, which greatly shortens the detection time and improves work efficiency.

准确可靠:通过构建标准曲线,我们可以对未知样品进行准确的定量检测,提高了检测的准确性和可靠性。Accurate and reliable: By constructing a standard curve, we can perform accurate quantitative detection of unknown samples, improving the accuracy and reliability of detection.

便携易用:该方法利用智能手机作为分析设备,具有便携性和易用性的特点,可以方便地在各种场景中进行应用。Portable and easy to use: This method uses a smartphone as an analysis device, which is portable and easy to use, and can be easily applied in various scenarios.

应用广泛:该方法可在食品安全、医疗诊断和环境监测等领域应用,具有广泛的应用价值,可以满足不同领域的快速定量检测需求。Wide application: This method can be used in fields such as food safety, medical diagnosis and environmental monitoring. It has wide application value and can meet the needs of rapid quantitative detection in different fields.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本检测方法示意图;Fig. 1 is a schematic diagram of the detection method;

图2为YOLOv3机器学习算法的原理图;Figure 2 is a schematic diagram of the YOLOv3 machine learning algorithm;

图3为本检测方法中智能手机自主设计的微信小程序首页示意图;FIG3 is a schematic diagram of the homepage of the WeChat applet designed independently by the smartphone in the present detection method;

图中:(1)拍照、(2)选取照片、(3)开始分析、(4)历史记录查询、(5)用户。In the figure: (1) take a photo, (2) select a photo, (3) start analysis, (4) query history records, (5) user.

图4为微信小程序主功能页面示意图;Figure 4 is a schematic diagram of the main function page of the WeChat applet;

图中:(6)拟合标准曲线、(7)自定义标准曲线、(8)计算预测未知样品。In the figure: (6) fitting the standard curve, (7) customizing the standard curve, and (8) calculating and predicting unknown samples.

图5为微信小程序使用逻辑图;Figure 5 is a logic diagram for using WeChat Mini Programs;

图中:(9)首页、(10)主功能页面、(11)YOLOv3定义界面、(12)参数选择界面、(13)标准曲线定义界面、(14)自定义标准曲线界面、(15)预测计算输入界面、(16)标准曲线选择界面、(17)预测结果界面。In the figure: (9) home page, (10) main function page, (11) YOLOv3 definition interface, (12) parameter selection interface, (13) standard curve definition interface, (14) custom standard curve interface, (15) prediction calculation input interface, (16) standard curve selection interface, (17) prediction result interface.

图6为实施例1的汞离子标准样品;FIG6 is a mercury ion standard sample of Example 1;

图7为实施例1的汞离子测试样品;FIG. 7 is a mercury ion test sample of Example 1;

图8为实施例2的谷胱甘肽标准样品;FIG8 is a glutathione standard sample of Example 2;

图9为实施例2的谷胱甘肽测试样品。FIG. 9 is a glutathione test sample of Example 2.

具体实施方式Detailed ways

以下结合说明书附图对本发明具体实施方式做出进一步详细说明。The specific implementation modes of the present invention are further described in detail below in conjunction with the accompanying drawings.

一种基于智能手机和机器学习的快速定量检测方法,检测过程如图1所示,具体步骤包括:A rapid quantitative detection method based on smartphone and machine learning. The detection process is shown in Figure 1. The specific steps include:

准备样品:由于本方法依靠颜色参数与浓度的对应关系实现定量检测,因而需要选用具有变色行为的传感探针,即要求传感探针在加入响应物时样品颜色种类发生改变,以具有明显颜色改变的传感探针为宜。随后将传感探针负载在样品区域完成样品准备,所述样品的形式可以是试管、比色皿、试纸或微流控芯片等。Prepare samples: Since this method relies on the correspondence between color parameters and concentrations to achieve quantitative detection, it is necessary to select a sensor probe with color-changing behavior, that is, the sensor probe is required to change the color of the sample when the respondent is added, and a sensor probe with obvious color change is preferred. Then, the sensor probe is loaded on the sample area to complete the sample preparation. The sample can be in the form of a test tube, a cuvette, a test paper, or a microfluidic chip.

变色传感器检测:将紫外光源或日光光源照射到样品上,观察样品的颜色变化;Color change sensor detection: shine a UV light source or a sunlight light source onto the sample and observe the color change of the sample;

智能手机拍摄分析:使用智能手机的摄像头拍摄样品的颜色变化情况,分析时首先在微信小程序页面搜索“F智能荧光分析”,打开后在首页,如图3所示,将拍摄的样品照片输入。要求图片中至少有两个样品,输入的图片可以是实时拍摄的(图3中1),也可以是文件储存的(图3中2)。输入图片后点击“analysis”(图3中3)进入下个页面,如图4所示,随后点击“fitting”(图4中6)进入拟合流程,在拟合页面(图5中11)依次输入已知浓度的样品对应的浓度,用逗号隔开,单位为μM。再对本次拟合方案命名,要求不能和已储存命名重复,点击此页面的“confirm”确定进入下一个页面。Smartphone photography analysis: Use the camera of a smartphone to photograph the color changes of the sample. When analyzing, first search for "F Intelligent Fluorescence Analysis" on the WeChat applet page. After opening it, enter the sample photo on the homepage, as shown in Figure 3. It is required that there are at least two samples in the picture. The input picture can be taken in real time (1 in Figure 3) or stored in a file (2 in Figure 3). After entering the picture, click "analysis" (3 in Figure 3) to enter the next page, as shown in Figure 4, and then click "fitting" (6 in Figure 4) to enter the fitting process. On the fitting page (11 in Figure 5), enter the concentrations corresponding to the samples with known concentrations in sequence, separated by commas, in units of μM. Then name this fitting scheme, which must not be repeated with the stored name. Click "confirm" on this page to confirm and enter the next page.

YOLOv3算法分析:微信小程序搭载了YOLOv3机器学习算法以准确识别和截取不同观察视野的反应区域照片,原理如图2所示,具体算法代码见:https://github.com/ultralytics/yolov3。首页输入的图片经代码运算后即可准确识别分离目标比色区域并给出该区域的R、G、B、H、S、V共6个色度值,三个值均处于0-255之间,经此步骤图片变色区域的颜色被准确量化。YOLOv3 algorithm analysis: The WeChat applet is equipped with the YOLOv3 machine learning algorithm to accurately identify and capture photos of reaction areas in different observation fields. The principle is shown in Figure 2. The specific algorithm code can be found at: https://github.com/ultralytics/yolov3. After the code operation, the picture input on the homepage can accurately identify and separate the target colorimetric area and give the six chromaticity values of R, G, B, H, S, and V of the area. All three values are between 0 and 255. After this step, the color of the discolored area of the picture is accurately quantified.

构建标准曲线:微信小程序量化颜色后,结合用户输入的每个样品的浓度即可构建标准曲线。由于不同变色传感器变色的种类不同,小程序搭载了多种颜色参数表示方式以对函数进行拟合。拟合曲线中,参数为纵坐标,浓度为横坐标,具体参数包括:R、G、B、R/G、R/B、G/B、(R+G)/B、(R+B)/G、(B+G)R、H、S、V、H/S、H/V、S/V、(H+S)/V、(H+V)/S、(S+V)H。考虑到对不同拟合算法的需求,小程序也搭载了多种算法以优选合适的拟合算法,具体包括:Least Squares、Ridge、Lasso、Lasso Lars、Bayesian Ridge、SVM。以上这些参数均可在参数选择页面(图5中12)由用户自主选择。选择完毕后,点击此页面的“confirm”即可根据参数得到拟合曲线图像及函数方程(图5中13),同时将拟合数据实时存储在本地,该拟合数据以本次用户输入的拟合方案命名。此外,微信小程序还提供自定义拟合,当用户无标准样品的图片时,可使用自定义功能手动输入浓度与颜色参数的函数对应关系。具体方式为点击“self-defined”(图4中7)进入自定义界面(图5中14),输入函数关系及选择的参数并对函数方案命名,点击此页面的“confirm”存储。Constructing a standard curve: After the WeChat applet quantifies the color, it can construct a standard curve by combining the concentration of each sample input by the user. Since different color sensors change color in different ways, the applet is equipped with a variety of color parameter representation methods to fit the function. In the fitting curve, the parameter is the ordinate and the concentration is the abscissa. The specific parameters include: R, G, B, R/G, R/B, G/B, (R+G)/B, (R+B)/G, (B+G)R, H, S, V, H/S, H/V, S/V, (H+S)/V, (H+V)/S, (S+V)H. Considering the demand for different fitting algorithms, the applet is also equipped with a variety of algorithms to select the appropriate fitting algorithm, including: Least Squares, Ridge, Lasso, Lasso Lars, Bayesian Ridge, SVM. All of the above parameters can be selected by the user on the parameter selection page (12 in Figure 5). After the selection is completed, click "confirm" on this page to obtain the fitting curve image and function equation (13 in Figure 5) according to the parameters, and store the fitting data locally in real time. The fitting data is named after the fitting scheme entered by the user this time. In addition, the WeChat applet also provides custom fitting. When the user does not have a picture of the standard sample, the custom function can be used to manually enter the functional correspondence between the concentration and the color parameters. The specific method is to click "self-defined" (7 in Figure 4) to enter the custom interface (14 in Figure 5), enter the functional relationship and the selected parameters and name the function scheme, and click "confirm" on this page to store.

未知样品的检测:将未知浓度的样品拍摄照片并输入小程序,点击“calculate”(图4中8)进入浓度预测计算流程(图5中15),输入样品数量,单击此页面的“confirm”进入函数选择页面(图5中16),选择通过拟合页面或自定义页面储存的函数和参数,随后点击此页面的“confirm”即可在结果页面(图5中17)中读出样品浓度,结果中多个数字依次代表输入图片中每一个样品的浓度,单位为μM。Detection of unknown samples: Take a photo of the sample of unknown concentration and input it into the applet, click "calculate" (8 in Figure 4) to enter the concentration prediction calculation process (15 in Figure 5), input the number of samples, click "confirm" on this page to enter the function selection page (16 in Figure 5), select the function and parameters stored through the fitting page or custom page, then click "confirm" on this page to read the sample concentration on the result page (17 in Figure 5). The multiple numbers in the result represent the concentration of each sample in the input image in turn, in μM.

实施例1Example 1

在食品安全领域,利用智能手机和机器学习辅助的定量检测方法进行快速检测。以农产品中汞离子残留检测为例,构建了一种基于碳点的变色传感器检测系统,通过智能手机的摄像头捕捉农产品表面的颜色变化,并利用机器学习算法进行分析和定量检测。In the field of food safety, smartphones and machine learning-assisted quantitative detection methods are used for rapid detection. Taking the detection of mercury ion residues in agricultural products as an example, a color-changing sensor detection system based on carbon dots is constructed. The color changes on the surface of agricultural products are captured by the camera of a smartphone, and machine learning algorithms are used for analysis and quantitative detection.

具体步骤如下:Specific steps are as follows:

准备样品:将待检测的农产品样品放置于装载有碳点基汞离子荧光比色探针的比色皿中。Prepare samples: Place the agricultural product sample to be tested in a cuvette loaded with a carbon dot-based mercury ion fluorescent colorimetric probe.

变色传感器检测:将紫外光源照射到样品上,观察样品的颜色变化。分析物的存在会导致颜色发生变化。Color change sensor detection: shine a UV light source onto the sample and observe the color change of the sample. The presence of the analyte will cause the color change.

智能手机拍摄:使用智能手机的摄像头拍摄样品的颜色变化情况(图6),并将照片上传到微信小程序中。Smartphone photography: Use the smartphone camera to capture the color change of the sample (Figure 6) and upload the photo to the WeChat applet.

YOLOv3算法分析:在微信小程序中使用机器学习算法(如YOLOv3)对照片进行分析,识别出样品中的目标区域。YOLOv3 algorithm analysis: Use machine learning algorithms (such as YOLOv3) in the WeChat applet to analyze photos and identify target areas in the samples.

构建标准曲线:将识别区域的颜色参数与已知浓度的样品进行比对,建立颜色与浓度之间的标准函数关系,即标准曲线。Construct a standard curve: Compare the color parameters of the identification area with samples of known concentration to establish a standard functional relationship between color and concentration, i.e., a standard curve.

未知样品检测:对有两个未知样品的比色皿进行拍摄并上传到微信小程序中(图7),通过标准曲线进行定量检测,分别得到样品中汞离子的浓度。Unknown sample detection: The cuvettes containing two unknown samples were photographed and uploaded to the WeChat applet (Figure 7). Quantitative detection was performed using the standard curve to obtain the concentration of mercury ions in the samples.

通过这种方法,我们可以在现场快速、准确地检测农产品中的汞离子残留情况,避免了传统方法中复杂的实验流程和昂贵的实验设备的需求,提高了检测的便捷性和可行性。Through this method, we can quickly and accurately detect mercury ion residues in agricultural products on site, avoiding the need for complex experimental procedures and expensive experimental equipment in traditional methods, and improving the convenience and feasibility of detection.

实施例2Example 2

在医疗诊断领域,我们可以利用智能手机和机器学习辅助的定量检测方法进行快速检测。以谷胱甘肽分析为例,我们可以设计一种基于智能手机的谷胱甘肽碳点可视化检测系统,通过变色传感器和机器学习算法进行样品中谷胱甘肽的定量测定。In the field of medical diagnosis, we can use smartphones and machine learning-assisted quantitative detection methods for rapid testing. Taking glutathione analysis as an example, we can design a smartphone-based glutathione carbon dot visualization detection system to quantitatively determine glutathione in samples through color-changing sensors and machine learning algorithms.

具体步骤如下:Specific steps are as follows:

准备样品:收集患者的可能含有谷胱甘肽的体液样品,并将其放置在装载有碳点基谷胱甘肽荧光比色探针的比色皿中。Prepare samples: Collect a patient's body fluid sample that may contain glutathione and place it in a cuvette loaded with a carbon-dot-based glutathione fluorescent colorimetric probe.

变色传感器检测:将样品与碳点荧光传感器进行反应,在紫外灯下观察颜色变化。不同成分的存在会导致颜色发生变化。Color-changing sensor detection: react the sample with the carbon dot fluorescence sensor and observe the color change under UV light. The presence of different components will cause the color to change.

智能手机拍摄:使用智能手机的摄像头拍摄尿液样品的颜色变化情况(图8),并将照片上传到微信小程序中。Smartphone photography: Use the smartphone camera to capture the color changes of the urine sample (Figure 8) and upload the photo to the WeChat applet.

YOLOv3算法分析:在微信小程序中使用机器学习算法(如YOLOv3)对照片进行分析,识别出样品中的目标区域,即颜色变化的区域。YOLOv3 algorithm analysis: Use machine learning algorithms (such as YOLOv3) in the WeChat applet to analyze the photos and identify the target areas in the sample, that is, the areas with color changes.

构建标准曲线:将识别区域的颜色参数与已知浓度的样品进行比对,建立颜色与浓度之间的标准函数关系,即标准曲线。Construct a standard curve: Compare the color parameters of the identification area with samples of known concentration to establish a standard functional relationship between color and concentration, i.e., the standard curve.

未知样品检测:对有两个未知样品的比色皿进行拍摄并上传到微信小程序中(图9),通过标准曲线进行定量检测,分别得到样品中谷胱甘肽成分的浓度。Unknown sample detection: The cuvettes with two unknown samples were photographed and uploaded to the WeChat applet (Figure 9). Quantitative detection was performed using the standard curve to obtain the concentrations of glutathione components in the samples.

通过这种方法,我们可以在医疗诊断现场快速、准确地测定样品中各种成分的浓度,为医生提供及时的诊断依据,同时避免了传统方法中复杂的实验流程和昂贵的实验设备的需求,提高了检测的便捷性和可行性。Through this method, we can quickly and accurately measure the concentration of various components in the sample at the medical diagnosis site, providing doctors with timely diagnostic basis. At the same time, it avoids the need for complex experimental procedures and expensive experimental equipment in traditional methods, and improves the convenience and feasibility of detection.

Claims (4)

1.一种基于智能手机和机器学习的快速定量检测方法,其特征在于,包括如下步骤:1. A rapid quantitative detection method based on smart phones and machine learning, characterized in that it includes the following steps: (1)准备样品:将可视化变色传感系统加载在样品区域,随后将待检测的样品加入样品区域;(1) Sample preparation: Load the visual color change sensing system in the sample area, and then add the sample to be detected into the sample area; (2)变色传感器检测:将紫外光源或日光光源照射到样品上,观察样品的颜色变化;(2) Color change sensor detection: shine a UV light source or a sunlight light source onto the sample and observe the color change of the sample; (3)智能手机拍摄分析:使用智能手机的摄像头拍摄样品的颜色变化情况,并将照片上传到手机的微信小程序中;(3) Smartphone photography analysis: Use the smartphone camera to take pictures of the color changes of the sample and upload the pictures to the WeChat applet on the phone; (4)YOLOv3算法分析:在微信小程序中使用机器学习算法YOLOv3对照片进行分析,识别出样品中的目标区域;(4) YOLOv3 algorithm analysis: The machine learning algorithm YOLOv3 is used in the WeChat applet to analyze the photos and identify the target area in the sample; (5)构建标准曲线:将目标区域的颜色参数与已知浓度的样品进行比对,建立颜色与浓度之间的标准函数关系,即标准曲线;(5) Constructing a standard curve: Compare the color parameters of the target area with samples of known concentration to establish a standard functional relationship between color and concentration, i.e., a standard curve; (6)未知样品检测:对未知样品进行拍摄并上传到微信小程序中,通过标准曲线进行定量检测,即可得到待测物质的浓度。(6) Unknown sample detection: Take a photo of the unknown sample and upload it to the WeChat applet. Perform quantitative detection using the standard curve to obtain the concentration of the substance to be tested. 2.如权利要求1所述的定量检测方法,其特征在于,所述的样品的形式是试管样品、比色皿样品、试纸样品或微流控芯片样品。2. The quantitative detection method according to claim 1, characterized in that the sample is in the form of a test tube sample, a cuvette sample, a test paper sample or a microfluidic chip sample. 3.如权利要求1所述的定量检测方法,其特征在于,所述的微信小程序是F智能荧光分析小程序。3. The quantitative detection method as described in claim 1 is characterized in that the WeChat applet is the F intelligent fluorescence analysis applet. 4.如权利要求1所述的定量检测方法,其特征在于,所述的可视化变色传感系统是日光比色探针、荧光比色探针或磷光比色探针。4. The quantitative detection method according to claim 1, characterized in that the visual color change sensing system is a daylight colorimetric probe, a fluorescence colorimetric probe or a phosphorescence colorimetric probe.
CN202410146352.1A 2024-02-02 2024-02-02 Rapid quantitative detection method based on smart phone and machine learning Pending CN118111980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410146352.1A CN118111980A (en) 2024-02-02 2024-02-02 Rapid quantitative detection method based on smart phone and machine learning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410146352.1A CN118111980A (en) 2024-02-02 2024-02-02 Rapid quantitative detection method based on smart phone and machine learning

Publications (1)

Publication Number Publication Date
CN118111980A true CN118111980A (en) 2024-05-31

Family

ID=91213364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410146352.1A Pending CN118111980A (en) 2024-02-02 2024-02-02 Rapid quantitative detection method based on smart phone and machine learning

Country Status (1)

Country Link
CN (1) CN118111980A (en)

Similar Documents

Publication Publication Date Title
US11709096B2 (en) Precision luxmeter methods for digital cameras to quantify colors in uncontrolled lighting environments
CN104284626B (en) Fish-eye lens analyzer
US20210172945A1 (en) System for analyzing quantitative lateral flow chromatography
EP3612963B1 (en) Biochemical analyser based on a machine learning algorithm using test strips and a smartdevice
US11333658B2 (en) Urine test strip comprising timer, and method for detecting and analyzing urine test strip
US20120063652A1 (en) Method and apparatus for performing color-based reaction testing of biological materials
EP3189331B1 (en) Apparatus and process for immunoassay tests
Dell et al. Towards a point-of-care diagnostic system: automated analysis of immunoassay test data on a cell phone
CN115836210A (en) System and method for characterizing an assay from a region of interest using optical reactions
CN204557507U (en) Real-time identification system for quick screening test paper
CN107315003A (en) A kind of urine test paper reacts colour analysis method
US20220283148A1 (en) Method of determining a concentration of an analyte in a bodily fluid
CN114264648B (en) Water quality detection test paper identification method and system
CN118111980A (en) Rapid quantitative detection method based on smart phone and machine learning
JP2022509842A (en) How to determine the concentration of an analyte in body fluids
Velikova et al. Fully-automated interpretation of biochemical tests for decision support by smartphones
Syah et al. The utilization OpenCV to measure the water pollutants concentration
TWI812118B (en) Miniature multiplex testing chip, multiplex testing equipment and testing method thereof
RU2823570C1 (en) Analytical measurement method
WO2025036802A1 (en) Calibration method and analytical method of detecting an analyte in a bodily fluid
Xu et al. Machine learning-assisted image label-free smartphone platform for rapid segmentation and robust multi-urinalysis
JP2025507363A (en) Method and device for determining the concentration of at least one analyte in a body fluid - Patents.com
Bhatt et al. Quantification of urinary albumin in clinical samples using smartphone enabled LFA reader incorporating automated segmentation
TWM505918U (en) Real-time recognition system of rapid screen test paper
CN118962125A (en) A method for processing fluorescent immunochromatography test data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination