A method and device for visually identifying the quality of liquid suction by a pipette

Through visual recognition methods and devices, the neural network model is used to identify bubbles and impurities in the aspirated liquid, which solves the problem of low aspirated liquid volume and ensures the reliability and efficiency of sample liquid detection.

CN118169416BActive Publication Date: 2024-09-06SHENZHEN XUELIANHUA NETWORK CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410313419.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-19
Publication Date
2024-09-06
Estimated Expiration
2044-03-19

AI Technical Summary

Technical Problem

In the process of large-scale nucleic acid testing of liquid samples in medical laboratories, the amount of liquid sucked out by the pipette is often too small due to bubbles and impurities, making it difficult to accurately judge and affecting the reliability of subsequent testing.

Method used

A visual identification method and device for pipette quality is adopted. By receiving pipette instructions, determining the light color, controlling the pipette to collect sample liquid, photographing and inputting the image into the neural network model, the sample liquid height line, bubbles and impurity information are identified. According to Qualified control information determines the visual recognition results.

Benefits of technology

Efficiently and accurately determine the underabsorption of liquid due to bubbles and impurities, ensuring the reliability of subsequent sample liquid inspection and improving visual recognition efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118169416B
    Figure CN118169416B
Patent Text Reader

Abstract

The present invention is applicable to the technical field of liquid aspiration quality detection, and provides a method and device for visual recognition of liquid aspiration quality by a pipette, the method comprising the following steps: receiving a pipette liquid aspiration instruction, the pipette liquid aspiration instruction comprising a sample liquid name and a test tube coordinate; determining the light color, the amount of liquid aspirated, and the sample liquid qualified control information according to the sample liquid name, so that the backlight displays the light color; controlling the pipette to collect the sample liquid based on the test tube coordinates and the amount of liquid aspirated, and placing the collected pipette in the backlight display area; photographing a test tube sample liquid image in the backlight display area, inputting the test tube sample liquid image into a neural network model, obtaining a sample liquid height line, bubble information, and impurity information; determining the visual recognition result of the sample liquid aspirated according to the sample liquid qualified control information, the sample liquid height line, the bubble information, and the impurity information. In this way, the present invention can efficiently and accurately judge the situation where the amount of liquid aspirated is too small due to bubbles and impurities, and ensure the reliability of the subsequent sample liquid inspection link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of liquid pipetting quality detection, and in particular to a method and device for visually identifying liquid pipetting quality using a pipette. Background Art

[0002] During the large-scale nucleic acid testing of liquid samples in medical laboratories, it is necessary to aspirate the sample liquid, then transfer the aspirated sample liquid to a deep-well plate, and then test the sample liquid in the deep-well plate. When taking liquid through a pipette, it is necessary to verify the amount of liquid aspirated by the pipette, whether there are bubbles, and whether impurities are aspirated. If the aspiration does not meet the requirements, it will result in empty transfer or insufficient transfer, resulting in subsequent inability to perform normal inspections. At present, the amount of liquid aspirated is determined by measuring the position where the liquid surface on the pipette reaches to determine the height reached by the aspirated liquid. However, in the actual production operation process, when the pipette is aspirating liquid, bubbles, impurities, etc. are often aspirated, and it is impossible to accurately judge the situation where the amount of liquid aspirated is too small due to bubbles and impurities. Therefore, it is necessary to provide a visual recognition method and device for the quality of aspirating liquid by a pipette, aiming to solve the above problems. Summary of the invention

[0003] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a method and device for visually identifying the quality of liquid pipetting by a pipette, so as to solve the problems existing in the above-mentioned background technology.

[0004] The present invention is achieved by providing a method for visually identifying the quality of liquid pipetting by a pipette, the method comprising the following steps:

[0005] receiving a pipette aspiration instruction, wherein the pipette aspiration instruction includes a sample liquid name and a test tube coordinate;

[0006] Determine the light color, the amount of liquid aspirated, and qualified control information of the sample liquid according to the name of the sample liquid, so that the backlight displays the light color;

[0007] Based on the test tube coordinates and the amount of liquid absorbed, the pipette is controlled to collect the sample liquid, and the collected pipette is placed in the backlight display area;

[0008] The image of the test tube sample liquid in the backlight display area is captured and input into the neural network model to obtain the sample liquid height line, bubble information and impurity information;

[0009] The visual recognition result of the aspirated sample liquid is determined based on the sample liquid qualified control information, the sample liquid height line, the bubble information and the impurity information.

[0010] As a further solution of the present invention: the step of determining the light color, the amount of liquid to be drawn, and the qualified control information of the sample liquid according to the name of the sample liquid specifically includes:

[0011] Input the sample liquid name into the sample liquid related information retrieval library, wherein the sample liquid related information retrieval library contains all the sample liquid names, and each sample liquid name is marked with the sample liquid color, the amount of liquid aspirated, and the sample liquid qualified control information;

[0012] Output the sample liquid color, aspirated liquid volume and sample liquid qualified control information corresponding to the sample liquid name;

[0013] The sample liquid color is input into the enhanced color development library for matching, and the light color matching the sample liquid color is output. The enhanced color development library contains multiple sample liquid colors, and each sample liquid color corresponds to a light color.

[0014] As a further solution of the present invention: the step of inputting the test tube sample liquid image into the neural network model to obtain the sample liquid height line, bubble information and impurity information specifically includes:

[0015] Determine a neural network sub-model based on the sample liquid name corresponding to the test tube sample liquid image, and a plurality of neural network sub-models constitute a neural network model;

[0016] The test tube sample liquid image is input into the neural network sub-model, and the test tube sample liquid image is detected and predicted to obtain the sample liquid height line, bubble information and impurity information. The neural network sub-model is a YOLOv5 neural network model based on deep learning, and the YOLOv5 neural network model is obtained through training.

[0017] As a further solution of the present invention: the training steps of the YOLOv5 neural network model are:

[0018] Use labelimg tool to label the test tube sample liquid image, and the labeled information includes the sample liquid height line, bubble area and impurity area;

[0019] Divide the labeled test tube sample liquid images into a training set, a validation set and a test set, wherein the training set is used to train the model, the validation set is used to validate the model, and the test set is used to test the model;

[0020] Configure the training parameters of the YOLOv5 neural network model, including data set configuration file modification and network model configuration;

[0021] The model is trained based on the training set and evaluated based on the test set. The evaluation includes three indicators: precision, recall and F1-score.

[0022] For the test tube sample images that were misidentified, iterative training was performed until the scores of the model's precision, recall, and F1-score all exceeded 0.99.

[0023] As a further solution of the present invention: the modification of the dataset configuration file mainly includes the dataset root directory, training set image path, validation set image path, test set image path, the total number of target categories and the category name array; the network model configuration is the network topology structure parameter configuration.

[0024] As a further solution of the present invention: the step of determining the visual recognition result of the sample liquid according to the sample liquid qualified control information, the sample liquid height line, the bubble information and the impurity information specifically includes:

[0025] Compare the height passing line in the sample liquid qualified control information with the sample liquid height line to obtain a first recognition result;

[0026] Extract the bubble area and impurity area from the bubble information and impurity information, and calculate the foreign matter proportion information based on the bubble area, impurity area and sample liquid height line;

[0027] The foreign matter proportion limit in the sample liquid qualified control information is compared with the foreign matter proportion information to obtain a second recognition result, and a visual recognition result is obtained according to the first recognition result and the second recognition result.

[0028] Another object of the present invention is to provide a device for visually identifying the quality of liquid pipetting with a pipette, the device comprising:

[0029] A pipette liquid aspiration module, used for receiving a pipette liquid aspiration instruction, wherein the pipette liquid aspiration instruction includes a sample liquid name and a test tube coordinate;

[0030] A light color determination module is used to determine the light color, the amount of liquid aspirated, and the qualified control information of the sample liquid according to the name of the sample liquid, so that the backlight displays the light color;

[0031] The sample liquid collection moving module is used to control the pipette to collect the sample liquid based on the test tube coordinates and the amount of liquid absorbed, and place the pipette after collection in the backlight display area;

[0032] The sample liquid image recognition module is used to capture the image of the test tube sample liquid in the backlight display area, input the image of the test tube sample liquid into the neural network model, and obtain the sample liquid height line, bubble information and impurity information;

[0033] The visual recognition result module is used to determine the visual recognition result of the sample liquid according to the qualified control information of the sample liquid, the sample liquid height line, the bubble information and the impurity information.

[0034] As a further solution of the present invention: the light color determination module includes:

[0035] A sample liquid name input unit, used to input the sample liquid name into a sample liquid related information retrieval library, wherein the sample liquid related information retrieval library contains all sample liquid names, each sample liquid name is marked with the sample liquid color, the amount of liquid aspirated, and the sample liquid qualified control information;

[0036] A related information output unit, used to output the sample liquid color, aspirated liquid volume and sample liquid qualified control information corresponding to the sample liquid name;

[0037] The light color determination unit is used to input the sample liquid color into the enhanced color development library for matching and output the light color matching the sample liquid color. The enhanced color development library contains multiple sample liquid colors, and each sample liquid color corresponds to a light color.

[0038] As a further solution of the present invention: the sample liquid image recognition module includes:

[0039] A sub-model determining unit, which determines a neural network sub-model based on a sample liquid name corresponding to the test tube sample liquid image, wherein a plurality of neural network sub-models constitute a neural network model;

[0040] The sub-model input unit is used to input the test tube sample liquid image into the neural network sub-model, detect and predict the test tube sample liquid image, and obtain the sample liquid height line, bubble information and impurity information. The neural network sub-model is a YOLOv5 neural network model based on deep learning, and the YOLOv5 neural network model is obtained through training.

[0041] As a further solution of the present invention: the visual recognition result module includes:

[0042] A first recognition result unit, used for comparing the height passing line in the sample liquid qualified control information with the sample liquid height line to obtain a first recognition result;

[0043] A foreign matter proportion calculation unit is used to extract the bubble area and the impurity area from the bubble information and the impurity information, and calculate the foreign matter proportion information based on the bubble area, the impurity area and the sample liquid height line;

[0044] The second recognition result unit is used to compare the foreign matter proportion limit in the sample liquid qualified control information with the foreign matter proportion information to obtain a second recognition result, and obtain a visual recognition result according to the first recognition result and the second recognition result.

[0045] Compared with the prior art, the present invention has the following beneficial effects:

[0046] The present invention can determine the light color, the amount of liquid sucked, and the qualified control information of the sample liquid according to the name of the sample liquid, so that the backlight displays the light color; then control the pipette to collect the sample liquid, and place the collected pipette in the backlight display area; capture the image of the test tube sample liquid in the backlight display area, input the image of the test tube sample liquid into the neural network model, and obtain the sample liquid height line, bubble information, and impurity information; determine the visual recognition result of the sample liquid sucked according to the qualified control information of the sample liquid, the sample liquid height line, the bubble information, and the impurity information. In this way, the present invention can efficiently and accurately judge the situation where the amount of liquid sucked is too small due to bubbles and impurities, and ensure the reliability of the subsequent sample liquid inspection link. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 The figure is a flow chart of a method for visually identifying the quality of pipette liquid aspiration.

[0048] Figure 2 The present invention is a flow chart for determining light color, aspirated liquid volume and sample liquid qualified control information in a method for visually identifying the quality of liquid aspirating with a pipette.

[0049] Figure 3 The present invention is a flow chart for obtaining the sample liquid height line, bubble information and impurity information in a method for visually identifying the quality of liquid aspiration with a pipette.

[0050] Figure 4 The present invention is a flow chart for determining the visual recognition result of aspirated sample liquid in a method for visually identifying the quality of a pipette.

[0051] Figure 5 The figure is a schematic diagram of the structure of a visual recognition device for the quality of liquid pipetting using a pipette. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0053] The specific implementation of the present invention is described in detail below in conjunction with specific embodiments.

[0054] like Figure 1 As shown, an embodiment of the present invention provides a method for visually identifying the quality of liquid aspiration with a pipette, the method comprising the following steps:

[0055] S100, receiving a pipette aspiration instruction, wherein the pipette aspiration instruction includes a sample liquid name and a test tube coordinate;

[0056] S200, determining the light color, the amount of liquid to be drawn, and qualified control information of the sample liquid according to the name of the sample liquid, so that the backlight displays the light color;

[0057] S300, controlling the pipette to collect sample liquid based on the test tube coordinates and the amount of liquid absorbed, and placing the pipette after collection in the backlight display area;

[0058] S400, photographing a test tube sample liquid image in a backlight display area, inputting the test tube sample liquid image into a neural network model, and obtaining a sample liquid height line, bubble information, and impurity information;

[0059] S500, determining a visual recognition result of the aspirated sample liquid according to the sample liquid qualified control information, the sample liquid height line, the bubble information and the impurity information.

[0060] It should be noted that during the detection of liquid samples, the sample liquid needs to be aspirated, and it is necessary to verify the amount of liquid aspirated by the pipette, whether there are bubbles, and whether impurities are aspirated. If the aspiration does not meet the requirements, it will result in empty transfer or insufficient transfer, resulting in the inability to perform normal inspections later. At present, the amount of liquid aspirated is determined by measuring the position reached by the liquid surface on the pipette to determine the height reached by the aspirated liquid. However, in the actual production operation process, when the pipette is aspirating liquid, bubbles, impurities, etc. are often aspirated, and it is impossible to accurately determine the situation where the amount of liquid aspirated is insufficient due to bubbles or impurities. The embodiments of the present invention are intended to solve the above problems.

[0061] In the embodiment of the present invention, when it is necessary to aspirate the sample liquid in the test tube, the user is first required to input a pipette aspiration instruction, wherein the pipette aspiration instruction includes the sample liquid name and the test tube coordinates. The test tube coordinates indicate the position of the test tube containing the sample liquid, so as to facilitate the automatic alignment and aspiration of the pipette. Then, the embodiment of the present invention determines the light color, the aspirated liquid amount, and the qualified control information of the sample liquid according to the sample liquid name, and controls the backlight to display the light color. Then, the pipette can be controlled to collect the sample liquid according to the test tube coordinates and the aspirated liquid amount, and the collected pipette is moved to the backlight display area, so as to facilitate the display of the sample liquid in the pipette. Then, the image of the test tube sample liquid in the backlight display area is obtained by photographing with a camera, and the image of the test tube sample liquid is input into the neural network model to obtain the sample liquid height line, bubble information and impurity information. The neural network model is obtained by training in advance, and the camera includes but is not limited to a CCD camera and a CMOS camera. Finally, the visual recognition result of the sample liquid is automatically determined according to the sample liquid qualified control information, the sample liquid height line, the bubble information and the impurity information. When the visual recognition result is unqualified, the sample liquid in the pipette is discharged into the recovery bottle; when the visual recognition result is qualified, the sample liquid in the pipette is discharged into the deep well plate. In this way, the embodiment of the present invention can accurately judge the situation where the amount of liquid aspirated is too small due to bubbles and impurities, thereby ensuring the reliability of the subsequent sample liquid inspection link, and the visual recognition efficiency is extremely high, which is worthy of promotion.

[0062] like Figure 2As shown, as a preferred embodiment of the present invention, the step of determining the light color, the amount of liquid to be drawn, and the qualified control information of the sample liquid according to the sample liquid name specifically includes:

[0063] S201, inputting the sample liquid name into the sample liquid related information retrieval library, wherein the sample liquid related information retrieval library contains all the sample liquid names, and each sample liquid name is marked with the sample liquid color, the amount of liquid aspirated, and the sample liquid qualified control information;

[0064] S202, outputting the sample solution color, aspirated liquid volume and sample solution qualified control information corresponding to the sample solution name;

[0065] S203, inputting the sample liquid color into an enhanced color development library for matching, and outputting a light color that matches the sample liquid color, wherein the enhanced color development library contains a plurality of sample liquid colors, and each sample liquid color corresponds to a light color.

[0066] In the embodiment of the present invention, in order to obtain the light color, the amount of liquid absorbed and the qualified control information of the sample liquid suitable for each sample liquid name, it is necessary to establish a sample liquid related information retrieval library and an enhanced color development library in advance, the sample liquid related information retrieval library contains all the sample liquid names, each sample liquid name is marked with the sample liquid color, the amount of liquid absorbed and the qualified control information of the sample liquid, the enhanced color development library contains multiple sample liquid colors, each sample liquid color corresponds to a light color, under this light color, the display of the corresponding sample liquid is more obvious, and the bubbles and impurities in the sample liquid are also easier to identify, which effectively improves the recognition accuracy. In this way, when the sample liquid name is input into the sample liquid related information retrieval library, the sample liquid color, the amount of liquid absorbed and the qualified control information of the sample liquid corresponding to the sample liquid name will be automatically output; similarly, when the sample liquid color is input into the enhanced color development library for matching, the light color matching the sample liquid color will also be output.

[0067] like Figure 3 As shown, as a preferred embodiment of the present invention, the step of inputting the test tube sample liquid image into the neural network model to obtain the sample liquid height line, bubble information and impurity information specifically includes:

[0068] S401, determining a neural network sub-model based on the sample liquid name corresponding to the test tube sample liquid image, wherein a plurality of neural network sub-models constitute a neural network model;

[0069] S402, inputting the test tube sample liquid image into the neural network sub-model, detecting and predicting the test tube sample liquid image, and obtaining the sample liquid height line, bubble information and impurity information. The neural network sub-model is a YOLOv5 neural network model based on deep learning, and the YOLOv5 neural network model is obtained through training.

[0070] In an embodiment of the present invention, each sample liquid name corresponds to its own neural network sub-model. When the test tube sample liquid image is input into the neural network sub-model, the content of the test tube sample liquid image will be automatically detected and predicted to obtain the sample liquid height line, bubble information and impurity information. The bubble information includes zero, one or more bubble areas, and the impurity information includes zero, one or more impurity areas. The sample liquid height line, bubble area and impurity area will be marked in the test tube sample liquid image. Preferably, the neural network sub-model is a YOLOv5 neural network model based on deep learning. The YOLOv5 neural network model has the advantages of accuracy, high speed, and light weight. The YOLOv5 neural network model is obtained through training. Among them, the training steps of the YOLOv5 neural network model are: label the test tube sample liquid image through the labelimg tool, and the labeled information includes the sample liquid height line, bubble area and impurity area; then divide the labeled test tube sample liquid image into a training set, a validation set and a test set, the training set is used to train the model, the validation set is used to verify the model, and the test set is used to test the model; then configure the training parameters of the YOLOv5 neural network model, and the configuration of the training parameters includes modifying the data set configuration file and configuring the network model; train the model based on the training set, and evaluate the model based on the test set, and the evaluation includes three indicators: precision, recall and F1-score; finally, for the test tube sample liquid images with incorrect recognition, iterative training is performed until the scores of the three indicators of precision, recall and F1-score of the model all exceed 0.99. The modification of the dataset configuration file mainly includes the dataset root directory (path), training set image path (train), validation set image path (val), test set image path (test), total number of target categories (nc) and category name array (names); the network model configuration is the network topology structure parameter configuration.

[0071] like Figure 4 As shown, as a preferred embodiment of the present invention, the step of determining the visual recognition result of the sample liquid according to the sample liquid qualified control information, the sample liquid height line, the bubble information and the impurity information specifically includes:

[0072] S501, comparing the height passing line in the sample liquid qualified control information with the sample liquid height line to obtain a first recognition result;

[0073] S502, extracting the bubble area and the impurity area from the bubble information and the impurity information, and calculating the foreign matter proportion information based on the bubble area, the impurity area and the sample liquid height line;

[0074] S503, comparing the foreign matter proportion limit in the sample liquid qualified control information with the foreign matter proportion information to obtain a second recognition result, and obtaining a visual recognition result according to the first recognition result and the second recognition result.

[0075] In an embodiment of the present invention, in order to obtain a visual recognition result, the height passing line in the sample liquid qualified control information is first compared with the sample liquid height line to obtain a first recognition result. When the sample liquid height line is lower than the height passing line, the first recognition result is unqualified; then the bubble area and impurity area in the bubble information and the impurity information are extracted, and the foreign matter proportion information is calculated based on the bubble area, the impurity area and the sample liquid height line. The diameter of each bubble and impurity is calculated according to the size of the bubble area and the impurity area, and then the volume of the bubble area and the impurity area is obtained. The volume of the absorbed sample liquid is obtained according to the sample liquid height line, so that the foreign matter proportion information can be calculated. Finally, the foreign matter proportion limit value in the sample liquid qualified control information is compared with the foreign matter proportion information to obtain a second recognition result. When the foreign matter proportion information is higher than the foreign matter proportion limit value, the second recognition result is unqualified. Only when both the first recognition result and the second recognition result are qualified, the visual recognition result will be qualified.

[0076] like Figure 5 As shown, an embodiment of the present invention further provides a device for visually identifying the quality of liquid aspiration with a pipette, the device comprising:

[0077] A pipette liquid aspiration module 100, used for receiving a pipette liquid aspiration instruction, wherein the pipette liquid aspiration instruction includes a sample liquid name and a test tube coordinate;

[0078] The light color determination module 200 is used to determine the light color, the amount of liquid aspirated, and the qualified control information of the sample liquid according to the name of the sample liquid, so that the backlight displays the light color;

[0079] The sample liquid collection moving module 300 is used to control the pipette to collect the sample liquid based on the test tube coordinates and the amount of liquid sucked, and place the pipette after collection in the backlight display area;

[0080] The sample liquid image recognition module 400 is used to capture the image of the test tube sample liquid in the backlight display area, input the image of the test tube sample liquid into the neural network model, and obtain the sample liquid height line, bubble information and impurity information;

[0081] The visual recognition result module 500 is used to determine the visual recognition result of the aspirated sample liquid according to the sample liquid qualified control information, the sample liquid height line, the bubble information and the impurity information.

[0082] As a preferred embodiment of the present invention, the light color determination module 200 includes:

[0083] A sample liquid name input unit, used to input the sample liquid name into a sample liquid related information retrieval library, wherein the sample liquid related information retrieval library contains all sample liquid names, each sample liquid name is marked with the sample liquid color, the amount of liquid aspirated, and the sample liquid qualified control information;

[0084] A related information output unit, used to output the sample liquid color, aspirated liquid volume and sample liquid qualified control information corresponding to the sample liquid name;

[0085] The light color determination unit is used to input the sample liquid color into the enhanced color development library for matching and output the light color matching the sample liquid color. The enhanced color development library contains multiple sample liquid colors, and each sample liquid color corresponds to a light color.

[0086] As a preferred embodiment of the present invention, the sample liquid image recognition module 400 includes:

[0087] A sub-model determining unit, which determines a neural network sub-model based on a sample liquid name corresponding to the test tube sample liquid image, wherein a plurality of neural network sub-models constitute a neural network model;

[0088] The sub-model input unit is used to input the test tube sample liquid image into the neural network sub-model, detect and predict the test tube sample liquid image, and obtain the sample liquid height line, bubble information and impurity information. The neural network sub-model is a YOLOv5 neural network model based on deep learning, and the YOLOv5 neural network model is obtained through training.

[0089] As a preferred embodiment of the present invention, the visual recognition result module 500 includes:

[0090] A first recognition result unit, used for comparing the height passing line in the sample liquid qualified control information with the sample liquid height line to obtain a first recognition result;

[0091] A foreign matter proportion calculation unit is used to extract the bubble area and the impurity area from the bubble information and the impurity information, and calculate the foreign matter proportion information based on the bubble area, the impurity area and the sample liquid height line;

[0092] The second recognition result unit is used to compare the foreign matter proportion limit in the sample liquid qualified control information with the foreign matter proportion information to obtain a second recognition result, and obtain a visual recognition result according to the first recognition result and the second recognition result.

[0093] The above only describes in detail the preferred embodiments of the present invention, which is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

[0094] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0095] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0096] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the disclosure in the specification and examples. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A method for visually identifying the quality of liquid pipetting by a pipette, characterized in that: The method comprises the following steps: receiving a pipette aspiration instruction, wherein the pipette aspiration instruction includes a sample liquid name and a test tube coordinate; Determine the light color, the amount of liquid aspirated, and qualified control information of the sample liquid according to the name of the sample liquid, so that the backlight displays the light color; Based on the test tube coordinates and the amount of liquid absorbed, the pipette is controlled to collect the sample liquid, and the collected pipette is placed in the backlight display area; The image of the test tube sample liquid in the backlight display area is captured and input into the neural network model to obtain the sample liquid height line, bubble information and impurity information; Determine the visual recognition result of the sample liquid according to the qualified control information of the sample liquid, the sample liquid height line, the bubble information and the impurity information; Among them, the step of determining the light color, the amount of liquid absorbed and the qualified control information of the sample liquid according to the sample liquid name specifically includes: inputting the sample liquid name into the sample liquid related information retrieval library, the sample liquid related information retrieval library contains all the sample liquid names, and each sample liquid name is marked with the sample liquid color, the amount of liquid absorbed and the qualified control information of the sample liquid; outputting the sample liquid color, the amount of liquid absorbed and the qualified control information of the sample liquid corresponding to the sample liquid name; inputting the sample liquid color into the enhanced color development library for matching, and outputting the light color matching the sample liquid color, the enhanced color development library contains multiple sample liquid colors, and each sample liquid color corresponds to a light color; The step of inputting the test tube sample liquid image into the neural network model to obtain the sample liquid height line, bubble information and impurity information specifically includes: determining a neural network sub-model based on the sample liquid name corresponding to the test tube sample liquid image, wherein a plurality of neural network sub-models constitute the neural network model; inputting the test tube sample liquid image into the neural network sub-model, performing detection and prediction on the test tube sample liquid image, and obtaining the sample liquid height line, bubble information and impurity information, wherein the neural network sub-model is a YOLOv5 neural network model based on deep learning, and the YOLOv5 neural network model is obtained through training; Among them, the step of determining the visual recognition result of aspirating the sample liquid according to the sample liquid qualified control information, the sample liquid height line, the bubble information and the impurity information specifically includes: comparing the height passing line in the sample liquid qualified control information with the sample liquid height line to obtain a first recognition result; extracting the bubble area and the impurity area in the bubble information and the impurity information, and calculating the foreign matter proportion information based on the bubble area, the impurity area and the sample liquid height line; comparing the foreign matter proportion limit in the sample liquid qualified control information with the foreign matter proportion information to obtain a second recognition result, and obtaining a visual recognition result according to the first recognition result and the second recognition result.

2. The visual identification method of pipette liquid aspiration quality according to claim 1, characterized in that: The training steps of the YOLOv5 neural network model are: Use labelimg tool to label the test tube sample liquid image, and the labeled information includes the sample liquid height line, bubble area and impurity area; Divide the labeled test tube sample liquid images into a training set, a validation set and a test set, wherein the training set is used to train the model, the validation set is used to validate the model, and the test set is used to test the model; Configure the training parameters of the YOLOv5 neural network model, including data set configuration file modification and network model configuration; The model is trained based on the training set and evaluated based on the test set. The evaluation includes three indicators: precision, recall and F1-score. For the test tube sample images that were misidentified, iterative training was performed until the scores of the model's precision, recall, and F1-score all exceeded 0.

99.

3. The visual identification method of pipette liquid quality according to claim 2, characterized in that: The modification of the dataset configuration file mainly includes the dataset root directory, training set image path, validation set image path, test set image path, total number of target categories and category name array; the network model configuration is the network topology structure parameter configuration.

4. A visual identification device for the quality of liquid suction by a pipette, characterized in that: The device comprises: A pipette liquid aspiration module, used for receiving a pipette liquid aspiration instruction, wherein the pipette liquid aspiration instruction includes a sample liquid name and a test tube coordinate; A light color determination module is used to determine the light color, the amount of liquid aspirated, and the qualified control information of the sample liquid according to the name of the sample liquid, so that the backlight displays the light color; The sample liquid collection moving module is used to control the pipette to collect the sample liquid based on the test tube coordinates and the amount of liquid absorbed, and place the pipette after collection in the backlight display area; The sample liquid image recognition module is used to capture the image of the test tube sample liquid in the backlight display area, input the image of the test tube sample liquid into the neural network model, and obtain the sample liquid height line, bubble information and impurity information; A visual recognition result module is used to determine the visual recognition result of the sample liquid according to the qualified control information of the sample liquid, the sample liquid height line, the bubble information and the impurity information; Wherein, the light color determination module includes: a sample liquid name input unit, used to input the sample liquid name into the sample liquid related information retrieval library, the sample liquid related information retrieval library contains all the sample liquid names, each sample liquid name is marked with the sample liquid color, the amount of liquid aspirated and the sample liquid qualified control information; a related information output unit, used to output the sample liquid color, the amount of liquid aspirated and the sample liquid qualified control information corresponding to the sample liquid name; a light color determination unit, used to input the sample liquid color into the enhanced color development library for matching, and output the light color matching the sample liquid color, the enhanced color development library contains multiple sample liquid colors, and each sample liquid color corresponds to a light color; The sample liquid image recognition module includes: a sub-model determination unit, which determines a neural network sub-model based on the sample liquid name corresponding to the test tube sample liquid image, and a plurality of neural network sub-models constitute a neural network model; a sub-model input unit, which is used to input the test tube sample liquid image into the neural network sub-model, detect and predict the test tube sample liquid image, and obtain the sample liquid height line, bubble information and impurity information, and the neural network sub-model is a YOLOv5 neural network model based on deep learning, and the YOLOv5 neural network model is obtained through training; Among them, the visual recognition result module includes: a first recognition result unit, used to compare the height passing line in the sample liquid qualified control information with the sample liquid height line to obtain a first recognition result; a foreign matter proportion calculation unit, used to extract the bubble area and impurity area in the bubble information and the impurity information, and calculate the foreign matter proportion information based on the bubble area, the impurity area and the sample liquid height line; a second recognition result unit, used to compare the foreign matter proportion limit value in the sample liquid qualified control information with the foreign matter proportion information to obtain a second recognition result, and obtain a visual recognition result based on the first recognition result and the second recognition result.

Citation Information

Patent Citations

  • Intelligent visual detection system of foreign matters and bubbles in liquid based on deep learning algorithm

    CN110687132A

  • Real-time high-recognition-rate method for airport passenger security inspection dangerous goods based on X-ray machine image

    CN111680729A

  • Liquid medicine bag dynamic detection method based on machine vision

    CN113808123A

  • Chemical experiment solution identification method, device and equipment and readable storage medium

    CN115375954A

  • Serum quality recognition model training method and device, equipment and storage medium

    CN115862080A