A method for identifying HPV test strips based on deep learning
By using a leakage sensor and a pressure-equalizing ventilation and heat dissipation mechanism in HPV test paper detection, the leakage and heat dissipation problems in the existing technology are solved, ensuring the safety and efficiency of detection.
Patent Information
- Application Number
- CN202110802456.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-15
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-07-15
AI Technical Summary
The existing technology lacks effective leakage detection and heat dissipation treatment in HPV test paper detection, resulting in insufficient operating safety and temperature rise, affecting work efficiency.
A leakage sensor is used to detect whether leakage occurs in the power cord, and through the pressure-equalizing ventilation of the first cooling fan and the second cooling fan, combined with the heat dissipation mechanism of the heat sink plate and the deformation memory capsule, the cooling water is evaporated into water vapor to absorb heat. The heat insulation effect of the dust-proof frame and dust-proof net realizes recycling and enhances the heat dissipation effect.
It ensures the operational safety of HPV test strip testing, and reduces the temperature through an effective heat dissipation mechanism, improving work efficiency.
Smart Images

Figure CN113569866B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and more specifically, to a method for identifying HPV test strips based on deep learning. Background Art
[0002] HPV virus is called human papillomavirus, which belongs to the genus Papillomavirus A of the family Papovaviridae. HPV virus infection is common in 80% of sexually active women of childbearing age, and can usually be cleared naturally by the immune system within 8-10 months. Persistent high-risk HPV virus infection is closely related to cervical cancer. Patients with cervical cancer will have increased vaginal discharge, contact bleeding, pelvic inflammatory anemia, and vaginitis. Patients with cervical cancer are generally treated with hysterectomy or chemotherapy. How to prevent and treat cervical cancer has become an important issue in the development of today's society.
[0003] HPV virus detection is mainly carried out through staining microscopy, HPV DNA detection or serological tests. If the HPV virus test is negative, the doctor can appropriately extend the test. However, if the HPV virus test is positive, cell testing is required. If the cell test is abnormal, the doctor needs to conduct further treatment and testing. In cell testing, if there is foreign nucleic acid in the specimen, a color band can be seen on the test line and Hull control line of the test strip. The color band of the test strip is often not observed by the human eye, and deep learning methods are needed to assist in detection. When the existing software is used to identify PV test strips, the safety of its operation cannot be effectively guaranteed. There is a lack of corresponding leakage detection to ensure the safety of operation. At the same time, a large amount of heat will be generated during operation, which will cause the temperature to rise and affect the work. Therefore, it is necessary to effectively dissipate heat. For this reason, we propose a method for identifying HPV test strips based on deep learning. Summary of the invention
[0004] 1. Technical issues to be solved
[0005] In view of the problems existing in the prior art, the purpose of the present invention is to provide a method for identifying HPV test strips based on deep learning. When the body identifies the HPV test strip, it can first detect whether the power cord has leakage through the leakage sensor. If leakage occurs, the information is fed back to the alarm light for alarm to ensure the safety of work. At the same time, the equalized pressure ventilation of the first cooling fan and the second cooling fan is combined with the heat dissipation of the heat dissipation plate to evaporate the cooling water in the deformation memory capsule into water vapor to absorb heat. At the same time, the deformation memory capsule expands at high temperature to contact with the dustproof frame and dustproof net with dustproof function. The carbon dioxide gas in the dustproof frame can effectively absorb heat and insulate. Therefore, the water vapor moves upward with the expansion of the deformation memory capsule. Due to the heat insulation effect, the temperature above is lower, so it begins to condense into water droplets and drips down, realizing recycling and effectively enhancing its heat dissipation effect.
[0006] 2. Technical solution
[0007] To solve the above problems, the present invention adopts the following technical solutions.
[0008] A method for identifying HPV test strips based on deep learning, comprising the following steps:
[0009] S1. Image processing: First, run the opencv tool to read the image and convert it into a binary image;
[0010] S2, data enhancement: read 4 pictures each time, perform the same transformations of flipping, scaling, and rotating the pictures, and arrange them in four directions, combine the pictures and frames, and synthesize one picture. Calculate the data of 4 pictures in one batch calculation;
[0011] S3, model training: the data-enhanced images are passed into the target detection network, and the CBEAM attention module, SRFB structure, and Soft-NMS algorithm are used for training;
[0012] S4. Realize the recognition of test strip color strips: finally save the model weight with the lowest training loss value, load the model weight, perform the operation, use the verification set to detect the recognition accuracy of the network, the mean error mse, after multiple trainings, make the accuracy and the mean error reach the optimal level, get the trained preset weights, load the preset weights, and recognize the test strip color strips.
[0013] Furthermore, the S3 further comprises the following steps:
[0014] S31. Before running, first conduct leakage detection through auxiliary devices to ensure the safety of the operating environment. Then fix the image input size to 416×416, set the optimizer to Adam, and select the learning rate decay strategy to adjust the learning rate using the cosine annealing decay strategy. Set the initial learning rate of the cosine annealing decay strategy to 0.001, the maximum learning rate to 0.01, and the minimum learning rate to 0.0001.
[0015] S32, the number of network training iterations is 500 times. In the first 400 times of this training, the convolutional layers of the first 170 layers of the network are frozen, and the remaining convolutional layers are trained. In the last 100 times, all convolutional layers are opened and trained.
[0016] S33. In the network, the CBEAM attention module provides attention feature maps sequentially from the channel and space dimensions respectively. A local cross-channel interaction strategy without dimensionality reduction is adopted in the CBEAM attention module, which brings obvious performance recognition gain to the convolutional neural network.
[0017] Furthermore, the auxiliary device in S31 includes an installation frame, in which a body is installed, and a power cord is installed near the bottom of the front wall of the body, a leakage sensor is installed on the power cord, a mounting sleeve is provided on the power cord, and an alarm light is installed on the mounting sleeve, a first cooling fan is installed near the top on the left side of the installation frame, and a second cooling fan is installed near the bottom on the right side of the installation frame, a plurality of heat sinks are installed on the front wall of the body, and the plurality of heat sinks are linearly distributed along the vertical direction, a plurality of heat dissipation holes are provided on the heat sink, and a plurality of heat dissipation holes are installed with deformation memory capsules, the interior of the deformation memory capsules is hollow, the deformation memory capsules are filled with cooling water, and the filling degree of cooling water is 50%-60%, a dustproof frame is fixedly connected near the top in the heat dissipation hole, and a dustproof net is fixedly connected in the dustproof frame, so that when the body identifies the HPV test paper, the leakage sensor is first used to detect the HPV test paper. The device detects whether there is leakage in the power cord. If leakage occurs, the information is fed back to the alarm light for alarm to ensure work safety. At the same time, when it is working, the second cooling fan blows air into the machine body to increase the air pressure inside the machine body, and the first cooling fan draws air in the machine body to the outside to reduce the air pressure inside the machine body. By offsetting each other, equal-pressure ventilation is guaranteed to avoid heat accumulation in some areas of the machine body, which affects its work. The heat sink guides the heat generated on the machine body, and the deformation memory capsule in the heat dissipation hole expands due to heat until it contacts the dustproof frame and the dustproof net. At the same time, the cooling water in the deformation memory capsule is vaporized by heat and becomes water vapor to absorb heat. As the deformation memory capsule expands due to heat, its volume increases and flows upward. The dustproof frame and the dustproof net have a heat insulation effect, so the temperature above is lower, and the water vapor begins to condense into water droplets. As the water droplets condense and gather, they begin to drip down, realizing recycling, which effectively enhances the heat dissipation effect.
[0018] Furthermore, the installation sleeve is made of an insulating material, and a heat-insulating layer is coated on the installation sleeve. The installation sleeve is made of an insulating material and matched with the heat-insulating layer, which can play the role of insulation and heat insulation to avoid affecting the alarm light.
[0019] Furthermore, the leakage sensor and the alarm light are connected via a signal. Through the signal connection, the information monitored by the leakage sensor can be fed back to the alarm light. If leakage information occurs, an alarm will be given in time.
[0020] Furthermore, the heat sink is made of metal copper, and the surface of the heat sink is painted with anti-rust paint. Metal copper has good thermal conductivity, which facilitates the heat conduction for heat dissipation, and the anti-rust paint plays a role in rust prevention.
[0021] Furthermore, the deformation memory capsule is made of a polymer shape memory material, and the deformation memory capsule is in a contracted state at room temperature. The deformation memory capsule made of a polymer shape memory material has corresponding phase shapes at high and low temperatures.
[0022] Furthermore, the deformation memory capsule is coated with corrosion-resistant paint, which can play an anti-corrosion role and prevent the deformation memory capsule from being damaged and causing cooling water to overflow.
[0023] Furthermore, the interior of the dustproof frame is hollow and filled with carbon dioxide gas. The dustproof net is made of heat-insulating material. The carbon dioxide gas can absorb heat and provide insulation. The dustproof net made of heat-insulating material can provide good insulation.
[0024] Furthermore, the first cooling fan is a negative pressure fan, and the second cooling fan is a positive pressure fan. Through the positive and negative pressure ventilation of the first cooling fan and the second cooling fan, the machine body is ensured to have equal pressure ventilation to avoid heat accumulation in some areas.
[0025] 3. Beneficial effects
[0026] Compared with the prior art, the advantages of the present invention are:
[0027] This solution can be achieved when the body recognizes the HPV test paper. It can first detect whether the power cord has leakage through the leakage sensor. If leakage occurs, the information is fed back to the alarm light for alarm to ensure work safety. At the same time, the equalized pressure ventilation of the first cooling fan and the second cooling fan cooperates with the heat dissipation of the heat sink to make the cooling water in the deformation memory capsule evaporate into water vapor to absorb heat. At the same time, the deformation memory capsule expands at high temperature until it contacts the dustproof frame and dustproof net with dustproof function. The carbon dioxide gas in the dustproof frame can effectively absorb heat and insulate. Therefore, the water vapor moves upward with the expansion of the deformation memory capsule. Due to the heat insulation effect, the temperature above is lower, so it begins to condense into water droplets and drips down, realizing recycling and effectively enhancing its heat dissipation effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram of the method flow of the present invention;
[0029] Figure 2 It is a rear view structural schematic diagram of the auxiliary device in the present invention;
[0030] Figure 3 This is a flow chart of the channel attention module in the CBEAM module;
[0031] Figure 4 It is a schematic diagram of the CBEAM module flow chart;
[0032] Figure 5 Schematic diagram of the structure of the channel attention module and spatial attention module of CMEAM;
[0033] Figure 6 It is a structural diagram of the SRFB structure;
[0034] Figure 7 for Figure 2 The enlarged structural diagram at A in the middle;
[0035] Figure 8 for Figure 2 Schematic diagram of the enlarged structure at point B.
[0036] Description of the numbers in the figure:
[0037] 1. Installation frame; 2. Machine body; 3. Power cord; 4. Installation sleeve; 5. Warning light; 6. Heat insulation layer; 7. Leakage sensor; 8. First cooling fan; 9. Second cooling fan; 10. Heat dissipation hole; 11. Deformation memory capsule; 12. Dustproof frame; 13. Dustproof net; 14. Heat sink. DETAILED DESCRIPTION
[0038] The following will combine the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all the embodiments. All other embodiments obtained by ordinary technicians in this field without creative work based on the embodiments of the present invention belong to the scope of protection of the present invention.
[0039] In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "top / bottom" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0040] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "provided with", "mounted / connected", "connected", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0041] Example:
[0042] See also Figure 1 , a method for identifying HPV test strips based on deep learning, comprising the following steps:
[0043] S1. Image processing: First, run the opencv tool to read the image and convert it into a binary image;
[0044] S2, data enhancement: read 4 pictures each time, perform the same transformations of flipping, scaling, and rotating the pictures, and arrange them in four directions, combine the pictures and frames, and synthesize one picture. Calculate the data of 4 pictures in one batch calculation;
[0045] S3, model training: the data-enhanced images are passed into the target detection network, and the CBEAM attention module, SRFB structure, and Soft-NMS algorithm are used for training;
[0046] S4. Realize the recognition of test strip color strips: finally save the model weight with the lowest training loss value, load the model weight, perform the operation, use the verification set to detect the recognition accuracy of the network, the mean error mse, after multiple trainings, make the accuracy and the mean error reach the optimal level, get the trained preset weights, load the preset weights, and recognize the test strip color strips.
[0047] See also Figure 1 , S3 also includes the following steps:
[0048] S31. Before running, first conduct leakage detection through auxiliary devices to ensure the safety of the operating environment. Then fix the image input size to 416×416, set the optimizer to Adam, and select the learning rate decay strategy to adjust the learning rate using the cosine annealing decay strategy. Set the initial learning rate of the cosine annealing decay strategy to 0.001, the maximum learning rate to 0.01, and the minimum learning rate to 0.0001.
[0049] S32, the number of network training iterations is 500 times. In the first 400 times of this training, the convolutional layers of the first 170 layers of the network are frozen, and the remaining convolutional layers are trained. In the last 100 times, all convolutional layers are opened and trained.
[0050] S33. In the network, the CBEAM attention module provides attention feature maps sequentially from the channel and space dimensions respectively. A local cross-channel interaction strategy without dimensionality reduction is adopted in the CBEAM attention module, which brings obvious performance recognition gain to the convolutional neural network.
[0051] See also Figure 3The CBEAM structure in S3 combines the advantages of the CBAM attention module, connects a spatial attention module to the channel attention module, and takes into account the information interaction within the channel and the information interaction within the space. In the CBEAM attention module, one-dimensional sparse convolution is used to optimize the channel attention module so that the channel and the weight directly correspond to each other. Compared with the CBAM attention module, the negative impact of dimensionality reduction on the attention feature map is avoided. At the same time, one-dimensional sparse convolution is used to compress the parameters of the attention module and improve the computational efficiency. In the channel attention module in the CBEAM attention module, the feature map input into the channel attention module is first subjected to the global average pooling operation, and then the output result is subjected to the one-dimensional convolution operation, and finally the sigmoid activation operation is performed to generate the final channel attention feature map (Channelattention feature map). In the CBEAM attention module, the channel attention module uses the global average pooling (Global average Pooling) compresses in the spatial dimension, and uses one-dimensional convolution to obtain the weight value of each channel. The channel attention module in the CBEAM attention module is compressed in the spatial dimension, so that each pixel on the feature map has feedback. It uses one-dimensional convolution to allow the feature map to take into account the importance of each channel without dimensionality reduction, and uses the importance of each channel to perform gradient back propagation. When performing gradient back propagation, the network model only feeds back the gradient of the channel related to the feature map. The expression of the channel attention module is:
[0052]
[0053] The spatial attention module in the CBEAM attention module first performs global average pooling and global maximum pooling (Global Maxpooling) on the input channel attention feature map to aggregate the feature map spatial information, and then adds the two results together, uses a two-dimensional convolution to make the number of channels of the feature map become 1, and finally generates the final spatial attention feature map (Spation attention feature map) after Sigmoid activation operation. The expression of the spatial attention module is:
[0054]
[0055] Where σ is the Sigmoid operation, f1 3×3 represents a one-dimensional convolutional layer with a kernel size of 3×3, f2 7×7 Represents a 2D convolutional layer with a kernel size of 7×7.
[0056] See also Figure 6,The SRFB structure in S3 utilizes the number of parallel convolutions to further expand the receptive field of the convolution layer when extracting features, strengthen the feature extraction ability of the network, and improve the recognition performance of the model. In the SRFB structure, a convolution layer with a 3×3 convolution kernel is used instead of a convolution layer with a 5×5 convolution kernel, and a convolution layer with a 1×n and n×1 convolution kernel is used instead of a convolution layer with an n×n convolution kernel. These operations allow SRFB to reduce the number of calculation parameters and deepen the nonlinear layer. In Soft-NMS, it will not directly delete the prediction box with a relatively low score. First, it will further reduce the score of the prediction box with a relatively low score, and then it will set a threshold to delete the prediction box with a relatively low score. The Soft-NMS algorithm uses a Gaussian weight function. As shown in the formula, the current prediction box score is multiplied by a weight function, which will attenuate the scores of adjacent prediction boxes that overlap with the highest-scoring prediction box M. The more the prediction box overlaps with the highest-scoring prediction box M, the more serious the score attenuation is.
[0057]
[0058]
[0059] In this embodiment, when training the picture, the picture size is scaled proportionally or filled to 416*416, and then passed into the target detection network. The results of three feature layers are obtained in the prediction. It is inferred that the prediction results of the three feature layers can be represented by matrices, and the sizes of the matrices are (N, 13, 13, 3×p), (N, 26, 26, 3×p), and (N, 52, 52, 3×p). The network divides the original image into 13×13, 26×26, and 52×52 pixels. Each pixel has three prediction box coordinate offsets, confidence, and classification results. The coordinate offset of the prediction box of the network needs to be decoded to obtain the real coordinate offset. During decoding, the matrix of the feature layer prediction obtained needs to be transformed in matrix dimension. The transformed matrix size is (N, 13, 13, 3, p), (N, 26, 26, 3, p), and (N, 52, 52, 3, p). Each pixel predicts a vector p, and the vector p is composed of:
[0060]
[0061] t x , t y , t w , t h They represent the x-axis coordinate offset of the upper left corner of the prediction box, the y-axis coordinate offset of the upper left corner, the offset of the prediction box height, and the offset of the prediction box width.
[0062] During the decoding process, the offset of the prediction box is used to calculate the x-axis coordinate of the upper left corner of the prediction box, the y-axis coordinate of the upper left corner, the height of the prediction box, and the width of the prediction box, where t x , t y , t w , t h With b x 、b y 、b h 、b w The relational expression is:
[0063] b x =Sigmid(t x )+C x
[0064] b y =Sigmid(t y )+C y
[0065]
[0066]
[0067] Among them C x , C y Indicates the offset of the prior frame from the upper left corner of the image on the x-axis and y-axis, p w and p h represents the length and width of the prior box, b x 、b y 、b h 、b w They represent the x-axis coordinate of the upper left corner of the prediction box, the y-axis coordinate of the upper left corner, the height of the prediction box, and the width of the prediction box, respectively.
[0068] p0 is obtained from the following formula:
[0069]
[0070] Prob(object) represents the probability that the object is in the prediction box. It represents the intersection-over-union ratio of the predicted box and the real box. Represents the probability of the category to be predicted, and the obtained prediction box is continuously optimized through the loss function.
[0071] See also Figure 2 and Figure 7-8The auxiliary device in S31 includes a mounting frame 1, in which a body 2 is mounted, and a power cord 3 is mounted near the bottom of the front wall of the body 2, a leakage sensor 7 is mounted on the power cord 3, a mounting sleeve 4 is sleeved on the power cord 3, and an alarm light 5 is mounted on the mounting sleeve 4, the leakage sensor 7 and the alarm light 5 are connected via a signal, the mounting sleeve 4 is made of an insulating material, and a heat insulation layer 6 is applied on the mounting sleeve 4, a first cooling fan 8 is mounted near the top on the left side of the mounting frame 1, and a second cooling fan 9 is mounted near the bottom on the right side of the mounting frame 1, the first cooling fan 8 is a negative pressure fan, and the second cooling fan 9 is a positive pressure fan, and a plurality of heat sinks 14 are mounted on the front wall of the body 2, and the plurality of heat sinks 14 are all arranged in the vertical direction The heat sink 14 is linearly distributed, the heat sink 14 is made of metal copper, and the surface of the heat sink 14 is painted with anti-rust paint, a plurality of heat dissipation holes 10 are opened on the heat sink 14, and a plurality of heat dissipation holes 10 are installed with a deformation memory capsule 11, the interior of the deformation memory capsule 11 is hollow, the deformation memory capsule 11 is filled with cooling water, and the filling degree of the cooling water is 50%-60%, a dustproof frame 12 is fixedly connected near the top of the heat dissipation hole 10, a dustproof net 13 is fixedly connected in the dustproof frame 12, the interior of the dustproof frame 12 is hollow, the dustproof frame 12 is filled with carbon dioxide gas, and the dustproof net 13 is made of heat-insulating material, so that when the machine body 2 identifies the HPV test paper, the leakage sensor 7 is used to detect whether the power cord 3 is leaking. Leakage occurs. If leakage occurs, the information is fed back to the alarm light 5 through the signal connection to alarm. The installation sleeve 4 is made of insulating material and matched with the heat insulation layer 6, which can play the role of insulation and heat insulation to avoid affecting the alarm light 5 and ensure the safety of work. At the same time, when it is working, the second cooling fan 9 is a positive pressure fan, which blows the air flow into the body 2 to increase the air pressure inside the body 2, and the first cooling fan 8 is a negative pressure fan, which extracts the air in the body 2 to the outside and reduces the air pressure inside the body 2. By offsetting each other, equal pressure ventilation is guaranteed to avoid heat accumulation in some areas of the body 2, which affects its work. The heat sink 14 made of metal copper has good thermal conductivity, which can realize the heat generated on the body 2. The amount is guided over, and the anti-rust paint plays an anti-rust role, preventing the heat sink 14 from rusting and affecting its heat dissipation function, so that the deformation memory capsule 14 in the heat dissipation hole 10 is heated and expanded to contact the dustproof frame 12 and the dustproof net 12 with dustproof function, and at the same time, the cooling water in the deformation memory capsule 14 is heated and vaporized into water vapor to absorb heat, and as the deformation memory capsule 14 is heated and expanded, the volume increases and flows upward, and the carbon dioxide gas in the dustproof frame 12 can absorb heat and insulate, and the dustproof net 13 made of heat-insulating material can play a good heat-insulating role, so the temperature above is lower, and the water vapor begins to condense into water droplets, and as the water droplets condense and gather, they begin to drip down, realizing recycling, and effectively enhancing its heat dissipation effect.
[0072] See also Figure 8 The deformation memory capsule 11 is made of polymer shape memory material, and the deformation memory capsule 11 is in a contracted state at room temperature. The deformation memory capsule 11 is painted with corrosion-resistant paint. The deformation memory capsule 11 made of polymer shape memory material has corresponding phase shapes at high and low temperatures. The corrosion-resistant paint can play an anti-corrosion role to prevent the deformation memory capsule 11 from being damaged and causing cooling water to overflow.
[0073] When the present invention is in use, first, when the machine body 2 identifies the HPV test paper, the leakage sensor 7 is used to detect whether the power line 3 has leakage. If leakage occurs, the information is fed back to the alarm light 5 through the signal connection to alarm, thereby ensuring the safety of the work. At the same time, when it is working, the second cooling fan 9 is a positive pressure fan, which blows the air flow into the machine body 2 to increase the air pressure inside the machine body 2, and the first cooling fan 8 is a negative pressure fan, which extracts the air in the machine body 2 to the outside, thereby reducing the air pressure inside the machine body 2. By offsetting each other, equal pressure ventilation is ensured, and heat accumulation in some areas of the machine body 2 is avoided to affect its work, and the heat dissipation plate 14 realizes the machine The heat generated on the body 2 is guided over, so that the deformation memory capsule 14 in the heat dissipation hole 10 is heated and expanded to contact the dustproof frame 12 and the dustproof net 12 with dustproof function. At the same time, the cooling water in the deformation memory capsule 14 is heated and vaporized into water vapor to absorb heat, and as the deformation memory capsule 14 expands due to heat, its volume increases and flows upward, while the carbon dioxide gas in the dustproof frame 12 can absorb heat and provide heat insulation, and the dustproof net 13 made of heat-insulating material can play a good heat-insulating role. Therefore, the temperature above is lower, and the water vapor begins to condense into water droplets, and as the water droplets condense and gather, they begin to drip down, realizing recycling, and effectively enhancing its heat dissipation effect.
[0074] The above is only a preferred specific implementation manner of the present invention; but the protection scope of the present invention is not limited thereto; any technician familiar with the technical field within the technical scope disclosed by the present invention; any equivalent replacement or change based on the technical solution and improved concept of the present invention shall be covered by the protection scope of the present invention.
Claims
1. A method for identifying HPV test strips based on deep learning, characterized in that: The following steps are involved: S1. Image processing: First, run the opencv tool to read the image and convert it into a binary image; S2, data enhancement: read 4 pictures each time, perform the same transformations of flipping, scaling, and rotating the pictures, and arrange them in four directions, combine the pictures and frames, and synthesize one picture. Calculate the data of 4 pictures in one batch calculation; S3, model training: the data-enhanced images are passed into the target detection network, and the CBEAM attention module, SRFB structure, and Soft-NMS algorithm are used for training; S31. Before running, first conduct leakage detection through auxiliary devices to ensure the safety of the operating environment. Then fix the image input size to 416×416, set the optimizer to Adam, and select the learning rate decay strategy to adjust the learning rate using the cosine annealing decay strategy. Set the initial learning rate of the cosine annealing decay strategy to 0.001, the maximum learning rate to 0.01, and the minimum learning rate to 0.0001. The auxiliary device comprises a mounting frame (1), a body (2) is mounted in the mounting frame (1), a power line (3) is mounted on the front wall of the body (2) near the bottom, a leakage sensor (7) is mounted on the power line (3), a mounting sleeve (4) is sleeved on the power line (3), and an alarm light (5) is mounted on the mounting sleeve (4), a first cooling fan (8) is mounted on the left side of the mounting frame (1) near the top, a second cooling fan (9) is mounted on the right side of the mounting frame (1) near the bottom, and a plurality of cooling fans (10) are mounted on the front wall of the body (2). A plate (14), and a plurality of heat dissipation plates (14) are linearly distributed along the vertical direction, a plurality of heat dissipation holes (10) are opened on the heat dissipation plate (14), and a deformation memory capsule (11) is installed in each of the heat dissipation holes (10), the interior of the deformation memory capsule (11) is hollow, the deformation memory capsule (11) is filled with cooling water, and the filling degree of the cooling water is 50%-60%, a dustproof frame (12) is fixedly connected to the heat dissipation hole (10) near the top, and a dustproof net (13) is fixedly connected to the dustproof frame (12); S32, the number of network training iterations is 500 times. In the first 400 times of this training, the convolutional layers of the first 170 layers of the network are frozen, and the remaining convolutional layers are trained. In the last 100 times, all convolutional layers are opened and trained. S33. In the network, the CBEAM attention module provides attention feature maps sequentially from the channel and space dimensions respectively. A local cross-channel interaction strategy without dimensionality reduction is adopted in the CBEAM attention module, which brings obvious performance recognition gain to the convolutional neural network. S4. Realize the recognition of test strip color strips: finally save the model weight with the lowest training loss value, load the model weight, perform the operation, use the verification set to detect the recognition accuracy of the network, the mean error mse, after multiple trainings, make the accuracy and the mean error reach the optimal level, get the trained preset weights, load the preset weights, and recognize the test strip color strips.
2. A method for identifying HPV test paper based on deep learning according to claim 1, characterized in that: The installation sleeve (4) is made of an insulating material, and a heat insulation layer (6) is coated on the installation sleeve (4).
3. A method for identifying HPV test paper based on deep learning according to claim 1, characterized in that: The leakage sensor (7) and the warning light (5) are connected via a signal.
4. A method for identifying HPV test paper based on deep learning according to claim 1, characterized in that: The heat sink (14) is made of metal copper, and the surface of the heat sink (14) is painted with anti-rust paint.
5. A method for identifying HPV test paper based on deep learning according to claim 2, characterized in that: The shape-memory capsule (11) is made of a polymer shape-memory material, and the shape-memory capsule (11) is in a contracted state at room temperature.
6. A method for identifying HPV test paper based on deep learning according to claim 5, characterized in that: The deformation memory capsule (11) is painted with corrosion-resistant paint.
7. A method for identifying HPV test paper based on deep learning according to claim 2, characterized in that: The dustproof frame (12) is hollow inside and filled with carbon dioxide gas. The dustproof net (13) is made of a heat-insulating material.
8. The method for identifying HPV test strips based on deep learning according to claim 2, characterized in that: The first heat dissipation fan (8) is a negative pressure fan, and the second heat dissipation fan (9) is a positive pressure fan.
Citation Information
Patent Citations
An automatic identification method for physiological indexes of urinalysis test paper
CN109800777A
Liquid crystal display panel CF picture identification method based on statistical learning
CN110232406A
Remote-sensing image building change detection method
CN110705457A
Power supply chip packaging structure
CN111212516A
Oil and gas pipeline marker identification method based on neural network
CN111339858A
