A DDWConvNet-based float flowmeter reading recognition method and system

Through the DDWConvNet model, the expansion depth separable block and optimized fully connected layer are used to solve the problem of model structure complexity and low accuracy in float flowmeter reading identification, achieving efficient and accurate reading identification to meet the needs of industrial automation.

CN118506375BActive Publication Date: 2024-10-01CHANGSHA RES INST OF MINING & METALLURGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410955555.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-01
Estimated Expiration
2044-07-17

Smart Images

  • Figure CN118506375B_ABST
    Figure CN118506375B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of intelligent metallurgical engineering technology, and discloses a DDWConvNet float flowmeter reading recognition method and system, the recognition method comprising the following steps: training a DDWConvNet model, constructing a DDWConvNet float detection model; obtaining a float flowmeter image to be detected, normalizing the float flowmeter image, inputting the normalized float flowmeter image into the DDWConvNet float detection model, obtaining the corner point position and float position of the float flowmeter; calculating a perspective transformation matrix according to the corner point position and the float position, and obtaining the float flowmeter reading result according to the perspective transformation matrix. The recognition method of the present application reduces the structure of the algorithm model and improves the accuracy of the float reading.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent metallurgical engineering, and in particular to a float flowmeter reading recognition method and system. Background Art

[0002] In the vast field of industrial production, the application of variable area flowmeters is crucial, but many devices have not yet undergone digital transformation and still rely on manual readings. This traditional method is not only inefficient, but also has limited accuracy and cannot meet the strict requirements of modern industry for accuracy and efficiency.

[0003] Most of the existing target detection algorithm models are aimed at multi-target detection, and most of them are rectangular target detection. In the scenario of float flowmeter reading recognition, there is often only one target in the field of view, and the target occupies a relatively large proportion in the field of view. Conventional target detection models such as YOLO, SSD series and other algorithm model structures have low target detection accuracy and can only detect the rectangular position of the float flowmeter. To calibrate the float flowmeter, other models are needed to detect the four corner points and float of the float flowmeter. These models target images of large targets. In order to improve their global search capabilities, they need to use a deeper network structure, which not only increases the overall complexity of the algorithm, increases the running time of the model, and reduces the real-time performance of the algorithm model, but also makes the structure of the algorithm model complex and cannot accurately detect the float flowmeter. Summary of the invention

[0004] The present invention provides a float flowmeter reading recognition method and system based on DDWConvNet, so as to solve the problem that the existing algorithm model structure of the float flowmeter is complex and cannot accurately detect.

[0005] In order to achieve the above object, the present invention is implemented by the following technical solutions:

[0006] In a first aspect, the present invention provides a method for identifying float flowmeter readings using DDWConvNet (Dilated Depthwise Convolutional Network), comprising the following steps:

[0007] Step 1: Train the DDWConvNet model and build a DDWConvNet float detection model;

[0008] The backbone network of the DDWConvNet model includes several BigK Block modules for capturing features and a fully connected layer;

[0009] The BigK Block module includes a dilation depth separable block for performing spatial feature expansion;

[0010] The dilation depth separable block is designed for large kernel convolution and small kernel convolution in parallel;

[0011] The expansion depth separable block includes the following constraints:

[0012] ;

[0013] in, is the kernel size of large kernel convolution; is the kernel size of small kernel convolution; is the expansion rate;

[0014] Step 2: Obtain the float flowmeter image to be detected, normalize the float flowmeter image, input the normalized float flowmeter image into the DDWConvNet float detection model, and obtain the corner point position and float position in the float flowmeter image;

[0015] Step 3: Obtain the float flow meter reading result based on the corner point position and the float position.

[0016] Through the above design, the large kernel convolution module is improved, the complexity of the algorithm is reduced, and the real-time performance of the algorithm is improved. By optimizing the fully connected layer and the output, the structure of the model is simplified. The output detection is taken as a single target, which improves the detection accuracy of the model for the corner points and floats of the float flowmeter. In addition, the expansion depth separable block also enables the model to adapt to polygon detection, which improves the accuracy and real-time performance of large target detection.

[0017] In the context of industrial automation and digital transformation, there is an urgent need for float flowmeter reading recognition technology, as well as the limitations of existing technologies. The technical solution proposed in this application significantly improves the recognition accuracy and real-time performance of float flowmeter readings, providing a more efficient and accurate method for flow measurement in industrial production. It not only helps to improve production efficiency, but also ensures product quality and promotes the development of industrial production towards intelligence and automation.

[0018] In the DDWConvNet float detection model of the present invention, efficient feature extraction and accurate target positioning are achieved through a multi-level convolutional network architecture.

[0019] Furthermore, the backbone network of the DDWConvNet float detection model also includes several SmallK BlocK modules for deep feature learning.

[0020] Furthermore, the construction of the DDWConvNet float detection model includes the following steps:

[0021] Step 101: Obtain several images of float flowmeters, filter and mark all images with true labels, perform normalization processing as a dataset, and divide the dataset into a validation set and a training set according to a preset ratio, and determine the loss function of the DDWConvNet float detection model and optimizer;

[0022] Step 102: Perform data enhancement on the training set, input the data-enhanced training set into the DDWConvNet model for training, and obtain the float position recognition result in the image. With the goal that the float position recognition result in the image by the DDWConvNet model is close to the true label, the learning rate is adjusted in combination with back propagation and the optimizer to reduce the loss function ;

[0023] Step 103: Repeat step 102 until the evaluation result obtained from the verification set input DDWConvNet model reaches a predetermined index, and the DDWConvNet model that reaches the predetermined index is used as the DDWConvNet float detection model.

[0024] Among them, screening and true labeling of all images refers to manually screening the acquired float flowmeters, removing the images that do not capture the corner points and floats of the float flowmeter, reading the corner points and floats of the float flowmeter in the remaining images, and marking them accordingly;

[0025] Normalization refers to standardizing images so that they are of uniform size and pixel value range;

[0026] Data augmentation includes rotation, scaling, and inversion of images.

[0027] Further, in step 101, the optimizer includes stochastic gradient descent or Adam algorithm.

[0028] Furthermore, the loss function Including category loss, rectangle position loss, corner position loss and float position loss, the loss function The expression is:

[0029] ;

[0030] in, , , as well as are weight coefficients, is the category loss, is the rectangle position loss, is the corner point position loss, is the float position loss;

[0031] Said The expression is:

[0032] ;

[0033] in, is the true label, is the predicted probability, is the sample size;

[0034] Said The expression is:

[0035] ;

[0036] in, is the predicted bounding box, is the true bounding box;

[0037] Said The expression is:

[0038] ;

[0039] in, are the real corner coordinates, are the predicted corner coordinates;

[0040] Said The expression is:

[0041] ;

[0042] in, are the real float coordinates, are the predicted float coordinates.

[0043] Through the above design, the loss function set for the float flowmeter , which improves the model training effect and reduces the prediction error.

[0044] Furthermore, in step 103, if the evaluation result does not reach the predetermined index, the learning rate, the training set batch size or the model structure is adjusted;

[0045] The predetermined indicators include the accuracy, recall rate and F1 score of the DDWConvNet model.

[0046] Furthermore, obtaining the float flowmeter reading result according to the corner point position and the float position includes calculating a perspective transformation matrix according to the corner point position and the float position, correcting the float flowmeter image according to the perspective transformation matrix, and obtaining the float flowmeter reading result according to the corrected float flowmeter image.

[0047] Through the above design, the perspective transformation matrix solves the problem that the corner points and float position offset cannot be corrected due to image offset when the target detection algorithm is applied to the float flowmeter reading, thereby improving the accuracy of reading recognition.

[0048] Further, the calculating the perspective transformation matrix according to the corner point positions and the float position includes: determining the corner point positions and the corresponding corner point image positions in the float flowmeter image, and constructing the perspective transformation matrix according to the corner point positions and the corner point image positions;

[0049] The expression for correcting the float flowmeter image according to the perspective transformation matrix is:

[0050] ;

[0051] in, is the perspective transformation matrix, is the scaling factor in homogeneous coordinates, is the horizontal coordinate of the float in the float flowmeter image, is the vertical coordinate of the float in the float flowmeter image, is the unscaled horizontal coordinate of the float after being corrected by the perspective transformation matrix, is the unscaled vertical coordinate of the float after being corrected by the perspective transformation matrix;

[0052] The method of obtaining the float flowmeter reading result according to the modified float flowmeter image includes: obtaining the float reading result, i.e. the float flowmeter reading result, according to the pixel coordinates of the 0 scale and the maximum scale in the modified float flowmeter image, combining the corner image coordinates and the float pixel coordinates;

[0053] The above process expression is:

[0054] ;

[0055] in, is the reading result of the float, is the pixel coordinate of the float in the image, is the pixel coordinate of 0 scale, is the pixel coordinate of the maximum scale, is the actual value of the maximum scale.

[0056] In a second aspect, a DDWConvNet float flowmeter reading recognition system is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned methods when executing the computer program.

[0057] Beneficial effects:

[0058] The present invention provides a DDWConvNet float flowmeter reading recognition method and system, which realizes automatic reading of the float flowmeter through machine vision technology, reduces manual operation, improves reading efficiency and accuracy, realizes single target detection and corner point precise positioning through improved model, improves reading accuracy, and improves reading recognition speed, meeting the high real-time requirements in industrial production;

[0059] The improved model can adapt to polygonal target detection and improves the adaptability to float flowmeters of different shapes and sizes. The improved and optimized structure reduces the complexity of the algorithm and improves the operating efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 It is a flow chart of a float flowmeter reading recognition method of DDWConvNet in the present invention;

[0061] Figure 2 Schematic diagram of the corner point and float in the float flowmeter of the present invention (in Figure 2 In the float flowmeter, the four corners of the shell are corner points, and the water drop-shaped ball in the reading tube is the float);

[0062] Figure 3 It is a schematic diagram of the overall principle of the DDWConvNet float detection model of the present invention;

[0063] Figure 4 This is a schematic diagram of the BigK Block module principle in the present invention;

[0064] Figure 5 Schematic diagram of the principle of the expansion depth separable block in the present invention (where r represents the expansion ratio);

[0065] Figure 6 It is a schematic diagram of the principle of the SmallK Block module in the present invention. DETAILED DESCRIPTION

[0066] The technical solution of the present invention is described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0067] Unless otherwise defined, the technical or scientific terms used in the present invention shall have the usual meanings understood by persons with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one" or "a" do not indicate a quantity limitation, but indicate the existence of at least one. Words such as "connected" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.

[0068] See also Figure 1-2 The present application embodiment provides a DDWConvNet float flowmeter reading recognition method, comprising the following steps:

[0069] Step 1: Train the DDWConvNet model and build a DDWConvNet float detection model;

[0070] See also Figure 3 ,In this embodiment, the DDWConvNet model is a multi-layer convolutional network architecture, and the front end is composed of 24 3×3 convolutional modules with a stride of 2, which are responsible for the preliminary feature extraction;

[0071] 64 BigK Block*2 modules are introduced to capture more complex features through a larger receptive field. The model also includes 64 3×3 convolution modules with a stride of 3 and 128 BigK Block*2 modules, which further improve the feature extraction capability of the model.

[0072] In the deep network, 128 SmallK Block modules and 128 3×3 convolution modules with a stride of 2 are used for deep feature learning, which improves the model's sensitivity to details. The head layer of the model is built with two SmallK Block modules, each of which contains 3 32 3×3 convolution modules with a stride of 1, focusing on the extraction of high-resolution features.

[0073] Finally, the prediction result is output through a fully connected layer.

[0074] See also Figure 4-5 ,In the BigK Block module, it includes a dilated depth-separable block for spatial feature expansion;

[0075] Specifically, the BigK Block module starts from the input layer and performs preliminary feature conversion through a 1×1 convolution block. Subsequently, the feature map is expanded through the DDWBlock (i.e., dilated depth separable block) to expand the spatial features to enhance the receptive field of the model. Then, another 1×1 convolution block is used for further feature fusion. Next, the SE (Squeeze and Excitation) block weights the features by importance, strengthening the model's ability to capture key features. Finally, after summing the features with the initial 1×1 convolution block and then passing through a 1×1 convolution block, the model outputs a refined feature map.

[0076] The above design not only optimizes the transmission and fusion of features, but also significantly improves the network's ability to capture large-scale features through the application of dilated convolution, thereby enhancing the performance of the model while maintaining computational efficiency.

[0077] Among them, the dilated depth separable block is designed for large kernel convolution and small kernel convolution in parallel;

[0078] The network receptive field is increased by dilated convolutions, while the model complexity is reduced by depth-separable means. This design allows the model to effectively capture small-scale patterns during training and combine these patterns with the output of large-kernel convolutions through 1×1 convolution layers. This structural design allows small-kernel convolutions to be equivalently fused with large-kernel convolutions during inference, thereby enhancing the model's ability to capture sparse patterns, which means that the model can identify important associations between certain pixels on the feature map and distant pixels, thereby generating higher-quality feature representations.

[0079] The expansion depth separable block includes the following constraints:

[0080] ;

[0081] in, is the kernel size of large kernel convolution; is the kernel size of small kernel convolution; is the expansion rate.

[0082] by For example, a five-layer structure, and The values ​​of and , which means that the kernel size of each layer of large kernel convolution can be calculated by the formula. Substituting into the above formula, the kernel sizes of large kernel convolution are 5, 13, 7, 9, and 11 respectively.

[0083] When converting a DDWBlock to a large kernel conversion layer used during inference, each 1×1 convolution layer is first merged into the previous conversion layer, and then all dilation rates are The layers are transformed to function 1 and all resulting kernels are added with appropriate zero padding. For example, for and layer, it is converted into a sparse 7×7 kernel and combined with a 9×9 kernel with 1 pixel zero padding on both sides.

[0084] See also Figure 6 ,The backbone network of the DDWConvNet model also includes several SmallKBlocK modules for deep feature learning.

[0085] SmallK Block adopts a compact convolutional block design to achieve efficient feature extraction. The structure starts from the input layer and first performs a preliminary transformation of the features through a 1×1 convolution block. Subsequently, the feature map is further spatially decomposed through a 3×3 depthwise separable DWConv (Depthwise Convolution) to improve the computational efficiency of the model. Next, another 1×1 convolution block is used for feature fusion, followed by an SE block to weight the features by importance, which strengthens the model's ability to capture key features. Finally, after summing the features with the initial 1×1 convolution block and then passing through a 1×1 convolution block, the model outputs a refined feature map.

[0086] The feature transfer and fusion are optimized, and the computational efficiency of the network is improved through depth-wise separable convolution, so that SmallK Block can maintain the model performance while also ensuring its lightweight and real-time requirements.

[0087] Specifically, building the DDWConvNet float detection model includes the following steps:

[0088] Step 101: Obtain several images of float flowmeters, filter and label all images, perform normalization processing as a data set, and divide the data set into a validation set and a training set according to a preset ratio, and determine the loss function of the DDWConvNet float detection model and optimizer;

[0089] Optimizers include stochastic gradient descent or Adam algorithm;

[0090] Loss Function It includes category loss, rectangle position loss, corner position loss and float position loss.

[0091] Loss Function The expression is:

[0092] ;

[0093] in, , , as well as are weight coefficients, is the category loss, is the rectangle position loss, is the corner point position loss, is the float position loss;

[0094] In this embodiment, the weight coefficient ratio is:

[0095] ;

[0096] In other embodiments, the ratio of the weight coefficients may be adjusted according to the specific structure of the float flowmeter.

[0097] The expression is:

[0098] ;

[0099] in, is the true label, is the predicted probability, is the sample size;

[0100] The expression is:

[0101] ;

[0102] in, is the predicted bounding box, is the true bounding box;

[0103] The expression is:

[0104] ;

[0105] in, are the real corner coordinates, are the predicted corner coordinates;

[0106] The expression is:

[0107] ;

[0108] in, are the real float coordinates, are the predicted float coordinates.

[0109] Step 102: Perform data enhancement on the training set, input the data-enhanced training set into the DDWConvNet model for training, and obtain the float position recognition result in the image. With the goal that the float position recognition result in the image by the DDWConvNet model is close to the true label, the learning rate is adjusted in combination with back propagation and the optimizer to reduce the loss function ;

[0110] Step 103: Repeat step 102 until the evaluation result obtained from the verification set input DDWConvNet model reaches a predetermined index, and the DDWConvNet model that reaches the predetermined index is used as the DDWConvNet float detection model.

[0111] If the evaluation result does not meet the predetermined indicators, adjust the learning rate, training set batch size or model structure;

[0112] The predetermined metrics include the accuracy, recall, and F1 score of the DDWConvNet model;

[0113] Step 2: Obtain the float flowmeter image to be detected, normalize the float flowmeter image, input the normalized float flowmeter image into the DDWConvNet float detection model, and obtain the corner point position and float position in the float flowmeter image;

[0114] Step 3: Obtain the float flow meter reading result based on the corner point position and the float position.

[0115] Specifically, the corner point positions and the corresponding corner point image positions in the float flowmeter image are determined, a perspective transformation matrix is ​​constructed according to the corner point positions and the corner point image positions, the float flowmeter image is corrected according to the perspective transformation matrix, and a float flowmeter reading result is obtained according to the corrected float flowmeter image;

[0116] The four corner points of the float flowmeter are taken as source points, and the coordinates of the source points are , that is, the coordinate position of the float in the float flowmeter image before correction, and the expected coordinate is , which is the coordinate position of the float after being corrected by the perspective transformation matrix;

[0117] in, and The value range is 1-4.

[0118] A linear system of equations is constructed by using the source point coordinates and the desired coordinates to solve the perspective transformation matrix. is a 3×3 matrix obtained by solving the following system of equations:

[0119] ;

[0120] Through the perspective transformation matrix , the source coordinates of the float Convert to corrected position , the conversion formula is as follows:

[0121] ;

[0122] Finally, divide the transformed coordinates by the scaling factor Get the correct position:

[0123] ;

[0124] in, is the scaling factor in homogeneous coordinates, is the unscaled horizontal coordinate of the float after being corrected by the perspective transformation matrix, It is the unscaled vertical coordinate of the float after being corrected by the perspective transformation matrix.

[0125] According to the pixel coordinates of the 0 scale and the maximum scale in the float flowmeter image, the reading result of the float, that is, the reading result of the float flowmeter, is obtained by combining the image coordinates of the corner points and the pixel coordinates of the float;

[0126] The above process expression is:

[0127] ;

[0128] in, is the reading result of the float, is the pixel coordinate of the float in the image, is the pixel coordinate of 0 scale, is the pixel coordinate of the maximum scale, is the actual value of the maximum scale.

[0129] An embodiment of the present application also provides a DDWConvNet float flowmeter reading recognition system, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of any method in the above embodiments are implemented.

[0130] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.

Claims

1. A DDWCovNet float flowmeter reading recognition method, characterized in that: The steps include: Step 1: Train the DDWCovNet model and build the DDWCovNet float detection model; The backbone network of the DDWCovNet model includes several BigK Block modules for capturing features and a fully connected layer; The DDWCovNet model includes a front end, a convolutional layer, and a fully connected layer. The front end includes 24 3×3 convolutional modules with a step size of 2, 64 BigK Block*2 modules, 64 3×3 convolutional modules with a step size of 3, 128 BigKBlock*2 modules, and 128 3×3 convolutional modules with a step size of 2. The convolution layer includes two branches, the two branches are connected to the fully connected layer, the two branches are connected through 128 BigKBlock*2 modules and 128 3×3 convolution modules with a step size of 2, and the branches include 128 SmallKBlock modules and 3 groups of 32 convolution modules with a step size of 1 in sequence; The BigK Block module includes an input layer, a 1×1 convolution module with a stride of 1, an expansion depth separable block, a 1×1 convolution module with a stride of 1, an SE block, a 1×1 convolution module with a stride of 1, and an output layer in sequence; The SmallK Block module includes an input layer, a 1×1 convolution module with a step size of 1, a 3×3DWConv module with a step size of 1, a 1×1 convolution module with a step size of 1, an SE block, a 1×1 convolution module with a step size of 1, and an output layer in sequence; The BigK Block module includes a dilated depth separable block for performing spatial feature expansion; The dilation depth separable block is designed for large kernel convolution and small kernel convolution in parallel; The expansion depth separable block includes the following constraints: ; in, is the kernel size of large kernel convolution; is the kernel size of small kernel convolution; is the expansion rate; Step 2: Obtain the float flowmeter image to be detected, normalize the float flowmeter image, input the normalized float flowmeter image into the DDWCovNet float detection model, and obtain the corner point position and float position in the float flowmeter image; Step 3: Obtain the float flow meter reading result based on the corner point position and the float position.

2. The float flowmeter reading recognition method of DDWCovNet according to claim 1 is characterized in that: The construction of the DDWCovNet float detection model includes the following steps: Step 101: Obtain several images of float flowmeters, filter and mark all images with true labels, perform normalization processing as a data set, and divide the data set into a validation set and a training set according to a preset ratio, and determine the loss function of the DDWCovNet float detection model and optimizer; Step 102: Perform data enhancement on the training set, input the data-enhanced training set into the DDWCovNet model for training, and obtain the float position recognition result in the image. With the goal of making the float position recognition result in the image by the DDWCovNet model close to the true label, adjust the learning rate in combination with back propagation and optimizer to reduce the loss function ; Step 103: Repeat step 102 until the evaluation result obtained from the verification set input DDWCovNet model reaches a predetermined index, and the DDWCovNet model that reaches the predetermined index is used as the DDWCovNet float detection model.

3. The float flowmeter reading recognition method of DDWCovNet according to claim 2 is characterized in that: In step 101, the optimizer includes stochastic gradient descent or Adam algorithm.

4. The method for identifying the float flowmeter reading of DDWCovNet according to claim 2, characterized in that: The loss function The expression is: ; in, , , as well as are weight coefficients, is the category loss, is the rectangle position loss, is the corner point position loss, is the float position loss; Said The expression is: ; in, is the true label, is the predicted probability, is the sample size; Said The expression is: ; in, is the predicted bounding box, is the true bounding box; Said The expression is: ; in, are the real corner coordinates, are the predicted corner coordinates; Said The expression is: ; in, are the real float coordinates, are the predicted float coordinates.

5. The float flowmeter reading recognition method of DDWCovNet according to claim 2 is characterized in that: In step 103, if the evaluation result does not reach the predetermined index, the learning rate, the training set batch size or the model structure is adjusted; The predetermined indicators include the accuracy, recall rate and F1 score of the DDWCovNet model.

6. The float flowmeter reading recognition method of DDWCovNet according to claim 1, characterized in that: The method of obtaining the float flowmeter reading result according to the corner point position and the float position includes calculating a perspective transformation matrix according to the corner point position and the float position, correcting the float flowmeter image according to the perspective transformation matrix, and obtaining the float flowmeter reading result according to the corrected float flowmeter image.

7. The method for identifying the float flowmeter reading of DDWCovNet according to claim 6, characterized in that: The calculating of the perspective transformation matrix according to the corner point position and the float position includes: determining the corner point position and the corresponding corner point image position in the float flowmeter image, and constructing the perspective transformation matrix according to the corner point position and the corner point image position; The expression for correcting the float flowmeter image according to the perspective transformation matrix is: ; in, is the perspective transformation matrix, is the scaling factor in homogeneous coordinates, is the horizontal coordinate of the float in the float flowmeter image, is the vertical coordinate of the float in the float flowmeter image, is the unscaled horizontal coordinate of the float after being corrected by the perspective transformation matrix, is the unscaled vertical coordinate of the float after being corrected by the perspective transformation matrix; The method of obtaining the float flowmeter reading result according to the modified float flowmeter image includes: obtaining the float reading result, i.e. the float flowmeter reading result, according to the pixel coordinates of the 0 scale and the maximum scale in the modified float flowmeter image, combining the corner image coordinates and the float pixel coordinates; The above process expression is: ; in, is the reading result of the float, is the pixel coordinate of the float in the image, is the pixel coordinate of 0 scale, is the pixel coordinate of the maximum scale, is the actual value of the maximum scale.

8. A DDWCovNet float flowmeter reading recognition system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.