Detection reagent card identification method, system, device and medium
By acquiring and correcting the coordinate data set of the reagent card, the shortcomings of the pixel edge detection algorithm in detecting reagent card positioning are solved, and the accuracy and simplicity of reagent card recognition are improved.
Patent Information
- Application Number
- CN202411007451.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-12-31
AI Technical Summary
In the prior art, the pixel edge detection algorithm has problems such as low edge positioning and cumbersome calculations during the detection reagent card positioning process, resulting in inaccurate positioning of the test strip, which affects the simplicity and accuracy of machine recognition.
By obtaining the coordinate data set of standard reagent cards on standard machines and detection equipment, the correction data set is calculated, which is used to correct coordinate deviations, and then the identification results of the target detection reagent card are determined, and the reagent card is processed using a method different from the pixel edge detection algorithm. image.
It improves the accuracy of reagent card results recognition, simplifies the recognition process, and avoids the cumbersome computing and inaccurate positioning problems of pixel edge detection algorithms.
Smart Images

Figure CN119228720A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a detection reagent card recognition method, system, device and storage medium. Background Art
[0002] In the related art, for the detection of the test reagent card, the detection method is usually to use some pixel edge detection algorithms to achieve the segmentation and positioning of each test paper pad image. However, the pixel edge detection algorithm has problems such as low edge position positioning or cumbersome calculation, which makes the control process of the test paper positioning method cumbersome and cannot guarantee the accuracy of the test paper positioning, thereby affecting the simplicity and accuracy of the machine identification of the test reagent card. Therefore, there are still technical problems that need to be solved in the related art. Summary of the invention
[0003] The purpose of this application is to solve one of the technical problems existing in the prior art to at least a certain extent.
[0004] To this end, an object of an embodiment of the present application is to provide a detection reagent card recognition method, system, device and storage medium, which can improve the accuracy of reagent card result recognition.
[0005] In order to achieve the above technical objectives, the technical solution adopted by the embodiment of the present application includes: a detection reagent card identification method, comprising:
[0006] S101, obtaining a first coordinate data set of a standard reagent card on a standard machine, a second coordinate data set of the standard reagent card on a detection device, and a third coordinate data set of a control reagent card on a standard machine;
[0007] S102, determining a correction data set according to the first coordinate data set and the second coordinate data set;
[0008] S103, determining a fourth coordinate data set of the target detection reagent card on the detection device according to the calibration data set and the third coordinate data set;
[0009] S104, determining the recognition result of the target detection reagent card according to the fourth coordinate data set and the third coordinate data set;
[0010] Among them, each coordinate data set includes at least one coordinate data of the positioning frame of the standard reagent card or the positioning frame of the detection reagent card in the standard machine image or the detection device image; the correction data set is used to correct the deviation of the coordinate data obtained by the standard machine and the detection device.
[0011] In addition, according to the above-mentioned method for identifying a detection reagent card in the present invention, the following additional technical features may also be provided:
[0012] Furthermore, the step S104 includes:
[0013] Determine the coordinates of a first frame and a second frame of the positioning frame of the target detection reagent card in the detection device according to the fourth coordinate data set, wherein the first frame and the second frame are parallel to the detection line of the target detection reagent card;
[0014] Determine the positioning interval of the quality control line and the positioning interval of each detection line according to the first frame, the second frame and the third coordinate data set;
[0015] Wherein, the target detection reagent card is marked with at least 2 detection lines, the detection line closest to the quality control line is the first detection line, and the detection line second closest to the quality control line is the second detection line;
[0016] The quality control line is identified and located in the positioning interval of the quality control line, and each of the at least two detection lines is identified and located in its respective positioning interval to determine the identification result of the target detection reagent card.
[0017] Furthermore, the positioning interval of the quality control line includes a lower limit of the quality control line positioning and an upper limit of the quality control line positioning;
[0018] The positioning interval of the first detection line is defined by a first detection line positioning lower limit and a first detection line positioning upper limit;
[0019] The positioning interval of the second detection line is defined by the second detection line positioning lower limit and the second detection line positioning upper limit;
[0020] The positioning interval of the last detection line is formed by the last detection line positioning lower limit and the last detection line positioning upper limit.
[0021] Furthermore, the correction data set includes a scaling factor f and a scaling offset Δy of the y-axis, and the first coordinate data set includes a standard positioning frame height H 1 , Standard positioning frame center coordinate Y 0 And the standard positioning frame starting point coordinate Y 1 The second coordinate data set includes a calibration positioning frame height H 2 , the center coordinates of the calibration positioning frame and the starting point coordinates of the calibration positioning frame;
[0022] The step S102 includes:
[0023] The standard positioning frame height and the calibration positioning frame height are input into a scaling calculation formula to obtain the scaling factor, wherein the scaling calculation formula is: H 2 =f*H 1 ;
[0024] The scaling factor f, the y-axis coordinate Y of the starting point coordinate of the calibration positioning frame 2 , the y-axis coordinate Y of the center coordinate of the standard positioning frame 0 And the y-axis coordinate Y of the starting point coordinate of the standard positioning frame 1 Input the offset calculation formula to obtain the scaling offset Δy of the y-axis, wherein the offset calculation formula is:
[0025] Y 2 =Y 0 +f*(Y 0 -Y 1 +Δy).
[0026] Furthermore, the fourth coordinate data set includes the height of the detection positioning frame and the y-axis coordinate of the starting point of the detection positioning frame, the coordinates of the first frame correspond to the y-axis coordinate of the starting point plus the height of the detection positioning frame, and the coordinates of the second frame correspond to the y-axis coordinate of the starting point of the detection positioning frame.
[0027] Further, the third coordinate data set includes the coordinates of the control quality control line and the coordinates of each control detection line, and the step S104 includes:
[0028] Identify the quality control line: determine the upper limit of the quality control line positioning according to the control quality control line coordinates, the first control detection line coordinates and the scaling factor, and then determine the position coordinates of the quality control line by combining the first frame as the lower limit of the quality control line positioning;
[0029] Identify the first test line: determine the upper limit of the first test line positioning according to the control quality control line coordinates, the first control test line coordinates, the second control test line coordinates and the scaling factor, and then combine the quality control line as the lower limit of the first test line positioning, and finally identify whether the first test line exists;
[0030] Identify the second detection line: use the first detection line as the lower limit of the second detection line positioning, and the second frame as the upper limit of the second detection line positioning, and identify whether the second detection line exists according to the positioning interval of the second detection line formed by the first detection line and the second frame; or, determine the lower limit of the second detection line positioning according to the control quality control line coordinates, the first control detection line coordinates and the scaling factor, and then use the second frame as the upper limit of the second detection line positioning to finally identify whether the second detection line exists.
[0031] Furthermore, when the target detection reagent card has a third detection line:
[0032] The step of identifying the second detection line is replaced by: determining the upper limit of the second detection line positioning according to the control quality control line coordinates, the second control detection line coordinates, the third control detection line coordinates and the scaling factor, and then combining the position coordinates of the first detection line as the lower limit of the second detection line positioning, and finally identifying whether the second detection line exists; or, determining the lower limit of the second detection line positioning according to the control quality control line coordinates, the first control detection line coordinates and the scaling factor; and then determining the upper limit of the second detection line positioning according to the control quality control line coordinates, the second control detection line coordinates, the third control detection line coordinates and the scaling factor, and finally identifying whether the second detection line exists;
[0033] The steps for identifying the third detection line are: taking the second detection line as the lower limit of the third detection line positioning, and the second frame as the upper limit of the third detection line positioning, and identifying whether the third detection line exists according to the positioning interval of the third detection line formed by the second detection line and the second frame; or, determining the lower limit of the third detection line positioning according to the control quality control line coordinates, the second control detection line coordinates and the scaling factor, and then combining the second frame as the upper limit of the third detection line positioning, and finally identifying whether the third detection line exists.
[0034] On the other hand, the embodiment of the present application also provides a detection reagent card identification system, including:
[0035] An acquisition unit, used to acquire a first coordinate data set of the standard reagent card on the standard machine, a second coordinate data set of the standard reagent card on the detection device, and a third coordinate data set of the control reagent card on the standard machine;
[0036] A first processing unit, configured to determine a correction data set according to the first coordinate data set and the second coordinate data set;
[0037] A second processing unit, configured to determine a fourth coordinate data set of the target detection reagent card on the detection device according to the calibration data set and the third coordinate data set;
[0038] The third processing unit is used to determine the recognition result of the target detection reagent card based on the fourth coordinate data set and the third coordinate data set; wherein each coordinate data set includes at least one coordinate data of the positioning frame of the standard reagent card or the positioning frame of the detection reagent card in the standard machine image or the detection device image; and the correction data set is used to correct the deviation of the coordinate data obtained by the standard machine and the detection device.
[0039] On the other hand, the present application also provides a detection reagent card identification device, comprising:
[0040] at least one processor;
[0041] at least one memory for storing at least one program;
[0042] When the at least one program is executed by the at least one processor, the at least one processor implements a detection reagent card identification method as described in any one of the invention contents.
[0043] In addition, the present application also provides a computer-readable storage medium, which stores processor-executable instructions, and the processor-executable instructions are used to execute a detection reagent card identification method as described in any of the above items when executed by the processor.
[0044] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:
[0045] The present application can obtain the first coordinate data set of the standard reagent card on the standard machine, the second coordinate data set of the standard reagent card on the detection device, and the third coordinate data set of the control reagent card on the standard machine; according to the first coordinate data set and the second coordinate data set, determine the correction data set; according to the correction data set and the third coordinate data set, determine the fourth coordinate data set of the target detection reagent card on the detection device; according to the fourth coordinate data set and the third coordinate data set, determine the recognition result of the target detection reagent card. The present application uses an algorithm different from the pixel edge detection algorithm to process the data of the image of the reagent card, and the present application uses the correction data set calculated by the two sets of data of the standard reagent card between the standard machine and the detection device, processes the third coordinate data set obtained subsequently, obtains the fourth coordinate data set after correction, and finally obtains the recognition result of the reagent card. The reagent card recognition method of the present application is simple and easy to measure, and can effectively improve the accuracy of the reagent card result recognition. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic diagram of the steps of a detection reagent card identification method in a specific embodiment of the present invention;
[0047] Figure 2 It is a schematic diagram of a positioning frame of a standard image obtained by a reagent card on a standard machine in a specific embodiment of the present invention;
[0048] Figure 3 A schematic diagram of the steps of determining the recognition result of the target detection reagent card according to the fourth coordinate data set and the third coordinate data set in a specific embodiment of the present invention;
[0049] Figure 4 A schematic diagram of the steps of determining a correction data set according to a first coordinate data set and a second coordinate data set in a specific embodiment of the present invention;
[0050] Figure 5 It is a schematic diagram of the steps of the detection process of the reagent card when the detection reagent card has two detection lines in another specific embodiment of the present invention;
[0051] Figure 6 A schematic diagram of the steps of determining the first frame and the second frame of the positioning frame in the detection image of the target detection reagent card according to the y-axis coordinate of the starting point and the height of the positioning frame in a specific embodiment of the present invention;
[0052] Figure 7 It is a schematic diagram of a positioning frame of a standard image obtained by a standard reagent card on a standard machine in Example 1 of the present invention;
[0053] Figure 8 It is a schematic diagram of a positioning frame of an image obtained by a standard reagent card on a detection device in Example 1 of the present invention;
[0054] Fig. 9 This is a schematic diagram of the recognition result of the detection reagent card in Example 1 of the present invention;
[0055] Fig.10 This is a schematic diagram of the recognition result of the detection reagent card in Example 2 of the present invention;
[0056] Fig.11 It is a structural schematic diagram of a detection reagent card recognition system in a specific embodiment of the present invention;
[0057] Fig.12 The figure is a schematic diagram of the structure of a detection reagent card identification device in a specific embodiment of the present invention. DETAILED DESCRIPTION
[0058] The embodiments of the present invention are described in detail below with reference to the accompanying drawings to illustrate the principles and processes of the detection reagent card recognition method, system, device and storage medium in the embodiments of the present invention.
[0059] Reference Figure 1 , Figure 1 Schematic diagram of the steps of a detection reagent card identification method provided in an embodiment of the present application. Figure 1 In the present invention, the detection reagent card identification method may include but is not limited to steps S101 to S104.
[0060] S101, obtaining a first coordinate data set of the standard reagent card on the standard machine, a second coordinate data set of the standard reagent card on the detection device, and a third coordinate data set of the control reagent card on the standard machine.
[0061] It should be noted that the standard machine and the testing equipment have at least the same optical structure, but in terms of component precision and assembly error, the standard machine has higher standards and requirements. In the actual production process, the standard machine is usually used to help calibrate the testing equipment.
[0062] It should also be noted that due to the slight differences in the optical structure or assembly precision between the standard machine and the detection equipment, two sets of machines will obtain two images with slightly different sizes and positions when shooting the same object. Therefore, for the sake of distinction, in this application, the positioning frame in the standard image of the standard detection reagent card captured by the standard machine is called the standard positioning frame; the positioning frame in the calibration image of the standard detection reagent card captured by the detection equipment is called the calibration positioning frame; the positioning frame in the standard image of the control reagent card captured by the standard machine is called the control positioning frame; the positioning frame in the calibration image of the target detection reagent card captured by the detection equipment is called the detection positioning frame.
[0063] It is understandable that the control reagent card and the target detection reagent card are two cards produced in the same batch. In theory, the control reagent card and the target detection reagent card should be the same reagent card, but this is difficult to achieve in practice, because a reagent card can only be used for detection once, the control reagent card is used on the standard machine before leaving the factory, and the target detection reagent card is a card used in actual detection actions (such as drug driving road inspections). Therefore, only reagent cards can be extracted from the detection reagent cards produced in the same batch as control reagent cards. At the same time, since the control reagent card is a reagent card extracted by the manufacturer as a control, it is not necessary to determine its test results. After obtaining the coordinate data of the control reagent card on the standard machine, the calibration data is converted to obtain the target detection reagent card on the detection equipment. The identification interval of the quality control line (referred to as C line) and the detection line (referred to as T line)
[0064] The first coordinate data set refers to the coordinate data set of the standard positioning frame. The first coordinate data set may include but is not limited to the height, width, center point coordinates of the positioning frame, and starting point coordinates of the positioning frame. The positioning frame may be a rectangular frame, and the starting point coordinates of the positioning frame may be the upper left corner of the positioning frame. The second coordinate data set refers to the coordinate data set of the calibration positioning frame. The third coordinate data set refers to the coordinate data set of the comparison positioning frame.
[0065] For example, refer to Figure 2 ,exist Figure 2 In the figure, the rectangular frame with a smaller inner area is the standard positioning frame. Figure 2 Medium 1 The corresponding coordinates are the starting coordinates of the standard positioning frame. 0is the coordinates of the center point of the standard positioning frame. The second coordinate data set is the coordinate data set of the standard reagent card on the detection device. Similarly, the second coordinate data set can include the height, width, center point coordinates of the calibration positioning frame and the coordinates of the starting point of the calibration positioning frame. The third coordinate data set is the coordinate data set of the control reagent card on the standard machine. Similarly, the third coordinate data set can include the height, width, center point coordinates of the control positioning frame and the coordinates of the starting point of the control positioning frame. It can be understood that the starting point coordinates of each positioning frame can be the coordinates corresponding to the upper left corner vertex of each positioning frame, or the coordinates corresponding to the remaining three vertices of each positioning frame, but the starting points of the four positioning frames must meet the requirement of taking the same vertex at the same time, that is, when the standard positioning frame takes the upper left corner vertex as the starting point, the starting points of the remaining three positioning frames must also select the upper left corner vertex.
[0066] In some feasible embodiments of the application, the processor may first establish a wired or wireless connection with the standard machine and the detection device. After the connection is established, the processor may receive a first coordinate data set of the standard reagent card from the standard machine and a third coordinate data set of the control reagent card, and may also receive a second coordinate data set of the standard reagent card measured by the actual detection device.
[0067] It should be noted that the above-mentioned wired connection method may include a connection between a mobile device and a processing module, and may also include a connection between a processing module and a hardware device, as well as a wired connection between other devices currently known or to be developed in the future and the processing module; and the above-mentioned wireless connection method may include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (Ultra Wide Band) connection, and other wireless connection methods currently known or to be developed in the future.
[0068] S102: Determine a correction data set according to the first coordinate data set and the second coordinate data set.
[0069] It is understandable that the calibration data set may include but is not limited to the magnification and reduction coefficients between the standard machine and the detection device and the offset of the coordinates, and the coordinate offset may include the offset of the x-axis coordinate and the offset of the y-axis coordinate.
[0070] In some embodiments of the present application, after the processor obtains the first coordinate data set and the second coordinate data set, a correction data set including the magnification and reduction coefficients, the offset of the X-axis coordinate, and the offset of the Y-axis coordinate can be calculated by a preset algorithm. Because there may be slight differences in the optical structure or assembly precision of the standard machine and the detection equipment, which results in two images of slightly different sizes and positions when the two sets of machines shoot the same object, in the present application, it is reflected in the difference in the coordinate data of the positioning frame. The correction data set is a set of data used to correct the deviation of the coordinate data obtained by the standard machine and the detection equipment.
[0071] S103: Determine a fourth coordinate data set of a detection positioning frame of the target detection reagent card in the detection image on the detection device according to the calibration data set and the third coordinate data set.
[0072] It is understandable that the target detection reagent card can be any detection reagent card in the actual detection process. The fourth coordinate data set can be a fourth coordinate data set of the detection positioning frame. The fourth coordinate data set can include the coordinates of the positioning frame starting point, the positioning frame width, the positioning frame height, and the positioning frame center.
[0073] In some feasible embodiments of the present application, the third coordinate data set is a coordinate data set of the reference positioning frame. After the processor obtains the third coordinate data set, it can calibrate the third coordinate data set through the correction data set to obtain the corresponding fourth coordinate data set.
[0074] S104: Determine the recognition result of the target detection reagent card according to the fourth coordinate data set and the third coordinate data set.
[0075] It can be understood that the fourth coordinate data set may include the height and width of the detection positioning frame, the X coordinate and Y coordinate of the origin of the detection positioning frame, and the X coordinate and Y coordinate of the center of the detection positioning frame.
[0076] In some feasible embodiments of the present application, after the processor obtains the fourth coordinate data set, it can be combined with the previously obtained third coordinate data set to finally determine the recognition result of the target detection reagent card by scanning and identifying the corresponding test line within the coordinate range of the detection positioning frame.
[0077] In addition, it should be noted that the detection equipment and the standard machine of the present application may have the same method for determining the position of the coordinate origin and the origin coordinates.
[0078] In summary, this embodiment uses an algorithm different from the pixel edge detection algorithm to process the data of the image of the reagent card. This embodiment uses the standard reagent card to calculate the correction data set between the standard machine and the detection equipment, and processes the third coordinate data set obtained subsequently to obtain the corrected fourth coordinate data set. The fourth coordinate data set and the third coordinate data set are used to determine the final recognition result. The reagent card recognition method of this embodiment is simple and easy to implement, and can effectively improve the accuracy of the reagent card result recognition.
[0079] Further, refer to Figure 3 ,exist Figure 3 In the process, step S104 may further include but is not limited to steps S201-S203.
[0080] S201. Determine the coordinates of a first frame and a second frame of a positioning frame of a target detection reagent card in a detection image on a detection device according to a fourth coordinate data set, wherein the first frame and the second frame are parallel to a detection line of the target detection reagent card.
[0081] S202, determining the positioning interval of the quality control line and the positioning interval of each detection line according to the first frame, the second frame and the third coordinate data set.
[0082] S203, identifying and locating the quality control line in the positioning interval of the quality control line and identifying and locating each detection line in its own positioning interval, and determining the recognition result of the target detection reagent card.
[0083] It is understandable that the second frame of the detection positioning frame can be determined by the y-axis coordinate corresponding to the coordinate origin of the detection positioning frame, and the first frame of the positioning frame is obtained by subtracting the height of the positioning frame from the y-axis coordinate corresponding to the coordinate origin. The target detection reagent card is marked with at least 2 detection lines, the detection line closest to the quality control line is the first detection line, the detection line second closest to the quality control line is the second detection line, and so on when the number of detection lines increases. The positioning interval of the quality control line includes the lower limit of the quality control line positioning and the upper limit of the quality control line positioning; the positioning interval of the first detection line is formed by the lower limit of the first detection line positioning and the upper limit of the first detection line positioning; the positioning interval of the second detection line is formed by the lower limit of the second detection line positioning and the upper limit of the second detection line positioning; the positioning interval of the last detection line is formed by the lower limit of the last detection line positioning and the upper limit of the last detection line positioning.
[0084] It should be noted that in the field of reagent cards, the detection lines of the reagent cards actually always exist objectively. It is just that when the concentration of the target substance in the sample is lower than a certain threshold, the color or excitation light of each detection line cannot be recognized by the human eye or machine.
[0085] In some embodiments, the correction data set includes a scaling factor f and a scaling offset Δy of the y-axis, and the first coordinate data set includes a standard positioning frame height H 1 , Standard positioning frame center coordinate Y 0 And the standard positioning frame starting point coordinate Y 1 The second coordinate data set includes a calibration positioning frame height H 2 , the center coordinates of the calibration positioning frame, and the starting point coordinates of the calibration positioning frame.
[0086] In some embodiments, reference Figure 4 The step of determining the correction data set according to the first coordinate data set and the second coordinate data set specifically includes steps S301-S302.
[0087] S301, input the standard positioning frame height and the calibration positioning frame height into the scaling calculation formula to obtain the scaling coefficient, wherein the scaling calculation formula is: H 2 =f*H 1 .
[0088] S302, the scaling factor f, the y-axis coordinate Y of the calibration positioning frame starting point coordinate 2 , the y-axis coordinate Y of the center coordinate of the standard positioning frame 0 And the y-axis coordinate Y of the starting point coordinate of the standard positioning frame 1 Enter the offset calculation formula to obtain the scaling offset Δy of the y-axis, where the offset calculation formula is:
[0089] Y 2 =Y 0 +f*(Y 0 -Y 1 +Δy).
[0090] Next, according to the above-mentioned data, the identification step of the quality control line and the detection line is entered: in the identification method of this embodiment, the detection line will be identified only when the quality control line is identified in the positioning interval of the first detection line. Because when the quality control line cannot be identified, it means that the current test is invalid, and it is meaningless to continue to identify the detection line.
[0091] The third coordinate data set includes the coordinates of the control quality control line and the coordinates of each control detection line.
[0092] It is understood that the control quality control line coordinates are the coordinates of the control quality control line in the control reagent card detection image. The first control detection line coordinates are the coordinates of the first control detection line in the control reagent card detection image. The second control detection line coordinates are the coordinates of the second control detection line in the control reagent card detection image. The third control detection line coordinates are the coordinates of the third control detection line in the control reagent card detection image. When the number of detection lines is more than 3, continue to follow the same logic.
[0093] (I) Reference Figure 5 When the detection reagent card has two detection lines, the detection process may include steps S401-S403.
[0094] S401. Identify the quality control line in the quality control line positioning interval.
[0095] According to the coordinates of the control quality control line, the coordinates of the first control detection line and the scaling factor, the upper limit of the quality control line positioning is determined, and then the position coordinates of the quality control line are determined by combining the first frame as the lower limit of the quality control line positioning.
[0096] S402: Identify a first detection line in a first detection line positioning interval.
[0097] According to the coordinates of the control quality control line, the first control test line coordinates, the second control test line coordinates and the scaling factor, the upper limit of the first test line positioning is determined, and then the quality control line is combined as the lower limit of the first test line positioning to finally identify whether the first test line exists.
[0098] S403, identifying the second detection line in the second detection line positioning interval. S403 may include two solutions (1) and solution (2).
[0099] Solution (1): The first detection line is used as the lower limit of the second detection line positioning, and the second frame is used as the upper limit of the second detection line positioning. According to the second detection line positioning interval formed by the first detection line and the second frame, whether the second detection line exists is identified;
[0100] Solution (2): Determine the lower limit of the second detection line positioning based on the coordinates of the control quality control line, the coordinates of the first control detection line and the scaling factor, and then combine the second frame as the upper limit of the second detection line positioning to finally identify whether the second detection line exists.
[0101] (ii) When the detection reagent card has three detection lines, the detection process may include steps S401'-S404'.
[0102] S401', step S401' of identifying the quality control line is consistent with step S401.
[0103] S402', step S402' of identifying the first detection line is consistent with step S402.
[0104] S403', the step of identifying the second detection line in the positioning interval of the second detection line is different from S403, and step S403' may include solutions (a) and (b).
[0105] Solution (a): Determine the upper limit of the second test line positioning based on the control quality control line coordinates, the second control test line coordinates, the third control test line coordinates, and the scaling factor, and then combine the position coordinates of the first test line as the lower limit of the second test line positioning to finally identify whether the second test line exists.
[0106] In some embodiments, the upper limit is specifically the difference between the coordinate value of the middle position of the second control test line and the third control test line and the coordinate value of the control quality control line multiplied by f, plus the coordinate value of the quality control line.
[0107] Solution (b): Determine the upper limit of the second test line positioning based on the control quality control line coordinates, the second control test line coordinates, the third test line and the scaling factor; then determine the lower limit of the second test line positioning based on the control quality control line coordinates, the first control test line coordinates and the scaling factor, and finally identify whether the second test line exists.
[0108] S404 ′, the step of identifying the third detection line in the positioning interval of the third detection line may include solution (i) and solution (ii).
[0109] Solution (i): Use the second detection line as the lower limit of the third detection line positioning, and the second frame as the upper limit of the third detection line positioning. According to the positioning interval of the third detection line formed by the second detection line and the second frame, identify whether the third detection line exists.
[0110] Solution (ii): Determine the lower limit of the third test line positioning based on the coordinates of the control quality control line, the coordinates of the second control test line, and the scaling factor, and then combine the second frame as the upper limit to finally identify whether the third test line exists.
[0111] When using the detection equipment for qualitative analysis, when the detection line is identified in any two or more detection line positioning intervals, the processor can obtain the result corresponding to the target substance in the detection, and the specific type of the target substance corresponds to the type identified by the corresponding detection line.
[0112] When using detection equipment for quantitative analysis, it is also necessary to use detection algorithms to perform quantitative analysis on the detection line to identify and calculate the detection content of the corresponding target substance.
[0113] Since there are only slight differences between the coordinate data obtained by the standard machine and the detection equipment for the same reagent card, the coordinate data and correction data set of the reagent card in the standard machine can be used to help find the relevant coordinate data of the reagent card in the detection equipment. For example, when the coordinates of the reagent card detection line are obtained in the standard machine, then combined with the correction data set such as the scaling factor and offset, the coordinate range of the reagent card detection line in the detection equipment can be roughly known. Therefore, the detection line can be identified more accurately without misidentification (when the first detection line of the reagent card is negative or does not show color, the device mistakenly identifies the second detection line as the first detection line).
[0114] Further, refer to Figure 6 According to the y-axis coordinate of the starting point and the height of the positioning frame, determining the first frame and the second frame of the positioning frame in the detection image of the target detection reagent card may include steps S501 and S502.
[0115] S501 . Determine a second frame according to the y-axis coordinate of the starting point of the positioning frame.
[0116] S502: Subtract the y-axis coordinate value of the starting point of the positioning frame from the height of the positioning frame to obtain a first difference, and use the horizontal line corresponding to the first difference as the first frame of the positioning frame in the detection image of the target detection reagent card.
[0117] In some feasible embodiments of the present application, the processor can determine the starting height of the starting point based on the y-axis coordinate of the starting point of the positioning frame; the processor subtracts the starting height from the height of the positioning frame to obtain the first border of the positioning frame in the detection image of the target detection reagent card.
[0118] Exemplarily, the starting coordinate of the y-axis is a, and the starting height of the starting point can be determined to be a. The height of the positioning frame is H, and the y-axis coordinate of the first frame of the positioning frame in the detection image of the target detection reagent card is aH.
[0119] The specific implementation principle of this application is described below with reference to the accompanying drawings:
[0120] Embodiment 1:
[0121] The main positioning method for detecting the positioning frame in this embodiment includes steps S11-S15.
[0122] S11, put the standard reagent card on the standard machine, take a photo to get the standard image, and obtain coordinate data①, including the starting point coordinates of the standard positioning frame, the width of the standard positioning frame, the height of the standard positioning frame, and the center point coordinates of the standard positioning frame. Figure 7 , Figure 7 This is a schematic diagram of the standard image and standard positioning frame. 1 (X 1 , Y1 ) is the starting point coordinate of the standard positioning frame, W 1 , H 1 The width and height of the standard positioning box; point P 0 (X 0 , Y 0 ) is the center point of the image and also the center point coordinate of the standard positioning frame.
[0123] S12, calibrate the detection device with the standard reagent card, take a photo to obtain the calibration image of the standard reagent card on the detection device, obtain a set of corresponding coordinate data ②, refer to Figure 8 The coordinate data includes the starting point coordinates P of the calibration positioning frame on the detection device 2 (X 2 , Y 2 ), calibrate the positioning frame width W 2 And calibrate the positioning frame height H 2 The calibration image refers to the image of the standard reagent card in any detection device.
[0124] S13, according to coordinate data ① and coordinate data ②, calculate and obtain the relevant calibration parameters f, △x, △y of the detection equipment corresponding to the standard machine. Among them, △x and △y are the coordinate offsets in the x direction and y direction respectively, and f is the scaling factor. The specific relevant formula is as follows:
[0125] W 2 =f*W 1 ;
[0126] H 2 =f*H 1 ;
[0127] X 2 =X 0 +f*(X 0 -X 1 +Δx);
[0128] Y 2 =Y 0 +f*(Y 0 -Y 1 +Δy).
[0129] S14, placing the control reagent card on the standard machine to obtain the coordinate data ③ of the detection reagent card. The coordinate data ③ may include the width W of the control positioning frame corresponding to the control reagent card under the standard machine. 3 , compare the width H of the positioning frame 3 , compare the starting point coordinates P of the positioning frame 3 (X 3 , Y 3 ), C coordinates and T line coordinates. Enter the coordinate data③ into the IC card.
[0130] S15. Before testing, the data in the IC card is imported into the testing equipment to start testing.
[0131] S16, adding sample to the target detection reagent card, placing it on the detection device and taking a photo to obtain the detection image.
[0132] S17, calculate and obtain the coordinate data ④ of the detection positioning frame in the detection image of the target detection reagent card. The coordinate data ④ may include the detection positioning frame width W, the detection positioning frame height H and the detection positioning frame starting point coordinates (X, Y). The calculation relationship is as follows:
[0133] W=f*W 3 ;
[0134] H=f*H 3 ;
[0135] X=X 0 +f*(X 0 -X 3 +Δx);
[0136] Y=Y 0 +f*(Y 0 -Y 3 +Δy).
[0137] After the target detection reagent card is loaded with the sample, the corresponding detection result is presented. The method for identifying and locating the quality control line and the three detection lines of the target detection reagent card may include steps S21-S25.
[0138] S21. Based on coordinate data ③ and coordinate data ④, start from the first frame of the detection positioning frame and search upward for line C. The upper limit of the search range is line C in coordinate data ③ and line T 1 The coordinate value of the middle position of the line *f.
[0139] S22. If no result is found in the upward search, it is determined that there is no C line and the detection fails.
[0140] S23, find the C line, then continue to search upwards for T 1 , the lower limit is line C, and the upper limit is T in coordinate data ③ 1 Line and T 2 The difference between the coordinate value of the middle position of the line and the coordinate value of the C line in the coordinate data ③*f plus the coordinate value of the C line. If there is no result, it is determined that there is no T 1 Wire.
[0141] S24, continue to search upwards for T 2 There are two search ranges: one method is to use the lower limit of T 1 Line, the upper limit is T in coordinate data ③ 2 Line and T 3The difference between the coordinate value of the middle position of the line and the coordinate value of the line C in the coordinate data ③*f plus the coordinate value of the line C. The lower limit of another method is the difference between the coordinate data ③ and the line C. 1 The coordinate difference *f plus the C line coordinate, the upper limit is the C line coordinate and the C and T in the coordinate data ③ 2 、T 3 The sum of the coordinate difference of the middle position * f, if there is no result, it is determined that there is no T 2 Wire.
[0142] S25, continue to search for T upwards 3 The upper limit of the search range is the second border of the detection positioning box, and there are two ways to set the lower limit: one method is to set the lower limit to T 2 Another method is to use the lower limit of the C line coordinate and the C and T in the coordinate data ③. 2 The sum of the coordinate difference * f, if there is no result, it is determined that there is no T 3 Wire.
[0143] In the above embodiment, the C line is a quality control line used to determine whether the detection is effective. 1 The line is used to detect whether substance A exists in the reagent. 2 The line is used to detect whether substance B exists in the reagent. 3 The line is used to detect whether there is substance C in the reagent. Within the positioning frame, the quality control line C can be identified at T 1 Below the line, T 1 The line can be 2 Below the line, T 2 The line can be 3 Below the line.
[0144] For example, refer to Fig. 9 In this embodiment, the known coordinate data ③ C, T 3-1 、T 3-2 、T 3-3 The Y coordinates are: 3-C , Y 3-1 , Y 3-2 and Y 3-3 The coordinate of the bottom edge of the positioning box is Y min , the upper edge coordinate is Y max The scaling factor f is calculated from the coordinate data ① and the coordinate data ②. The specific steps of this embodiment include:
[0145] a. Find line C: The range of finding line C is [Y min ,((Y 3-1 +Y 3-C ) / 2)*f]; If the C line is not found, the test is considered invalid and there is no need to find the T line. If the C line is found, the coordinate of the C line is marked as Y 4-C ;
[0146] b. Find T 1 Line: Search range is [Y 4-C ,((Y 3-1 +Y 3-2 ) / 2-Y 3-C )*f+Y 4-C ], the coordinate is Y 4-1 ;
[0147] c. Find T 2 Line: Search range is [Y 4-1 ,((Y 3-2 +Y 3-3 ) / 2-Y 3-C )*f+Y 4-C ] or [Y 4-C +(Y 3-1 -Y C )*f,((Y 3-2 +Y 3-3 ) / 2-Y 3-C )*f+Y 4-C ], the coordinate is Y 4-2 .
[0148] Find T 3 Line: Search range is [Y 4-2 , Y max ] or [Y 4-C +(Y 3-2 -Y 3-C )*f,Y max ], the coordinate is Y 4-3 .
[0149] Embodiment 2:
[0150] The main positioning method for detecting the positioning frame in this embodiment is consistent with that in Embodiment 1, and also includes steps S11 to S15.
[0151] The difference from the first embodiment is that the reagent card of the present embodiment has only two detection lines, so it is only necessary to identify and locate the quality control line and the two detection lines of the target detection reagent card. The identification and positioning method may include steps S21'-S24', wherein S21', S22', S23' are consistent with S21, S22, S23,
[0152] S24' is: continue to search for T upwards 2 The upper limit of the search range is the second border of the detection positioning box, and there are two ways to set the lower limit: one method is to set the lower limit to T 1 Another method is to use the lower limit of the C line coordinate and the C and T in the coordinate data ③. 1 The sum of the coordinate difference * f, if there is no result, it is determined that there is no T 2 Wire.
[0153] For example, refer to Fig.10 In this embodiment, the known coordinate data ③ C, T 1 、T 2 The Y coordinates are: 3-C , Y 3-1 and Y 3-2 The coordinate of the bottom edge of the positioning box is Y min , the upper edge coordinate is Y max .
[0154] The scaling factor f is calculated from the coordinate data ① and the coordinate data ②. The specific steps of this embodiment include:
[0155] a. Find line C: The range of finding line C is [Y min ,((Y 3-1 +Y 3-C ) / 2)*f]; If the C line is not found, the test is considered invalid and there is no need to find the T line. If the C line is found, the coordinate of the C line is marked as Y 4-C ;
[0156] b. Find T 1 Line: Search range is [Y 4-C ,((Y 3-1 +Y 3-2 ) / 2-Y 3-C )*f+Y 4-C ], and the coordinate is Y 4-1 ;
[0157] c. Find T 2 Line: Search range is [Y 4-1 , Y max ] or [Y 4-C +(Y 3-1 -Y 3-C )*f,Y max ], and the coordinate is Y 4-2 .
[0158] In addition, refer to Fig.11 ,and Figure 1Corresponding to the method, a detection reagent card recognition system is also provided in the embodiment of the present application. The system may include: an acquisition unit 1001, a first processing unit 1002, a second processing unit 1003 and a third processing unit 1004. Wherein the acquisition unit 1001 can be used to obtain a first coordinate data set of a standard reagent card on a standard machine, a second coordinate data set of a standard reagent card on a detection device, and a third coordinate data set of a control reagent card on a standard machine. The first processing unit 1002 can be used to determine a correction data set based on the first coordinate data set and the second coordinate data set. The second processing unit 1003 can be used to determine a fourth coordinate data set of a positioning frame in a detection image of a target detection reagent card on a detection device based on the correction data set and the third coordinate data set. The third processing unit 1004 can be used to determine the recognition result of the target detection reagent card based on the fourth coordinate data set and the third coordinate data set.
[0159] It should be noted that the acquisition unit can be any integrated circuit unit or microprocessor unit obtained by integrating a chip with processing functions and its peripheral circuits through existing integration technology. The first processing unit and the second processing unit can also be any integrated circuit module or microprocessor module obtained by integrating a chip with processing functions and its peripheral circuits through existing integration technology. The first processing unit and the second processing unit can also include one or more memories. One or more memories can be used to store specific algorithms for compression adjustment processing in this application. The specific device connection method and device settings of the acquisition unit 1001 and the first processing unit 1002, the first processing unit 1002 and the second processing unit 1003, and the second processing unit 1003 and the third processing unit 1004 are not limited.
[0160] It should be noted that the contents of the above-mentioned detection reagent card identification method embodiment are all applicable to the detection reagent card identification system embodiment. The functions specifically implemented by the detection reagent card identification system embodiment are the same as those of the above-mentioned detection reagent card identification method embodiment, and the beneficial effects achieved are also the same as those achieved by the above-mentioned detection reagent card identification method embodiment.
[0161] and Figure 1 Corresponding to the method, the present application embodiment also provides a detection reagent card identification device, the specific structure of which can be referred to Fig.12 ,include:
[0162] at least one processor 1011;
[0163] At least one memory 1012, used to store at least one program;
[0164] When the at least one program is executed by the at least one processor, the at least one processor implements the detection reagent card identification method.
[0165] The contents of the above method embodiments are all applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0166] and Figure 1 Corresponding to the method, an embodiment of the present application further provides a computer-readable storage medium, which stores instructions executable by a processor, and the processor-executable instructions are used to execute the detection reagent card identification method when executed by the processor.
[0167] The contents of the above-mentioned detection reagent card identification method embodiment are all applicable to the present storage medium embodiment. The functions specifically implemented by the present storage medium embodiment are the same as those of the above-mentioned detection reagent card identification method embodiment, and the beneficial effects achieved are also the same as those achieved by the above-mentioned detection reagent card identification method embodiment.
[0168] In some optional embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Optional embodiments are expected, wherein the order of various operations is changed and the sub-operation described as a part of a larger operation is performed independently.
[0169] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.
[0170] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several programs to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0171] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable programs for implementing the logical functions, and may be embodied in any computer-readable medium for use by a program execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch and execute a program from a program execution system, device or apparatus), or in conjunction with such program execution systems, devices or apparatuses. For purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by a program execution system, device or apparatus, or in conjunction with such program execution systems, devices or apparatuses.
[0172] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0173] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable program execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0174] Compared with the existing reagent card detection or recognition algorithm technology, the embodiment of the present invention uses a method different from the pixel edge detection algorithm to identify the reagent card. The recognition method is simple and easy to implement, and can effectively improve the accuracy of the reagent card result recognition. Specifically, this embodiment uses the standard reagent card to calculate the two sets of data between the standard machine and the detection equipment to obtain a correction data set, and processes the third coordinate data set obtained subsequently to obtain a corrected fourth coordinate data set. The fourth coordinate data set and the third coordinate data set are used to determine the final recognition result.
[0175] In view of the prior art, the detection equipment usually identifies the quality control line and the detection line of the test strip according to the set recognition order, but when one of the lines fails, there will be a phenomenon of misjudgment that the machine still recognizes according to the initial sequence. For example, when the setting is to read and identify the quality control line (C line), the first detection line (T1 line), and the second detection line (T2 line) in sequence, and the actual C line fails to show color (the C line does not show color, indicating that the detection is invalid), the machine may misjudge the T1 line as the C line, the T2 line as the T1 line, and misjudge the T2 line as not showing color, thereby misjudging the failed detection as a valid detection, affecting the normal management of the detection work. Some embodiments of the present application further propose specific identification steps that can effectively avoid misjudging the results of the reagent card, by using a standard machine to obtain a set of data for calibrating the detection equipment, and using the calibration data and the coordinate data of the reference reagent card to more accurately divide the positioning intervals between the quality control line and the detection line, and between the detection lines, effectively solving the problem of misjudgment of the detection results in the prior art.
[0176] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0177] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0178] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the described embodiments. Technical personnel familiar with the field may make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A detection reagent card identification method, characterized in that: The following steps are involved: S101, obtaining a first coordinate data set of a standard reagent card on a standard machine, a second coordinate data set of the standard reagent card on a detection device, and a third coordinate data set of a control reagent card on a standard machine; S102, determining a correction data set according to the first coordinate data set and the second coordinate data set; S103, determining a fourth coordinate data set of the target detection reagent card on the detection device according to the calibration data set and the third coordinate data set; S104, determining the recognition result of the target detection reagent card according to the fourth coordinate data set and the third coordinate data set; Among them, each coordinate data set includes at least one coordinate data of the positioning frame of the standard reagent card or the positioning frame of the detection reagent card in the standard machine image or the detection device image; the correction data set is used to correct the deviation of the coordinate data obtained by the standard machine and the detection device.
2. The detection reagent card identification method according to claim 1, characterized in that: The step S104 includes: Determine the coordinates of a first frame and a second frame of the positioning frame of the target detection reagent card in the detection device according to the fourth coordinate data set, wherein the first frame and the second frame are parallel to the detection line of the target detection reagent card; Determine the positioning interval of the quality control line and the positioning interval of each detection line according to the first frame, the second frame and the third coordinate data set; Wherein, the target detection reagent card is marked with at least 2 detection lines, the detection line closest to the quality control line is the first detection line, and the detection line second closest to the quality control line is the second detection line; The quality control line is identified and located in the positioning interval of the quality control line, and each of the at least two detection lines is identified and located in its respective positioning interval to determine the identification result of the target detection reagent card.
3. The detection reagent card identification method according to claim 2, characterized in that: The positioning interval of the quality control line includes a lower limit of the quality control line positioning and an upper limit of the quality control line positioning; The positioning interval of the first detection line is defined by a first detection line positioning lower limit and a first detection line positioning upper limit; The positioning interval of the second detection line is defined by the second detection line positioning lower limit and the second detection line positioning upper limit; The positioning interval of the last detection line is formed by the last detection line positioning lower limit and the last detection line positioning upper limit.
4. The detection reagent card recognition method according to claim 3, characterized in that: The calibration data set includes a scaling factor f and a scaling offset ∆y of the y-axis, the first coordinate data set includes a standard positioning frame height H1, a standard positioning frame center coordinate Y0, and a standard positioning frame starting point coordinate Y1; the second coordinate data set includes a calibration positioning frame height H2, a calibration positioning frame center coordinate, and a calibration positioning frame starting point coordinate; The step S102 includes: Input the standard positioning frame height and the calibration positioning frame height into a scaling calculation formula to obtain the scaling factor, wherein the scaling calculation formula is: H2 = f*H1; The scaling factor f, the y-axis coordinate Y2 of the calibration positioning frame starting point coordinate, the y-axis coordinate Y0 of the standard positioning frame center coordinate, and the y-axis coordinate Y1 of the standard positioning frame starting point coordinate are input into the offset calculation formula to obtain the scaling offset ∆y of the y-axis, wherein the offset calculation formula is: .
5. The detection reagent card identification method according to claim 4, characterized in that: The fourth coordinate data set includes the height of the detection positioning frame and the y-axis coordinate of the starting point of the detection positioning frame, the coordinates of the first frame correspond to the y-axis coordinate of the starting point plus the height of the detection positioning frame, and the coordinates of the second frame correspond to the y-axis coordinate of the starting point of the detection positioning frame.
6. The detection reagent card recognition method according to claim 4 or 5, characterized in that: The third coordinate data set includes the coordinates of the control quality control line and the coordinates of each control detection line. The step S104 includes: Identify the quality control line: determine the upper limit of the quality control line positioning according to the control quality control line coordinates, the first control detection line coordinates and the scaling factor, and then determine the position coordinates of the quality control line by combining the first frame as the lower limit of the quality control line positioning; Identify the first test line: determine the upper limit of the first test line positioning according to the control quality control line coordinates, the first control test line coordinates, the second control test line coordinates and the scaling factor, and then combine the quality control line as the lower limit of the first test line positioning, and finally identify whether the first test line exists; Identify the second detection line: use the first detection line as the lower limit of the second detection line positioning, and the second frame as the upper limit of the second detection line positioning, and identify whether the second detection line exists according to the positioning interval of the second detection line formed by the first detection line and the second frame; or, determine the lower limit of the second detection line positioning according to the control quality control line coordinates, the first control detection line coordinates and the scaling factor, and then use the second frame as the upper limit of the second detection line positioning to finally identify whether the second detection line exists.
7. The detection reagent card identification method according to claim 6, characterized in that: When the target test reagent card has a third test line: The step of identifying the second detection line is replaced by: determining the upper limit of the second detection line positioning according to the control quality control line coordinates, the second control detection line coordinates, the third control detection line coordinates and the scaling factor, and then combining the position coordinates of the first detection line as the lower limit of the second detection line positioning, and finally identifying whether the second detection line exists; or, determining the lower limit of the second detection line positioning according to the control quality control line coordinates, the first control detection line coordinates and the scaling factor; and then determining the upper limit of the second detection line positioning according to the control quality control line coordinates, the second control detection line coordinates, the third control detection line coordinates and the scaling factor, and finally identifying whether the second detection line exists; The steps for identifying the third detection line are: taking the second detection line as the lower limit of the third detection line positioning, and the second frame as the upper limit of the third detection line positioning, and identifying whether the third detection line exists according to the positioning interval of the third detection line formed by the second detection line and the second frame; or, determining the lower limit of the third detection line positioning according to the control quality control line coordinates, the second control detection line coordinates and the scaling factor, and then combining the second frame as the upper limit of the third detection line positioning, and finally identifying whether the third detection line exists.
8. A detection reagent card recognition system, characterized in that: include: An acquisition unit, used to acquire a first coordinate data set of the standard reagent card on the standard machine, a second coordinate data set of the standard reagent card on the detection device, and a third coordinate data set of the control reagent card on the standard machine; A first processing unit, configured to determine a correction data set according to the first coordinate data set and the second coordinate data set; A second processing unit, configured to determine a fourth coordinate data set of the target detection reagent card on the detection device according to the calibration data set and the third coordinate data set; The third processing unit is used to determine the recognition result of the target detection reagent card based on the fourth coordinate data set and the third coordinate data set; wherein each coordinate data set includes at least one coordinate data of the positioning frame of the standard reagent card or the positioning frame of the detection reagent card in the standard machine image or the detection device image; and the correction data set is used to correct the deviation of the coordinate data obtained by the standard machine and the detection device.
9. A detection reagent card recognition device, characterized in that include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the detection reagent card identification method as described in any one of claims 1-7.
10. A computer-readable storage medium storing instructions executable by a processor, characterized in that: The processor-executable instructions are used to execute the detection reagent card identification method as described in any one of claims 1-7 when executed by the processor.
