CN120908102B - A visual data acquisition system and method for water meter calibration process - Google Patents
A visual data acquisition system and method for water meter calibration processInfo
- Publication number
- CN120908102B CN120908102B CN202511437956.2A CN202511437956A CN120908102B CN 120908102 B CN120908102 B CN 120908102B CN 202511437956 A CN202511437956 A CN 202511437956A CN 120908102 B CN120908102 B CN 120908102B
- Authority
- CN
- China
- Prior art keywords
- water meter
- image data
- meter surface
- module
- model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/01—Arrangements or apparatus for facilitating the optical investigation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F25/00—Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
- G01F25/10—Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of flowmeters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/26—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/761—Proximity, similarity or dissimilarity measures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/98—Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
- G01N2021/8887—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V2201/00—Indexing scheme relating to image or video recognition or understanding
- G06V2201/02—Recognising information on displays, dials, clocks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A20/00—Water conservation; Efficient water supply; Efficient water use
Landscapes
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Pathology (AREA)
- Immunology (AREA)
- Biochemistry (AREA)
- Analytical Chemistry (AREA)
- Fluid Mechanics (AREA)
- Software Systems (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a visual data acquisition system and a visual data acquisition method in a water meter verification process, which relate to the field of water meter production detection and comprise a matrix sensing module, a data acquisition module and a data acquisition module, wherein the matrix sensing module is used for sensing water meter surface distance information and constructing a water meter surface heterogeneous model based on the water meter surface distance information; the invention combines the ranging matrix to dynamically debug the camera gesture for collecting the water meter surface image data, so that the water meter surface image data collected each time is aligned with the water meter surface heterogeneous sample model by referring to the constructed water meter surface heterogeneous model in the collecting stage, thereby improving the consistency of the water meter surface image data, further combining the image segmentation and the specific image enhancement processing logic to output the image data for water meter verification, and ensuring that the water meter verification system can execute verification operation with high-precision water meter surface images.
Description
Technical Field
The invention relates to the technical field of water meter production detection, in particular to a visual data acquisition system and a visual data acquisition method in a water meter verification process.
Background
The appearance detection of the water meter production mainly checks whether the shell, the dial plate and other parts have cracks, deformation and rust, whether the coating is even and smooth, whether the scales and the numbers are clear and wear-resistant, whether the interface threads are regular, whether the lead sealing device is good, and the appearance quality meets the standard through visual observation, touch and special tool measurement, so that the influence on the metering precision and the use safety is avoided.
In the prior art, the appearance detection of water meter production is carried out by a machine vision system, a camera is used for collecting water meter images, an image processing algorithm is used for detecting the problems of surface scratches, stains, part missing or installation dislocation and the like, and part of the system is combined with a deep learning model to improve the complex defect recognition rate. In addition, whether the appearance outline meets the standard is detected by adopting a laser scanning technology, meanwhile, the detection accuracy is ensured by assisting with manual spot check, the automatic or semi-automatic detection of the appearance size, the surface quality and other multidimensional degrees of the water meter is realized, and the production efficiency and the product quality consistency are improved.
However, in the process of detecting the appearance of the water meter, the acquisition accuracy of the image data of the water meter surface can directly influence the detection result of the appearance of the water meter, and new acquisition technology is continuously required to cope with the technical problem how to accurately acquire the image data of the water meter surface;
Therefore, a visual data acquisition system and a visual data acquisition method in the verification process of the water meter are provided.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides a visual data acquisition system and a visual data acquisition method in the water meter verification process, which can effectively solve the problems in the prior art.
In order to achieve the above object, the present invention is achieved by the following technical scheme;
the invention discloses a visual data acquisition system in a water meter verification process, which comprises the following components:
The system comprises a matrix sensing module, a modeling module, an analysis module, a selection module, a preprocessing module and an output module, wherein the matrix sensing module is used for sensing water meter surface distance information, constructing a water meter surface heterogeneous model based on the water meter surface distance information, the modeling module is used for constructing a water meter surface heterogeneous sample model, the analysis module is used for analyzing the similarity of the water meter surface heterogeneous model constructed by the real-time operation of the matrix sensing module and the water meter surface heterogeneous sample model constructed by the operation of the modeling module, executing the acquisition operation of water meter surface image data based on a similarity analysis result, the selection module is used for traversing the acquired water meter surface image data by the operation of the analysis module, selecting one piece of water meter surface image data from the water meter surface image data as water meter verification image data, the preprocessing module is used for receiving the water meter surface image data serving as the water meter verification image data in the selection module, dividing and enhancing the image data, and the output module is used for acquiring the enhanced water meter surface image, and transmitting the enhanced water meter surface image to a water meter verification system which is connected with a system in advance.
Furthermore, the matrix sensing module is integrated by a plurality of micro ranging sensors, the micro ranging sensors are transversely and longitudinally arranged at equal intervals, and the ranging ends of the micro ranging sensors are in the same plane;
In the output process of the water meter by the water meter production equipment, when the water meter is conveyed to the position right below the matrix sensing module by the output conveyor belt, the matrix sensing module triggers operation;
The matrix sensing module is connected with a mechanical arm, the mechanical arm controls the matrix sensing module to perform horizontal spiral movement under the condition that the matrix sensing module triggers an operation state, in the horizontal spiral movement process, the designated frequency is set to be not more than 10 times/second based on the designated frequency sensing water surface distance information, the horizontal spiral movement speed is not more than 1 mm/second, and the maximum diameter of a horizontal spiral movement path is not more than 3mm.
Furthermore, in the operation stage of the matrix sensing module, when sensing the water surface distance information each time, the matrix sensing module synchronously executes the construction of a water surface heterogeneous model:
And (3) obtaining the ranging results of each micro ranging sensor, drawing a longitudinal line segment representing each ranging result on the basis of one plane in a three-dimensional space, enabling the bottom ends of the drawn line segments to be positioned on the same plane, enabling the arrangement postures of the bottom ends and the micro ranging sensors to be consistent, enabling the distances from the top ends to the bottom ends of the drawn line segments to be consistent with the corresponding ranging results, and obtaining a closed three-dimensional graph formed by splicing a plurality of triangular faces on the basis of adjacent interconnection of the vertexes of the line segments and marking the three-dimensional graph as a heterogeneous model of the surface of the water meter.
Furthermore, in the operation stage of the modeling module, a system end user places the sample water meter on the output conveyor belt, the sample water meter is positioned right below the matrix sensing module, and the matrix sensing module operates to sense the distance information of the surface of the sample water meter and constructs a heterogeneous sample model of the surface of the water meter based on the distance information.
Furthermore, in the micro ranging sensor of the matrix sensing module, a micro high-definition industrial camera is arranged in a spacing space of the micro ranging sensor at the central position, and water meter surface image data is collected through the high-definition industrial camera;
The miniature high-definition industrial camera synchronously operates along with each operation of the matrix sensing module, and obeys to:
the matrix sensing module operates for the first time, the miniature high-definition industrial camera synchronously operates to acquire water meter surface image data, the analysis module synchronously operates along with each operation of the matrix sensing module, the similarity analysis is continuously executed, and the similarity analysis result is recorded from the second operation of the matrix sensing module;
When the similarity analysis result is smaller than or equal to the previous similarity analysis result, the micro high-definition industrial camera does not execute the collection operation of the water meter surface image data;
the analysis module is internally provided with a storage unit which is used for storing water meter surface image data collected by the micro high-definition industrial camera in operation.
Still further, the similarity analysis logic of the water surface isomerism model and the water surface isomerism sample model in the analysis module is expressed as:
;
Wherein: similarity of the water meter surface heterogeneous model a and the water meter surface heterogeneous sample model b; the total amount of the vertex control group in the water meter surface isomerism model a and the water meter surface isomerism sample model b; offset distance of the vertex from water meter surface isomerous model a relative to the vertex from water meter surface isomerous sample model b in the ith control group; the bottom surface longest side of the local model where the vertex from the water meter surface heterogeneous model a is located in the ith comparison group and the bottom surface longest side of the local model where the vertex from the water meter surface heterogeneous model b is located in the ith comparison group;
Wherein each vertex in each model, namely the vertex of each drawing line segment, the vertex control group consists of two model vertices which are respectively sourced from a water meter surface heterogeneous model a and a water meter surface heterogeneous sample model b, and two vertexes in a vertex comparison group correspond to the same micro ranging sensor, and local models where the vertexes are positioned are a water meter surface heterogeneous model a and a water meter surface heterogeneous sample model b, and the side surfaces where the vertexes are positioned are triangular local three-dimensional models.
Furthermore, when traversing the water meter image data, the selecting module uses the water meter surface image data stored in the storage unit as a traversing target group, executes traversing operation, selects the water meter surface image data based on the similarity analysis result of each water meter surface image data mark, enables the mark source water meter surface image data with the highest similarity analysis result to be selected, and uses the rest water meter surface image data as a deleting target to be deleted in the storage unit.
Furthermore, the system is a water meter verification system which is connected with the system in a preset mode, and the system is any existing system for carrying out water meter appearance verification through water meter surface images.
Furthermore, the matrix sensing module and the modeling module are in interactive connection with the analysis module through a wireless network, a storage unit is in interactive connection with the analysis module through the wireless network, the analysis module is in interactive connection with the selection module through the wireless network, the selection module is in interactive connection with the storage unit through the wireless network, and the selection module is in interactive connection with the preprocessing module and the output module through the wireless network.
On the other hand, the visual data acquisition method in the water meter verification process comprises the following steps of:
The method comprises the steps of constructing a ranging matrix, sensing water meter surface distance information by using the ranging matrix, constructing a water meter surface heterogeneous model based on the sensed water meter surface distance information, constructing a water meter surface heterogeneous sample model by combining a sample water meter with the ranging matrix, acquiring water meter surface image data in real time based on similarity analysis of the water meter surface heterogeneous sample model and the water meter surface heterogeneous model, marking a similarity analysis result on each acquired water meter surface image data, selecting one piece of water meter surface image data based on the similarity analysis result marked by each acquired water meter surface image data, using the selected water meter surface image data as image data for water meter verification, dividing and enhancing the water meter surface image data serving as the image data for water meter verification to acquire a water meter surface image, forwarding the acquired water meter surface image to a preset water meter system verification, and completing subsequent water meter appearance verification work through the water meter system.
Compared with the prior art, the technical scheme provided by the invention has the following beneficial effects:
The invention provides a visual data acquisition system and a visual data acquisition method in a water meter verification process, wherein in the execution process, a ranging matrix is combined to dynamically debug the posture of a camera for acquiring water meter surface image data, so that the water meter surface image data acquired each time are aligned with a water meter surface heterogeneous sample model by referring to a constructed water meter surface heterogeneous model in the acquisition stage, thereby improving the consistency of the water meter surface image data, further combining image segmentation and specific image enhancement processing logic to output the image data for water meter verification, ensuring that the water meter verification system can execute verification operation by high-precision water meter surface images, effectively optimizing the water meter surface image acquisition process, and further optimizing the accuracy of verification results of the water meter verification system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will make brief description of the drawings used in the description of the embodiments or the prior art. It is evident that the drawings in the following description are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a schematic diagram of a visual data acquisition system in a water meter verification process;
FIG. 2 is a flow chart of a visual data acquisition method in the water meter verification process;
Fig. 3 is a schematic diagram of an example of an operation gesture of a matrix sensing module in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention is further described below with reference to examples.
Example 1:
a visual data acquisition system in the verification process of a water meter of this embodiment, as shown in FIG. 1, includes:
The matrix sensing module is used for sensing the water meter surface distance information and constructing a water meter surface heterogeneous model based on the water meter surface distance information;
The matrix sensing module is integrated by a plurality of micro ranging sensors, the micro ranging sensors are transversely and longitudinally arranged at equal intervals, and the ranging ends of the micro ranging sensors are all positioned on the same plane;
in the output process of the water meter by the water meter production equipment, when the water meter is conveyed to the position right below the matrix sensing module by the output conveyor belt, the matrix sensing module triggers operation;
The matrix sensing module is connected with a mechanical arm, the mechanical arm controls the matrix sensing module to perform horizontal spiral movement in a state that the matrix sensing module triggers the operation, and in the horizontal spiral movement process, the designated frequency is set to be not more than 10 times/second based on the designated frequency sensing water surface distance information, the horizontal spiral movement speed is not more than 1 mm/second, and the maximum diameter of a horizontal spiral movement path is not more than 3mm;
In the operation stage of the matrix sensing module, when the information of the water surface distance is sensed each time, the construction of the heterogeneous model of the water surface is synchronously executed once:
Obtaining ranging results of all the miniature ranging sensors, drawing longitudinal line segments representing all the ranging results on the basis of one plane in a three-dimensional space, enabling the bottom ends of the drawn line segments to be on the same plane, enabling the arrangement postures of the bottom ends and the miniature ranging sensors to be consistent, enabling the distances from the top ends to the bottom ends of the drawn line segments to be consistent with the corresponding ranging results, and obtaining a closed three-dimensional graph formed by splicing a plurality of triangular surfaces on the basis of adjacent interconnection of the vertexes of the line segments to be recorded as a water meter surface heterogeneous model;
The modeling module is used for constructing a water meter surface heterogeneous sample model;
In the operation stage of the modeling module, a system end user places a sample water meter on an output conveyor belt, the sample water meter is positioned right below a matrix sensing module, the matrix sensing module operates to sense the distance information of the surface of the sample water meter, and a heterogeneous sample model of the surface of the water meter is constructed based on the distance information;
The analysis module is used for analyzing the similarity between the water meter surface heterogeneous model constructed by the matrix perception module in real time operation and the water meter surface heterogeneous sample model constructed by the modeling module in operation and executing the acquisition operation of water meter surface image data based on the similarity analysis result;
In the miniature ranging sensor of the matrix sensing module, miniature high-definition industrial cameras are arranged in the interval space of the miniature ranging sensor at the central position, and water meter surface image data are collected through the high-definition industrial cameras;
The miniature high-definition industrial camera synchronously runs along with each running of the matrix sensing module, and obeys to:
the matrix sensing module operates for the first time, the miniature high-definition industrial camera synchronously operates to acquire water meter surface image data, the analysis module synchronously operates along with each operation of the matrix sensing module, the similarity analysis is continuously executed, and the similarity analysis result is recorded from the second operation of the matrix sensing module;
When the similarity analysis result is smaller than or equal to the previous similarity analysis result, the micro high-definition industrial camera does not execute the collection operation of the water meter surface image data;
The analysis module is internally provided with a storage unit which is used for storing water meter surface image data collected by the running of the miniature high-definition industrial camera;
the similarity analysis logic of the water surface isomerism model and the water surface isomerism sample model in the analysis module is expressed as:
;
Wherein: similarity of the water meter surface heterogeneous model a and the water meter surface heterogeneous sample model b; the total amount of the vertex control group in the water meter surface isomerism model a and the water meter surface isomerism sample model b; offset distance of the vertex from water meter surface isomerous model a relative to the vertex from water meter surface isomerous sample model b in the ith control group; the bottom surface longest side of the local model where the vertex from the water meter surface heterogeneous model a is located in the ith comparison group and the bottom surface longest side of the local model where the vertex from the water meter surface heterogeneous model b is located in the ith comparison group;
the system comprises a model, a model b, a model a and a model b, wherein each vertex in each model, namely, each drawing line segment vertex, is composed of two model vertices, the two vertices are respectively derived from the model a and the model b, the two vertices in one vertex comparison group correspond to the same micro ranging sensor, the local model of the vertex is a triangular local three-dimensional model of the model a and the model b, and the side surface of each vertex is triangular;
Through the logic formula, the difference between the two models is measured by the offset distance between the water meter surface heterogeneous model and the corresponding vertex in the water meter surface heterogeneous sample model, and the parameters are selected in the denominator part Carrying out normalization processing on the molecules to limit the total difference of the two models to be in the range of 0-1, subtracting the normalized and averaged value from 1 to obtain the similarity of the two models, and well reflecting the similarity of the two models so as to provide logic support for the selection of the subsequent water meter surface image data;
the selection module is used for traversing the acquired water meter surface image data operated by the analysis module, and selecting one piece of water meter surface image data from the water meter surface image data as image data for water meter verification;
When traversing the water meter image data, the selecting module takes the water meter surface image data stored in the storage unit as a traversing target group, executes traversing operation, selects the water meter surface image data based on the similarity analysis result of each water meter surface image data mark, enables the mark source water meter surface image data with the highest similarity analysis result to be selected, takes the rest water meter surface image data as a deleting target, and deletes the rest water meter surface image data in the storage unit;
The preprocessing module is used for receiving the water meter surface image data serving as the image data for water meter verification in the selection module, and dividing and enhancing the image data;
the segmentation operation for the water meter surface image data in the preprocessing module obeys to:
In the system configuration and deployment stage, setting the color of a conveyor belt of the output water meter on the water meter production equipment to be different from the color of each component part of the water meter, so as to obtain a pixel set representing the water meter surface image through pixel-level pixel block distinction, and further executing segmentation operation in the water meter surface image data based on the pixel set, so as to segment the image of the area where the water meter surface is positioned, namely the water meter surface image, from the water meter surface image data, and further carrying out enhancement processing on the water meter surface image;
The enhancement processing operation for the water meter surface image in the preprocessing module obeys to:
;
Wherein: For an enhanced image; Is a local adaptive coefficient; is a gray scale transformation coefficient; is a raw water surface image; transforming an exponent to a power; Is a filtering fusion coefficient; The method is characterized by carrying out Gaussian filtering on the raw water surface image; Is the offset;
It should be noted that:
;
Wherein: variance for local areas of the image; a preset minimum variance threshold; Is constant and is in the range of 0-1;
is the local mean value of the image; The global maximum average value of the image is obtained; is an extremely small positive number, and the default value is 0.1;
Contrast for a local area; is global average contrast; is a regulatory factor;
Is the image edge intensity; the maximum edge intensity value in the image;
For adjusting the coefficient; A gray histogram for the local region I (x, y); Is the mean value of the gray level histogram; The average brightness value is a preset target average brightness value;
the method can dynamically adjust the enhancement strategy according to the local characteristics of the image through a plurality of self-adaptive parameters, adapt to water meter images with different illumination conditions, noise levels and image contents, combine nonlinear gray level conversion, gaussian filtering and self-adaptive adjustment, effectively inhibit noise while enhancing image details, avoid excessive enhancement or detail loss problems possibly occurring in the traditional method, and further emphasize the definition and the recognition degree of key information such as dial scales, numbers and the like according to the characteristics of the water meter images, so as to provide high-quality image data for subsequent image recognition and reading analysis;
the output module is used for acquiring the enhanced water meter surface image and transmitting the enhanced water meter surface image to a water meter verification system which is connected with the system in a preset manner;
the system is preset and connected with a water meter verification system which is any existing system for carrying out water meter appearance verification through water meter surface images;
The matrix perception module and the modeling module are in interactive connection with the analysis module through a wireless network, the analysis module is internally and interactively connected with the storage unit through the wireless network, the analysis module is in interactive connection with the selection module through the wireless network, the selection module is in interactive connection with the storage unit through the wireless network, and the selection module is in interactive connection with the preprocessing module and the output module through the wireless network.
In this embodiment, the matrix sensing module operates to sense the water surface distance information, constructs a water surface heterogeneous model based on the water surface distance information, the modeling module synchronously constructs a water surface heterogeneous sample model, the analysis module operates in real time to analyze the similarity between the constructed water surface heterogeneous model and the water surface heterogeneous sample model constructed by the modeling module, based on the similarity analysis result, performs the collection operation of water surface image data, the storage unit synchronously stores the water surface image data collected by the micro high-definition industrial camera, the selection module traverses the water surface image data collected by the analysis module, selects one piece of water surface image data from the water surface image data as water surface image data for water meter verification, receives the water surface image data in the selection module as the water surface image data for water meter verification through the preprocessing module, performs segmentation and enhancement processing on the image data, and finally acquires the enhanced water surface image through the output module, and transmits the enhanced water surface image to the water meter verification system preset connected with the water meter verification system.
It should be noted that the water meter verification system mentioned by the output module is preset by a system end user, and the water meter verification system verifies whether the appearance of the water meter is qualified or not through water meter surface image analysis, for example, a water meter detection system based on YOLOv and a water meter reading identification system based on CRNN.
In the embodiment, the system constructs the heterogeneous model by sensing the water surface distance information, performs similarity analysis with the sample model to acquire the image, can accurately capture the water surface image with highest reference value, dynamically selects the image according to the similarity analysis result and performs preprocessing in the acquisition process to ensure that the high-quality image for verification is acquired, and the intelligent and accurate acquisition of the water surface image is realized.
Referring to fig. 3, the spiral line above the figure illustrates a manner in which the mechanical arm controls the matrix sensing module to perform horizontal spiral movement, and the arrow matrix below the figure illustrates a distribution gesture and a reverse direction of the micro ranging sensor in the matrix sensing module.
Example 2:
on the aspect of implementation, on the basis of embodiment 1, this embodiment further specifically describes a visual data acquisition system in the verification process of a water meter in embodiment 1 with reference to fig. 2:
a visual data acquisition method in the verification process of a water meter comprises the following steps:
step 1, constructing a ranging matrix, sensing water surface distance information by using the ranging matrix, and constructing a water surface heterogeneous model based on the sensed water surface distance information;
Step 2, constructing a water meter surface heterogeneous sample model by combining a sample water meter with a ranging matrix, and acquiring water meter surface image data in real time based on similarity analysis of the water meter surface heterogeneous sample model and the water meter surface heterogeneous model;
step 3, marking a similarity analysis result on each acquired water meter surface image data, selecting one piece of water meter surface image data based on the similarity analysis result marked by each acquired water meter surface image data, and taking the selected water meter surface image data as image data for water meter verification;
step 4, dividing and enhancing the water meter surface image data serving as the water meter verification image data to obtain a water meter surface image;
and 5, forwarding the acquired water meter surface image to a preset water meter verification system, and completing subsequent water meter appearance verification work through the water meter verification system.
In summary, in the system and method in the above embodiments, in the execution process, the camera pose for collecting the water meter surface image data is dynamically adjusted by combining with the ranging matrix, so that the water meter surface image data collected each time is aligned with the water meter surface heterogeneous sample model by referring to the constructed water meter surface heterogeneous model in the collection stage, thereby improving the consistency of the water meter surface image data, further combining with the image segmentation and the specific image enhancement processing logic to output the image data for water meter verification, ensuring that the water meter verification system can execute verification operation with high-precision water meter surface image, effectively optimizing the water meter surface image collection process, and further optimizing the accuracy of the verification result of the water meter verification system.
The foregoing embodiments are merely for illustrating the technical solution of the present invention, but not for limiting the same, and although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that modifications may be made to the technical solution described in the foregoing embodiments or equivalents may be substituted for parts of the technical features thereof, and such modifications or substitutions may be made without departing from the spirit and scope of the technical solution of the embodiments of the present invention.
Claims (8)
1. A visual data acquisition system in a water meter verification process, comprising:
The matrix sensing module is used for sensing the water meter surface distance information and constructing a water meter surface heterogeneous model based on the water meter surface distance information;
The modeling module is used for constructing a water meter surface heterogeneous sample model;
The analysis module is used for analyzing the similarity between the water meter surface heterogeneous model constructed by the matrix perception module in real time operation and the water meter surface heterogeneous sample model constructed by the modeling module in operation and executing the acquisition operation of water meter surface image data based on the similarity analysis result;
the selection module is used for traversing the acquired water meter surface image data operated by the analysis module, and selecting one piece of water meter surface image data from the water meter surface image data as image data for water meter verification;
The preprocessing module is used for receiving the water meter surface image data serving as the image data for water meter verification in the selection module, and dividing and enhancing the image data;
the output module is used for acquiring the enhanced water meter surface image and transmitting the enhanced water meter surface image to a water meter verification system which is connected with the system in a preset manner;
the matrix sensing module is integrated by a plurality of micro ranging sensors, the micro ranging sensors are transversely and longitudinally arranged at equal intervals, and the ranging ends of the micro ranging sensors are all on the same plane;
In the output process of the water meter by the water meter production equipment, when the water meter is conveyed to the position right below the matrix sensing module by the output conveyor belt, the matrix sensing module triggers operation;
The matrix sensing module is connected with a mechanical arm, and the mechanical arm controls the matrix sensing module to perform horizontal spiral movement in a state that the matrix sensing module triggers the operation, and sets the designated frequency to be not more than 10 times/second based on the designated frequency sensing water surface distance information in the horizontal spiral movement process, the horizontal spiral movement speed is not more than 1 mm/second, and the maximum diameter of a horizontal spiral movement path is not more than 3mm;
the similarity analysis logic of the water surface heterogeneous model and the water surface heterogeneous sample model in the analysis module is expressed as follows:
;
Wherein: n is the total amount of vertex control groups in the water meter surface isomerism model a and the water meter surface isomerism sample model b; offset distance of the vertex from water meter surface isomerous model a relative to the vertex from water meter surface isomerous sample model b in the ith control group; the bottom surface longest side of the local model where the vertex from the water meter surface heterogeneous model a is located in the ith comparison group and the bottom surface longest side of the local model where the vertex from the water meter surface heterogeneous model b is located in the ith comparison group;
Wherein each vertex in each model, namely the vertex of each drawing line segment, the vertex control group consists of two model vertices which are respectively sourced from a water meter surface heterogeneous model a and a water meter surface heterogeneous sample model b, and two vertexes in a vertex comparison group correspond to the same micro ranging sensor, and local models where the vertexes are positioned are a water meter surface heterogeneous model a and a water meter surface heterogeneous sample model b, and the side surfaces where the vertexes are positioned are triangular local three-dimensional models.
2. The visual data acquisition system in a water meter verification process according to claim 1, wherein the matrix sensing module is operative to synchronously perform the construction of a water meter surface heterogeneous model each time the water meter surface distance information is sensed:
And (3) obtaining the ranging results of each micro ranging sensor, drawing a longitudinal line segment representing each ranging result on the basis of one plane in a three-dimensional space, enabling the bottom ends of the drawn line segments to be positioned on the same plane, enabling the arrangement postures of the bottom ends and the micro ranging sensors to be consistent, enabling the distances from the top ends to the bottom ends of the drawn line segments to be consistent with the corresponding ranging results, and obtaining a closed three-dimensional graph formed by splicing a plurality of triangular faces on the basis of adjacent interconnection of the vertexes of the line segments and marking the three-dimensional graph as a heterogeneous model of the surface of the water meter.
3. The visual data acquisition system in a water meter verification process according to claim 1, wherein the modeling module is operated to place the sample water meter on the output conveyor belt by a system end user, and the sample water meter is located directly below the matrix sensing module, and the matrix sensing module is operated to sense the distance information of the surface of the sample water meter, and construct a water meter surface heterogeneous sample model based on the distance information.
4. The visual data acquisition system in the water meter verification process according to claim 1, wherein in the micro ranging sensors of the matrix sensing module, micro high-definition industrial cameras are arranged in a central position micro ranging sensor interval space, and water meter surface image data are acquired through the high-definition industrial cameras;
The miniature high-definition industrial camera synchronously operates along with each operation of the matrix sensing module, and obeys to:
the matrix sensing module operates for the first time, the miniature high-definition industrial camera synchronously operates to acquire water meter surface image data, the analysis module synchronously operates along with each operation of the matrix sensing module, the similarity analysis is continuously executed, and the similarity analysis result is recorded from the second operation of the matrix sensing module;
When the similarity analysis result is smaller than or equal to the previous similarity analysis result, the micro high-definition industrial camera does not execute the collection operation of the water meter surface image data;
the analysis module is internally provided with a storage unit which is used for storing water meter surface image data collected by the micro high-definition industrial camera in operation.
5. The visual data collection system according to claim 1, wherein the selecting module performs a traversing operation with the water meter surface image data stored in the storage unit as a traversing target group when traversing the water meter image data, and selects the water meter surface image data based on the similarity analysis result of each water meter surface image data mark, so that the mark source water meter surface image data with the highest similarity analysis result is selected, and the remaining water meter surface image data is deleted in the storage unit as a deleting target.
6. The visual data acquisition system in a water meter verification process according to claim 1, wherein the system presetted connection water meter verification system is any existing system for performing water meter appearance verification through water meter surface images.
7. The visual data acquisition system in the water meter verification process according to claim 1, wherein the matrix sensing module and the modeling module are in interactive connection with the analysis module through a wireless network, the analysis module is internally in interactive connection with the storage unit through the wireless network, the analysis module is in interactive connection with the selection module through the wireless network, the selection module is in interactive connection with the storage unit through the wireless network, and the selection module is in interactive connection with the preprocessing module and the output module through the wireless network.
8. A method for acquiring visual data in a water meter verification process, the method being implemented on a visual data acquisition system in a water meter verification process according to any one of claims 1 to 7, comprising the steps of:
step 1, constructing a ranging matrix, sensing water surface distance information by using the ranging matrix, and constructing a water surface heterogeneous model based on the sensed water surface distance information;
Step 2, constructing a water meter surface heterogeneous sample model by combining a sample water meter with a ranging matrix, and acquiring water meter surface image data in real time based on similarity analysis of the water meter surface heterogeneous sample model and the water meter surface heterogeneous model;
step 3, marking a similarity analysis result on each acquired water meter surface image data, selecting one piece of water meter surface image data based on the similarity analysis result marked by each acquired water meter surface image data, and taking the selected water meter surface image data as image data for water meter verification;
step 4, dividing and enhancing the water meter surface image data serving as the water meter verification image data to obtain a water meter surface image;
and 5, forwarding the acquired water meter surface image to a preset water meter verification system, and completing subsequent water meter appearance verification work through the water meter verification system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202511437956.2A CN120908102B (en) | 2025-10-10 | 2025-10-10 | A visual data acquisition system and method for water meter calibration process |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202511437956.2A CN120908102B (en) | 2025-10-10 | 2025-10-10 | A visual data acquisition system and method for water meter calibration process |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN120908102A CN120908102A (en) | 2025-11-07 |
| CN120908102B true CN120908102B (en) | 2026-01-20 |
Family
ID=97540982
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202511437956.2A Active CN120908102B (en) | 2025-10-10 | 2025-10-10 | A visual data acquisition system and method for water meter calibration process |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN120908102B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120107151A (en) * | 2024-12-31 | 2025-06-06 | 国网内蒙古东部电力有限公司兴安供电公司 | A method and system for detecting defects in electric power equipment based on machine vision |
| CN120489301A (en) * | 2025-07-10 | 2025-08-15 | 泉州市水务水表检验有限公司 | Water meter quality defect detection method and device based on machine vision |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115457006B (en) * | 2022-09-23 | 2023-08-22 | 华能澜沧江水电股份有限公司 | Method and device for UAV inspection defect classification based on similarity and consistency self-distillation |
| CN117029921B (en) * | 2023-08-09 | 2024-05-31 | 深圳市丰华日昇科技有限公司 | An electronic component intelligent detection device and method |
| CN117274971B (en) * | 2023-11-20 | 2024-04-12 | 深圳拓安信物联股份有限公司 | Image processing method applied to water meter data extraction and electronic equipment |
| CN118334018B (en) * | 2024-06-12 | 2024-08-16 | 广东众森实业发展有限公司 | Method for automatically identifying and positioning battery protection plate feeding device |
-
2025
- 2025-10-10 CN CN202511437956.2A patent/CN120908102B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120107151A (en) * | 2024-12-31 | 2025-06-06 | 国网内蒙古东部电力有限公司兴安供电公司 | A method and system for detecting defects in electric power equipment based on machine vision |
| CN120489301A (en) * | 2025-07-10 | 2025-08-15 | 泉州市水务水表检验有限公司 | Water meter quality defect detection method and device based on machine vision |
Also Published As
| Publication number | Publication date |
|---|---|
| CN120908102A (en) | 2025-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108355981B (en) | Battery connector quality detection method based on machine vision | |
| CN119354981B (en) | Visual inspection and quality assessment method for small structural part of airplane | |
| CN107064170B (en) | A method for detecting contour defects of mobile phone casings | |
| CN106226325B (en) | A machine vision-based seat surface defect detection system and method | |
| CN120374615B (en) | Automatic detection method and system for surface defects of aluminum profile based on image recognition | |
| CN104112269A (en) | Solar cell laser-marking parameter detection method based on machine vision and system thereof | |
| CN112651968A (en) | Wood board deformation and pit detection method based on depth information | |
| CN107169957A (en) | A kind of glass flaws on-line detecting system and method based on machine vision | |
| CN118154562A (en) | A metal surface online defect detection system based on YOLO7 deep learning | |
| CN117078665B (en) | Product surface defect detection method and device, storage medium and electronic equipment | |
| CN107891012B (en) | Pearl Size and Circularity Sorting Device Based on Equivalent Algorithm | |
| CN119784741A (en) | A training method and system for 5G flexible circuit board defect detection model | |
| CN118505708A (en) | Product repairing system based on image reconstruction technology | |
| CN120782726A (en) | Quality detection system and method for glue injection laser profile | |
| CN120213946A (en) | High-precision defect detection method for complex workpieces based on dynamic light source and multi-dimensional detection | |
| CN121354095B (en) | Multistage screening and quality detection method for peaches | |
| CN113822104B (en) | Artificial intelligence surface of water detecting system based on virtual scale of many candidates | |
| CN120908102B (en) | A visual data acquisition system and method for water meter calibration process | |
| CN117934453B (en) | A method and system for diagnosing foreign matter defects in mobile phone screen backlight | |
| CN118840709A (en) | Coal flow dynamic real-time monitoring analysis processing system based on image recognition | |
| CN119722584A (en) | A nondestructive testing system for industrial parts production based on 3D point cloud matching | |
| CN118521874A (en) | A visual inspection system for mold processing | |
| Liang et al. | Research on defect detection method of painting parts based on machine vision | |
| CN121582501B (en) | An Automated Modeling Method Based on Spatial Perception and Intelligent Fusion | |
| CN120741483B (en) | Intelligent detection method and system for conveyor line based on machine vision |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |