Multimodal intelligent meter reading method, device, equipment and storage medium
Through the image data recognition and multi-modal information interaction of smart meters, the reading rules are determined, the automatic reading of smart meters is realized, the problem of reading accuracy and efficiency of different types of smart meters is solved, and the accuracy and efficiency of readings are improved. Adaptability.
Patent Information
- Application Number
- CN202410853232.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Existing technology is difficult to accurately realize automatic readings of different types of smart meters, resulting in limited reading efficiency and accuracy.
By acquiring the image data of smart meters, target elements are identified and logic rules are determined, and multi-modal information interaction methods are used to automatically realize smart meter readings. Specific steps include obtaining image data, identifying target elements, retrieving the rule text library, determining reading rules, and calculating reading results based on the identified elements and rules.
It improves the accuracy and efficiency of smart meter readings, can adapt to the reading needs of different types of smart meters, and enhances the adaptability and generalization capabilities of the system.
Smart Images

Figure CN118411731B
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart inspection technology, and in particular to a multi-modal smart meter reading method, device, equipment and storage medium. Background Art
[0002] With the continuous development of science and technology, smart metering systems have been widely used in many fields such as energy, environmental protection, and medical care.
[0003] In order to improve the efficiency of smart meter reading, the image data of the smart meter can be collected, and the smart meter reading can be automatically realized based on the image data of the smart meter using a pre-trained model.
[0004] How to accurately realize automatic reading of different types of smart meters has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] In view of this, the present application provides a multi-modal smart meter reading method, device, equipment and storage medium.
[0006] Specifically, the present application is implemented through the following technical solutions:
[0007] According to a first aspect of an embodiment of the present application, a multi-modal smart meter reading method is provided, comprising:
[0008] Acquire image data of smart meters;
[0009] According to the image data of the smart meter, target element recognition is performed to obtain the target element in the image data of the smart meter; and according to the image data of the smart meter and the rule text library, the target logic rule is determined by using a multimodal information interaction method; wherein the target element at least includes an element for determining the reading of the smart meter, the target logic rule at least includes the reading rule of the smart meter; the rule text library at least includes the reading rules of multiple different types of smart meters;
[0010] A reading result of the smart meter is determined according to the target element and the target logic rule.
[0011] According to a second aspect of an embodiment of the present application, a multi-modal intelligent meter reading device is provided, comprising:
[0012] An acquisition unit, used for acquiring image data of a smart meter;
[0013] An identification unit is used to identify target elements according to the image data of the smart meter to obtain the target elements in the image data of the smart meter; and to determine the target logic rules by using a multimodal information interaction method according to the image data of the smart meter and the rule text library; wherein the target elements at least include elements for determining the reading of the smart meter, the target logic rules at least include the reading rules of the smart meter; and the rule text library at least includes the reading rules of multiple different types of smart meters;
[0014] A determination unit is used to determine a reading result of the smart meter according to the target element and the target logical rule.
[0015] According to a third aspect of an embodiment of the present application, there is provided an electronic device, comprising a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor is used to execute the machine executable instructions to implement the method provided in the first aspect.
[0016] According to a fourth aspect of an embodiment of the present application, a machine-readable storage medium is provided, wherein the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are executed by a processor, the method provided in the first aspect is implemented.
[0017] The technical solution provided by this application can at least bring the following beneficial effects:
[0018] By acquiring the image data of the smart meter, on the one hand, target elements for determining the reading of the smart meter are identified based on the image data of the smart meter to obtain the target elements in the image data of the smart meter; on the other hand, based on the image data of the smart meter and the rule text library, the reading rules of the smart meter are determined by using a multimodal information interaction method, and then, based on the identified target elements and the determined reading rules, the reading results of the smart meter are determined, thereby realizing automatic reading of the smart meter and improving the accuracy of the smart meter reading through multimodal information interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flowchart of a multi-modal intelligent meter reading method shown in an exemplary embodiment of the present application;
[0020] Figure 2 is a schematic diagram of a smart meter shown in an exemplary embodiment of the present application;
[0021] Figure 3 It is a structural schematic diagram of a multi-modal intelligent meter reading system shown in an exemplary embodiment of the present application;
[0022] Figure 4is a processing schematic diagram of an information processing module shown in an exemplary embodiment of the present application;
[0023] Figure 5 is a processing schematic diagram of an information perception module shown in an exemplary embodiment of the present application;
[0024] Figure 6 is a processing schematic diagram of multimodal information fusion shown in an exemplary embodiment of the present application;
[0025] Figure 7 is a schematic diagram of the effect of meter correction shown in an exemplary embodiment of the present application;
[0026] Figure 8 It is a structural schematic diagram of a multi-modal intelligent meter reading device shown in an exemplary embodiment of the present application;
[0027] Fig. 9 It is a schematic diagram of the hardware structure of an electronic device shown in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0028] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0029] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0030] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.
[0031] It should be noted that the serial numbers of the steps in the embodiments of the present application do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0032] See also Figure 1 , is a flow chart of a multi-modal intelligent meter reading method provided in an embodiment of the present application, such as Figure 1As shown, the multi-modal intelligent meter reading method may include the following steps:
[0033] Step S100: Acquire image data of the smart meter.
[0034] In the embodiment of the present application, for any smart meter that needs to be read, image data of the smart meter can be obtained.
[0035] Exemplarily, the types of smart meters may include but are not limited to pointer meters, digital meters, status meters, or liquid level meters.
[0036] Among them, the pointer meter is usually round, with a pointer and a dial. It uses a mechanical mechanism to convert physical quantities into rotational motion, and indicates the reading through a pointer. Common pointer meters include thermometers, pressure gauges, ammeters, etc.
[0037] A digital meter is also called a digital display instrument, which uses digital display technology (such as LED, LCD, etc.) to directly display the numerical value of physical quantities.
[0038] The status meter is used to display the status information of a system or device. It usually has multiple indicator lights or display modules to indicate different states.
[0039] Liquid level gauges are used to measure and display the liquid level in a container or pipe. They can be mechanical, using a float or pressure sensor to measure the liquid level and display it with a pointer or digitally; or they can be electronic, using technologies such as ultrasonic, radar or pressure sensors to achieve non-contact measurement and digital display.
[0040] For example, the image data of the smart meter can be collected by devices such as cameras, drones or inspection robots deployed at the front end.
[0041] Exemplarily, the image data may include but is not limited to picture data or video data.
[0042] Step S110: identifying target elements based on the image data of the smart meter to obtain target elements in the image data of the smart meter; and determining target logic rules by using a multimodal information interaction method based on the image data of the smart meter and a rule text library; wherein the target elements include at least elements for determining the readings of the smart meter, the target logic rules include at least the reading rules of the smart meter, and the rule text library includes at least the reading rules of multiple different types of smart meters.
[0043] In the embodiment of the present application, in order to realize the smart meter reading, it is necessary to at least determine the element used for reading in the smart meter to be read (referred to as the target element in this article) and the reading rule of the smart meter to be read.
[0044] For example, for a pointer meter, the target element may include one or more of the following elements: pointer color, pointer position, scale value, scale line, unit, range, etc.
[0045] The reading rule may include determining the reading result of the pointer meter according to the pointer position, the scale line corresponding to the pointer position, and the scale value corresponding to the scale line.
[0046] For another example, for a number table, the target element may include one or more of elements such as numbers, units, and decimal point positions.
[0047] Reading rules may include determining the reading result of a digital table based on the number, unit, and decimal point position.
[0048] Exemplarily, known reading rules of various types of smart meters may be collected in advance, and a rule text library may be constructed based on the collected reading rules of various types of smart meters.
[0049] For example, based on the industry knowledge base and in combination with different application scenarios, reading rules for different types of smart meters (the rules in this article) can be formulated to refine the reading logic for different scenarios.
[0050] For the acquired image data of the smart meter, on one hand, target element recognition can be performed on the acquired image data of the smart meter to obtain the target element in the image data of the smart meter.
[0051] On the other hand, the target logical rules can be determined based on the image data and rule text library of the smart meter using multimodal information interaction.
[0052] Exemplarily, the target logic rule includes at least a reading rule of a smart meter.
[0053] Step S130: Determine the reading result of the smart meter according to the target element and the target logic rule.
[0054] In an embodiment of the present application, when the target elements in the image data of the smart meter to be read and the target logical rules of the smart meter to be read are determined in the above manner, the reading result of the smart meter can be determined based on the determined target elements and the target logical rules.
[0055] For example, assuming that the smart meter to be read is a pointer meter, the above-mentioned target elements may at least include the pointer position, scale lines and scale values, and the target logic rules may at least include the reading rules of the pointer meter (such as determining the reading result of the pointer meter based on the pointer position, the scale lines corresponding to the pointer position, and the scale values corresponding to the scale lines). Then, the reading result of the smart meter to be read can be determined based on the target elements in the image data of the smart meter to be read.
[0056] It can be seen that in Figure 1 In the method flow shown, by acquiring the image data of the smart meter, on the one hand, based on the image data of the smart meter, target element recognition for determining the reading of the smart meter is performed to obtain the target element in the image data of the smart meter; on the other hand, based on the image data of the smart meter and the rule text library, a multimodal information interaction method is used to determine the reading rule of the smart meter, and then, based on the identified target element and the determined reading rule, the reading result of the smart meter is determined, thereby realizing automatic reading of the smart meter and improving the accuracy of the smart meter reading through multimodal information interaction.
[0057] In some embodiments, the above-mentioned determination of the target logic rule based on the image data of the smart meter by using a multimodal information interaction method may include:
[0058] According to the image data of the smart meter, the smart meter template library is searched to determine whether there is a matching target image template;
[0059] In the case where there is a matching target image template, the type of the smart meter is determined according to the target image template, and according to the type of the smart meter, a rule text library is retrieved to determine the target logic rule;
[0060] In the absence of a matching target image template, text information is extracted from the image data of the smart meter to obtain a first text-level prompt feature vector, and a target logic rule is determined based on the first text-level prompt feature vector.
[0061] Exemplarily, in order to improve the reading efficiency of smart meters, image templates of various types of smart meters may be collected in advance, and a smart meter template library may be constructed based on the collected image templates.
[0062] When the image data of the smart meter to be read is obtained, the smart meter template library can be searched based on the obtained image data of the smart meter to determine whether there is a matching image template (referred to as a target image template in this article).
[0063] In the case where there is a matching target image template, the type of the smart meter can be determined based on the target image template, and based on the type of the smart meter, the rule text library is searched to determine the corresponding logic rule (which can be called the target logic rule).
[0064] It should be noted that in the embodiments of the present application, the types of smart meters are not limited to pointer meters, digital meters, status meters or liquid level meters (which can be called major categories). For any major category, it can be further divided into one or more minor categories. For example, for a pointer meter, it can further include a temperature meter, a pressure gauge or an ammeter, etc.
[0065] In the process of constructing the smart meter template library, template images of smart meters of various subcategories may be collected respectively, and the smart meter template library may be constructed based on the collected template images.
[0066] In addition, in the process of building a rule text library, the logical rules of each type (sub-category) of smart meters in the rule text library can be recorded.
[0067] Exemplarily, when there is no matching target image template in the smart meter template library, text information can be extracted from the image data of the smart meter to obtain corresponding text information (which can be called a first text-level prompt feature vector), and the target logical rules can be determined based on the first text-level prompt feature vector.
[0068] For example, text information in an image may be extracted by using an OCR (Optical Character Recognition) method.
[0069] For example, taking a smart meter as a pointer meter, the image of the smart meter may contain key text information such as scale value, smart meter model, type, manufacturer, etc.
[0070] Exemplarily, the rule text library may be searched based on the extracted first text-level feature vector to determine the target logical rule.
[0071] It should be noted that in the process of multimodal information interaction, in addition to extracting the first text-level prompt feature vector in the above manner, the corresponding text-level prompt feature vector (which can be called the second text-level prompt feature vector) can also be determined based on the target element recognition result to enrich the content of the text-level prompt feature vector, thereby improving the accuracy of determining the target logical rules.
[0072] Exemplarily, in the process of determining the target logical rule, the rule text library can be searched based on the first text-level prompt feature vector to determine the matching logical rule, and the matching logical rules can be filtered based on the second text-level prompt feature vector to determine the target logical rule.
[0073] For example, for a pointer table, the target element may include pointers of different colors (such as a black pointer and a red pointer). Accordingly, in the process of multimodal information interaction, the black pointer and the red pointer may also be used as text-level prompt feature vectors (i.e., the second text-level prompt feature vector mentioned above). When retrieving the corresponding target logical rules, the logical rules may be filtered based on the pointer color information contained in the logical rule text. For example, the logical rules that match the first text-level prompt feature vector may be filtered.
[0074] For example, assuming that the smart meter includes a red pointer and a black pointer, but the logic rule matching the first text-level prompt feature vector includes a logic rule for pointers of other colors, the logic rule may be filtered out.
[0075] In some embodiments, when there is no matching target image template, the multimodal smart meter reading method provided by the embodiment of the present application may further include:
[0076] Extract visual features from the image data of the smart meter, and perform intelligent analysis and processing based on the obtained first visual feature information to obtain analysis results; wherein the intelligent analysis and processing includes target detection and panoptic segmentation;
[0077] According to the analysis result, semantic abstraction is performed on the image data of the smart meter to obtain second visual feature information, where the second visual feature information includes location information and semantic information of the designated target;
[0078] The above-mentioned determining the target logic rule based on the first text-level prompt feature vector may include:
[0079] Multimodal information interaction is performed on the first text-level prompt feature vector and the second visual feature information, and a target logic rule is determined based on the feature information after the interaction.
[0080] Exemplarily, in order to improve the accuracy of determining the target logical rules and thereby improve the accuracy of smart meter readings, when there is no target image template in the smart meter template library that matches the image data of the smart meter to be read, visual feature extraction can be performed on the image data of the smart meter to obtain corresponding visual feature information (which may be referred to as first visual feature information), and intelligent analysis and processing such as target detection and panoramic segmentation can be performed based on the first visual feature information to obtain analysis results. Furthermore, based on the analysis results, semantic abstraction can be performed on the image data of the smart meter to obtain location information and semantic information (which may be referred to as second visual feature information) of the specified target.
[0081] Exemplarily, the specified target may include, but is not limited to, part or all of the targets such as scale values, scale lines, and pointers.
[0082] Exemplarily, multimodal information interaction may be performed on the first text-level prompt feature vector and the second visual feature information, and a target logic rule may be determined based on the feature information after the interaction.
[0083] In one example, the above-mentioned visual feature extraction of the image data of the smart meter may include:
[0084] The trained visual feature extraction model is used to perform modality-independent feature extraction and modality-dependent feature extraction on the image data of the smart meter to obtain first visual feature information.
[0085] Exemplarily, in order to optimize the effect of multimodal information interaction, when extracting visual feature information and text feature information, modality-independent features and modality-dependent features may be extracted respectively.
[0086] For example, for the extraction of text features, the modality-independent features may include visual features; for the extraction of visual features, the modality-independent features may include text features.
[0087] Accordingly, intelligent analysis and processing may be performed based on the first visual feature information obtained in the above manner to obtain an analysis result, and based on the analysis result, semantic abstraction may be performed on the image data of the smart meter to obtain second visual feature information.
[0088] The multimodal information interaction of the first text-level prompt feature vector and the second visual feature information, and determining the target logic rule according to the feature information after the interaction, may include:
[0089] Using the trained text feature extraction model, perform modality-independent feature extraction and modality-dependent feature extraction on the first text-level prompt feature vector to obtain text feature information;
[0090] Performing multimodal information interaction on the second visual feature information and the text feature information, and respectively reconstructing the visual feature information and the text feature information to obtain reconstructed visual feature information and reconstructed text feature information;
[0091] The reconstructed visual feature information and the reconstructed text feature information are fused, and the target logical rules are determined based on the fused feature information.
[0092] Exemplarily, for the first text-level prompt feature vector obtained in the above manner, a trained text feature extraction model may be used to perform modality-independent feature extraction and modality-dependent feature extraction to obtain text feature information.
[0093] Multimodal information interaction can be performed on the second visual feature information and the text feature information.
[0094] For example, relevant semantics can be identified by minimizing mutual information, and the information in the other modality can be predicted based on the known sequence information of the current modality, thereby maximizing the fine-grained mutual information between different modalities, gradually extracting semantic information and approaching each other.
[0095] Exemplarily, the discretized vector and the modality-independent vector may be combined and then reconstructed back into the original features to obtain reconstructed visual feature information and reconstructed text feature information, respectively.
[0096] Furthermore, the reconstructed visual feature information and the reconstructed text feature information can be fused, and the target logical rules can be determined based on the fused feature information.
[0097] In some embodiments, the multimodal smart meter reading method provided in the embodiments of the present application may further include:
[0098] Obtaining text information guidance input through the user interaction interface;
[0099] The above-mentioned determination of the reading result of the smart meter based on the target element and the target logic rule may include:
[0100] Determine the reading results of the smart meter based on target elements, target logic rules, and text information guidance.
[0101] Exemplarily, in order to further improve the accuracy of smart meter readings, improve the interactivity of smart meter readings, and optimize user experience, the multimodal smart meter reading solution provided in the embodiment of the present application can also provide a user interaction interface, which can be used to input text information guidance.
[0102] Exemplarily, the text information guide may include one or more of scale value, unit, range information, and target of interest.
[0103] Accordingly, in the process of realizing automatic reading of the smart meter to be read, text information guidance input through the user interaction interface can also be obtained. Then, when determining the reading result of the smart meter, the reading result of the smart meter can be determined based on the target element, target logical rules, and text information guidance.
[0104] For example, assuming that the smart meter is a voltage and current digital meter, and when the target elements and target logic rules are determined in the manner described in the above embodiments, and assuming that the user inputs the focus target as the current value through the user interaction interface, then when determining the reading result of the smart meter based on the target elements and the target logic rules, the reading result of the current value can be determined without paying attention to the reading result of the voltage value.
[0105] For another example, assuming that the smart meter is a pointer meter, and the target element determined in the manner described in the above embodiment does not include the range information, the user can input the range information of the smart meter through the user interaction interface, and then, the reading result of the smart meter can be determined based on the target element, the target logic rule, and the range information input by the user through the interaction interface.
[0106] It should be noted that, in the embodiment of the present application, the text information guidance obtained through the user interaction interface can also be used for operations such as denoising and data screening to improve the reading accuracy.
[0107] For example, for a scale sequence, misidentified scale values may be filtered in combination with sequential changes in the scale values.
[0108] For example, assuming that the scale values increase from left to right, for the identified scale sequence, if there are scale values that do not satisfy the increasing order, it can be determined that there is a misrecognition, and the misrecognized scale value can be filtered out.
[0109] In some embodiments, the target logic rule may further include an alarm rule for a smart meter, and the target element may further include an element for assisting in alarm determination;
[0110] The multi-modal smart meter reading method provided in the embodiment of the present application may also include:
[0111] Determine whether to perform alarm processing based on the target element and target logic rules.
[0112] For example, considering the actual scenario, for some smart meters, alarm processing is required when certain conditions are met.
[0113] In one example, the element used to assist in alarm determination may include color information corresponding to the scale range;
[0114] The above-mentioned determination of whether to perform alarm processing based on the target element and the target logic rule may include:
[0115] When it is determined based on the target element that the color corresponding to the scale range to which the reading of the smart meter belongs is a specified color, it is determined to perform alarm processing.
[0116] For example, for an SF6 pressure gauge, different scale ranges have different colors, such as red or green, and if the pointer is in the red area (that is, the reading is in the red scale range), an abnormal reading alarm is required (taking the above-specified color of red as an example).
[0117] Accordingly, for the acquired image data of the smart meter, in the process of identifying the target elements of the image data, the target elements used to assist in alarm judgment may also be identified, for example, the color information corresponding to the scale range.
[0118] In addition, in the process of determining the target logic rules based on the image data and rule text library of the smart meter and using the multimodal information interaction method, the alarm rules of the smart meter (used to indicate under what circumstances an alarm is required for the smart meter) can also be determined.
[0119] Furthermore, it can be determined whether to perform alarm processing based on the target element and the target logic rules.
[0120] Still taking the SF6 pressure gauge as an example, the target logic rules stored in the rule text library may include: if a reading pointer is detected, a reading is performed based on the reading pointer position, scale lines, and range, and when the pointer is in the red zone, it is determined that there is a reading abnormality.
[0121] Accordingly, the target element may include the color information of the pointer position, scale lines, range, and scale range.
[0122] The reading result of the SF6 pressure gauge can be determined based on the target elements identified from the smart meter and the target logic rules retrieved from the rule text library, and whether an alarm is required can be determined based on whether the pointer position (i.e., the reading value) is within the red area.
[0123] It should be noted that, in the embodiment of the present application, the colors of different scale ranges are not limited to the above-mentioned red or green, and other colors may also exist. For example, for a smart meter, its scale range may have a scale range corresponding to black. When the pointer position is in the color range corresponding to black, an alarm processing can be performed (that is, the above-mentioned specified color can also be black).
[0124] In some embodiments, the smart meter is a pointer meter, and the target element includes a pointer, a scale line, and a scale value;
[0125] The above-mentioned determining the reading result of the smart meter according to the target element and the target logic rule may include:
[0126] The reading result of the smart meter is determined according to the pointer position, scale line position, scale value in the image data of the smart meter and the reading rule of the smart meter.
[0127] Exemplarily, for a pointer meter, in order to determine its reading result, target elements such as the pointer, scale lines, and scale values can be identified based on the image data of the smart meter, and the reading result of the pointer meter can be determined based on the reading rules of the pointer meter according to the position of the pointer, the position of the scale lines, and the scale values.
[0128] It should be noted that in actual applications, for pointer meters in specific business scenarios, information such as range and unit can be used as default information. For example, the range and unit information of each pointer meter in the business scenario are set uniformly, and when reading, there is no need to specifically identify information such as unit and range.
[0129] For smart meter readings in non-such scenarios, it is also possible to identify information such as range and unit, and determine the reading results of the pointer meter based on the reading rules of the pointer meter according to information such as the position of the pointer, the position of the scale line, the scale value, the unit and the range.
[0130] In one example, the target element may also include the center of the pointer table;
[0131] Before determining the reading result of the smart meter based on the target element and the target logic rule, the following may also be included:
[0132] Correcting the image data of the smart meter according to the pointer, the scale line, and the center of the pointer meter, and determining the pointer position and the scale line position in the corrected image;
[0133] Determining the reading result of the smart meter based on the pointer position, scale line position, scale value in the image data of the smart meter, and the reading rule of the smart meter may include:
[0134] The reading result of the smart meter is determined according to the pointer position, scale line position, scale value and the reading rule of the smart meter in the corrected image.
[0135] For example, considering that the collected image of the smart meter may not be the front image of the smart meter, it may affect the accuracy of the reading of the smart meter. Therefore, in order to improve the accuracy of the reading of the smart meter, before reading the smart meter based on the image data of the smart meter, the image of the smart meter can be corrected, such as perspective transformation correction, to obtain a front image of the smart meter.
[0136] Accordingly, in the process of identifying target elements based on the image data of the smart meter, elements such as the pointer, scale lines, and the center of the pointer meter (the rotation center of the pointer) for image correction can be extracted, and the image data of the smart meter can be corrected based on elements such as the pointer, scale lines, and the center of the pointer meter.
[0137] When the image data of the smart meter is corrected in the above manner, the pointer position and scale line position in the corrected image can be determined, and then the reading result of the smart meter can be determined based on the pointer position, scale line position, scale value in the corrected image and the reading rules of the smart meter.
[0138] In order to enable those skilled in the art to better understand the technical solutions provided in the embodiments of the present application, the technical solutions provided in the embodiments of the present application are described below with reference to specific examples.
[0139] In this embodiment, the richness of various information is fully utilized under multimodal information, all nodes of information extraction, information perception, intelligent prediction, and decision recognition are unified into a whole, surrounding objects are perceived for real-time information analysis, and text-level keywords and image-level features are extracted through multimodal information interaction. Keyword retrieval is combined with the text rule library to achieve real-time matching of dynamic rules, and image-level features are input into the intelligent prediction module. While improving the accuracy of meter readings, it can quickly respond to various application methods of different industries and projects. On-site staff can also specify and modify rules in the text rule library, customize requirements in real time, and achieve rapid response and correction of on-site problems, thereby increasing the adaptability and scalability of the system, while improving the generalization ability of open sets.
[0140] In this embodiment, the multimodal intelligent meter reading system may include an information extraction module, an information perception module, an intelligent prediction module, and a decision recognition module, and its schematic diagram may be as shown in FIG. Figure 3 As shown. Among them:
[0141] 1) Information extraction module: used to receive and process input signals of various modalities, including pictures, videos, texts, etc., and convert input signals of different modalities into recognizable digital signals.
[0142] 2) Information perception module: compare the test image (i.e., the image of the smart meter to be read) with the image template library to determine the type of smart meter; if the comparison is successful, determine the type of smart meter based on the comparison result, and formulate a reading plan based on the type of smart meter. If the comparison fails, map the test image to the feature space through the visual feature extraction module, infer the learnable embedding features, and output analysis results such as target detection and panoramic segmentation. At the same time, perform semantic abstraction on the test image, identify the target position and semantic information such as scale value, scale line, pointer, etc., and perform alternate prediction with other information by focusing on the scene, so as to interact with information. Then match the proposed keywords with the rule text library, predict the application scenario - meter reading, and extract the specified rules corresponding to the application scenario.
[0143] 3) Intelligent prediction module: Combined with the target position, semantic information and specified rules extracted by the information perception template, the extracted feature output corresponds to the sub-module for step-by-step reasoning according to the corresponding logic, including the recognition and positioning sub-module, classification sub-module, image calibration sub-module, key point recognition sub-module, etc., to locate the pointer and identify the reading.
[0144] 4) Decision recognition module: If there is a target of interest specified by the user, the results are reconstructed and the corresponding meter reading results are output; if the user does not specify a target of interest, the prediction results corresponding to the application scenario are displayed, and the tasks with alarms are processed.
[0145] The functional implementation of each module is described in detail below.
[0146] 1. Information Extraction Module
[0147] The information extraction module is responsible for real-time detection and data collection of various information, and performs preliminary processing on the received signals of different modes, such as filtering, noise reduction, feature extraction, etc., to convert the signals into recognizable digital signals. The same semantic information from different modes is mapped together to achieve unified expression of multimodal input sequences at a fine granularity.
[0148] Exemplarily, the data collection of the information extraction module may include visual information collection and text information collection; wherein:
[0149] 1.1. The visual information acquisition module mainly uses high-definition cameras, drones, inspection robots and other equipment to perform real-time detection and data collection on dials, pointers, switches, indicator lights, digital meters, etc.
[0150] Exemplarily, the module may also embed image processing technology to further analyze the collected image information, such as denoising, image quality enhancement, image calibration and other operations, so as to improve the accuracy and quality of the information.
[0151] 1.2. The text information collection module can include two parts: First, use the industry knowledge base and combine different application scenarios to formulate text rules, refine the reading logic of different scenarios, and set corresponding boundary conditions, alarm judgments, etc. Second, use the user interaction interface to input text information guidance (for example, if the range information is not recognized on the smart meter, the user can enter the range information), such as scale, unit, range information, and focus target. This information can be used as a text-level prompt, and can also be used for operations such as denoising and data screening to improve reading accuracy. It can also customize the focus target and some functions.
[0152] For example, Figure 4 As shown, for smart meters, on the one hand, the visual feature extraction network can be used to extract image-level global features and image-level local features; on the other hand, the text information extraction network (such as the OCR recognition network) can be used to extract text features.
[0153] 2. Information Perception Module
[0154] The information perception module can map the test image to the feature space, infer the learnable embedding features, realize intelligent perception, and use multimodal information to interact in real time and formulate logical rules so that the intelligent prediction module can make intelligent predictions. The schematic diagram can be shown as follows: Figure 5 shown.
[0155] 2.1 Intelligent Perception
[0156] The information perception module can compare the test image with the image template library to determine the type of smart meter.
[0157] For example, the smart meter reading system will determine the reading method according to the type of smart meter, such as current and voltage meter, lightning arrester, multi-function meter, liquid level meter, etc. Different types of meters require different reading schemes.
[0158] Taking the reading pointer type as an example, OCR recognition can be used to extract the text information that may exist in the image to obtain the text-level prompt feature vector. Figure 2 Taking the test image shown as an example, key information such as each scale value, BWY (WTYK) -802ATH transformer temperature controller, and manufacturer can be identified. Using image and text retrieval, it is identified that there are scale lines, scale values, meter templates, pointers and other targets in the test image. Finally, panoramic segmentation and key point detection can be used to locate the meter position, black pointer position, red pointer position, center position, scale area, etc. The intelligent perception module parses the information in the test image through a variety of different sub-function modules, and can dynamically store different structural information according to different targets.
[0159] If the comparison between the test image and the image template library fails, dynamic rules are formulated through multimodal information interaction.
[0160] It should be noted that, for image signals, in addition to the text information recognition in the above manner, the detection network can also be used to identify the target and the feature matching network can be used to calibrate the image features. Then, the features can be segmented and located, and the state can be identified to obtain the image-level global feature vector and the image-level local feature vector.
[0161] Exemplarily, global features refer to overall properties of an image, and common global features may include: color features, texture features, and shape features, such as intensity histograms.
[0162] Local features refer to features extracted from local areas of an image. Common local features may include edges, corners, lines, curves, and areas with special attributes.
[0163] For text information, natural language processing (NLP) technology and algorithms can be used to perform word segmentation, part-of-speech tagging, entity recognition, etc., and deep neural networks can be combined to perform keyword extraction, semantic understanding and other operations on text information, and then merged with the text-level prompt feature vector to obtain a text-level feature vector.
[0164] For example, taking the reading pointer type as an example, OCR recognition can be used to extract the text information that may exist in the image to obtain the text-level prompt feature vector. Figure 2 Taking the test image shown as an example, key information such as each scale value, BWY (WTYK) -802ATH transformer temperature controller, and manufacturer can be identified.
[0165] 2.2 Multimodal Information Interaction
[0166] Multimodal information interaction transfers the knowledge learned by the model from known modalities to unknown modalities, and allows information from different modalities to serve as supervisory signals for each other's modalities, approaching each other in discrete space, and ultimately converging different multimodal variables with the same meaning.
[0167] For example, taking the scale as an example, the scale value belongs to the text information representing the scale, the pointer position, scale lines, etc. belong to the image information representing the scale, that is, the two belong to different modal information representing the scale (one is text, the other is image). The two information can be extracted and fused together for subsequent processing.
[0168] Through image-text retrieval, image recognition, panoramic segmentation, etc., the relationship between images and texts is established, and information interaction is carried out by alternately predicting other information with the scene as the center. The keywords extracted by the information perception module (such as reading pointer, scale, color, and the center of the pointer table) are matched with the rule text library to predict the application scenario - meter reading, and the specified rules corresponding to the application scenario are extracted from the rule text library. The core business knowledge and perception features are multi-modal information fused. The schematic diagram can be shown as follows: Figure 6 shown.
[0169] For example, for different modes given , the encoder can be used to extract modality-independent features and modality-dependent features. The formula is as follows:
[0170]
[0171] in, For text information extraction network, A network for visual feature extraction.
[0172] Will , The input cross-modal information interaction module minimizes the mutual information to identify relevant semantics of the model, predicts the information in the other modality based on the known sequence information of the current modality, maximizes the fine-grained mutual information between different modalities, gradually extracts semantic information and approaches each other.
[0173] At the same time, the discretized vector is merged with the modality-independent vector and reconstructed back to the original feature. The reconstruction loss function is as follows:
[0174]
[0175] Among them, D is the cross-modal feature fusion network, and sg is the intra-modal feature reconstruction network.
[0176] During the training process of the above network model, image reconstruction loss function, text reconstruction loss function and feature alignment loss function can be introduced.
[0177] For example, for the training of a cross-modal feature fusion network, the feature alignment loss function can be used as the loss function to perform feedback tuning on the model.
[0178] For the training of text information extraction networks and visual feature extraction networks, the text reconstruction loss function and the image reconstruction loss function can be used as loss functions to perform feedback tuning on the model.
[0179] The consistency of the relationship between different modal information is fully considered through the image reconstruction loss function, text reconstruction loss function and feature alignment loss function. The image reconstruction loss function can ensure that the generated image is consistent with the original image at the pixel level, effectively capturing the details and features of the image; the text reconstruction loss function enables the generated text to be consistent with the original text in the semantic space, improving the quality of text information generation; and the feature alignment loss function further strengthens the consistency between different modal information, prompting the model to maintain stable alignment during the multimodal feature fusion process. By comprehensively considering these loss functions, the complementarity and correlation between modalities can be fully explored during the fusion and analysis of multimodal information, thereby improving the performance of the model in tasks such as risk factor identification. This comprehensive loss function design enables the model to better handle complex multimodal data, thereby achieving more accurate and comprehensive analysis and recognition.
[0180] 3. Intelligent prediction module
[0181] The intelligent prediction module is mainly used to post-process and match the features output by the information perception module according to the rules extracted by the information perception module.
[0182] 3.1、Pointer table
[0183] For pointer instruments, the processing flow of the intelligent prediction module can be as follows:
[0184] 3.1.1. Determine the meter type and obtain the dial range.
[0185] Use detection models, such as the YOLO series, to locate the position of the target in the meter image to be identified. According to the results of OCR recognition, if the meter type and scale information exist on the dial, the meter type, range, and scale information can be directly located. If there is no relevant information on the dial, combine the feature point matching algorithm of the image to be identified and the template image, such as the unsuperpoint model, and map the dial range, key dial scale, and pointer rotation center in the pointer meter description information to the current pointer meter to obtain a virtual pointer meter dial, thereby determining the meter type, scale point, scale value, and range.
[0186] 3.1.2. Locate the pointer, scale and center of the circle.
[0187] Use key point detection and segmentation mask2former model to locate the pointer position, and review the scale, center of circle and other positions located in step 3.1.1.
[0188] 3.1.3. Meter correction and coordinate transformation.
[0189] Since the template library contains only front views, for tilted meters, it is necessary to combine the positioning of the pointer, scale, and center of the circle in step 3.1.2, use perspective transformation correction, and transform the coordinates. The images of the smart meter before and after correction can be shown as follows: Figure 7 shown.
[0190] 3.1.4. Locate the position of the pointer relative to the scale.
[0191] Based on the position of the pointer and the position of the scale, the position of the pointer relative to the scale can be determined.
[0192] 3.1.5. Read the numbers.
[0193] The specific reading value can be calculated based on the position of the pointer relative to the scale and the range.
[0194] 3.2 Numerical instruments
[0195] The optical character recognition model is used to detect valid characters on the dial, and then the characters in the valid reading area are filtered using the region of interest in the value table description information, and the recognized reading is judged to be abnormal based on the value range, number of values, etc. If the reading is abnormal, a log is recorded, otherwise the reading is recorded and the readings of other meters are checked.
[0196] 3.3 Liquid level instruments
[0197] The liquid level in the liquid level tank is obtained through the liquid level segmentation model, and the coordinates of the key points of the liquid level tank and the corresponding scale information are obtained according to the liquid level table calibration information. The coordinates are transformed to the current liquid level table through a matching mapping relationship to obtain a virtual liquid level tank, and the current liquid level reading is obtained by calculating the position of the liquid level in the virtual liquid level tank.
[0198] 3.4. Status Instruments
[0199] The current state of the meter is obtained through the state classification model, which includes but is not limited to the on / off state, knob direction, indicator light on / off and its color, switch state, etc. The state predicted by the model also needs to be verified with the optional state of the state table of this category. If the verification fails, the abnormal reading is recorded, otherwise the state reading is recorded and the readings of other meters are checked.
[0200] 4. Decision Recognition Module
[0201] The decision recognition module is mainly used to input the results of the intelligent prediction module into the rule engine for decision customization. According to different task requirements, it can output more accurate and comprehensive meter reading information, and perform abnormal detection, early warning and other functions.
[0202] Taking the pointer instrument - SF6 pressure gauge as an example, after the information perception module, it is confirmed that the image is a reading pointer meter, including scale lines, pointers, scales, and different scale ranges have different colors, including green ranges and red ranges. Combined with the text library, the extraction rules are as follows: If a reading pointer is detected, the reading is performed according to the reading pointer position, scale lines, and range. If there is a color interval for the SF6 pressure gauge, it is abnormal when the pointer is not in the green interval. Through the rule decomposition module, it can be determined that it is mainly divided into three parts: meter type confirmation, reading value output, and alarm judgment. It can predict the reading and alarm the abnormal reading in combination with the scale line area features. Finally, the intelligent prediction module outputs the test image as an SF6 pressure gauge with a reading value of 0.62. At this time, the alarm information in the set rule is judged to confirm that the reading value is within the green area and there is no abnormal reading.
[0203] In summary, the final output of the test image is "the test image is a SF6 pressure gauge, the reading value is 0.62, and there is no abnormal reading."
[0204] The method provided by the present application is described above. The device provided by the present application is described below:
[0205] See also Figure 8 , is a schematic diagram of the structure of a multi-modal intelligent meter reading device provided in an embodiment of the present application, such as Figure 8 As shown, the multimodal-based smart meter reading device may include:
[0206] An acquisition unit 810 is used to acquire image data of a smart meter;
[0207] The recognition unit 820 is used to perform target element recognition based on the image data of the smart meter to obtain the target element in the image data of the smart meter; wherein the target element at least includes an element used to determine the reading of the smart meter;
[0208] The determination unit 830 is used to determine the target logic rule by using the multimodal information interaction method according to the image data and the rule text library of the smart meter; wherein the target logic rule at least includes the reading rule of the smart meter; and the rule text library at least includes the reading rules of multiple different types of smart meters;
[0209] The reading unit 840 is used to determine the reading result of the smart meter according to the target element and the target logic rule.
[0210] In some embodiments, the determination unit 830 determines the target logic rule based on the image data of the smart meter using a multimodal information interaction method, including:
[0211] According to the image data of the smart meter, searching the smart meter template library to determine whether there is a matching target image template;
[0212] In the case where there is a matching target image template, determining the type of the smart meter according to the target image template, and searching a rule text library according to the type of the smart meter to determine a target logic rule;
[0213] In the absence of a matching target image template, text information is extracted from the image data of the smart meter to obtain a first text-level prompt feature vector, and a target logic rule is determined based on the first text-level prompt feature vector.
[0214] In some embodiments, the determining unit 830 is further configured to determine a second text-level prompt feature vector according to the target element recognition result;
[0215] The determining unit 830 determines the target logic rule according to the first text-level prompt feature vector, including:
[0216] According to the first text-level prompt feature vector, a rule text library is searched to determine a matching logical rule;
[0217] The matched logical rules are filtered according to the second text-level prompt feature vector to determine a target logical rule.
[0218] In some embodiments, the recognition unit 820 is further used to extract visual features from the image data of the smart meter in the absence of a matching target image template, and perform intelligent analysis and processing based on the obtained first visual feature information to obtain an analysis result; wherein the intelligent analysis and processing includes target detection and panoptic segmentation; based on the analysis result, perform semantic abstraction on the image data of the smart meter to obtain second visual feature information, wherein the second visual feature information includes location information and semantic information of the specified target;
[0219] The determining unit 830 determines the target logic rule according to the first text-level prompt feature vector, including:
[0220] Multimodal information interaction is performed on the first text-level prompt feature vector and the second visual feature information, and a target logical rule is determined based on the feature information after the interaction.
[0221] In some embodiments, the recognition unit 820 extracts visual features from the image data of the smart meter, including:
[0222] Using the trained visual feature extraction model, perform modality-independent feature extraction and modality-dependent feature extraction on the image data of the smart meter to obtain first visual feature information;
[0223] The determining unit 830 performs multimodal information interaction on the first text-level prompt feature vector and the second visual feature information, and determines a target logic rule according to the feature information after the interaction, including:
[0224] Using the trained text feature extraction model, perform modality-independent feature extraction and modality-dependent feature extraction on the first text-level prompt feature vector to obtain text feature information;
[0225] Performing multimodal information interaction on the second visual feature information and the text feature information, and respectively reconstructing the visual feature information and the text feature information to obtain reconstructed visual feature information and reconstructed text feature information;
[0226] The reconstructed visual feature information and the reconstructed text feature information are subjected to feature fusion, and a target logic rule is determined based on the fused feature information.
[0227] In some embodiments, the acquisition unit 810 is further used to acquire a text information guide input through a user interaction interface;
[0228] The reading unit 840 determines the reading result of the smart meter according to the target element and the target logic rule, including:
[0229] The reading result of the smart meter is determined according to the target element, the target logic rule, and the text information guidance.
[0230] In some embodiments, the target logic rule further includes an alarm rule for a smart meter, and the target element further includes an element for assisting in alarm determination;
[0231] The determination unit 830 is further configured to determine whether to perform alarm processing based on the target element and the target logic rule.
[0232] In some embodiments, the element used to assist in alarm determination includes color information corresponding to the scale range;
[0233] The determining unit 830 determines whether to perform alarm processing according to the target element and the target logic rule, including:
[0234] When it is determined, based on the target element, that the color corresponding to the scale range to which the reading of the smart meter belongs is a specified color, it is determined to perform alarm processing.
[0235] In some embodiments, the smart meter is a pointer meter, and the target element includes a pointer, a scale line, and a scale value;
[0236] The reading unit 840 determines the reading result of the smart meter according to the target element and the target logic rule, including:
[0237] The reading result of the smart meter is determined according to the pointer position, the scale line position, the scale value in the image data of the smart meter, and the reading rule of the smart meter.
[0238] In some embodiments, the target element also includes the center of the pointer table;
[0239] Before the reading unit 840 determines the reading result of the smart meter according to the target element and the target logic rule, the reading unit 840 further includes:
[0240] Correcting the image data of the smart meter according to the pointer, the scale line, and the center of the circle, and determining the pointer position and the scale line position in the corrected image;
[0241] The reading unit 840 determines the reading result of the smart meter according to the pointer position, the scale line position, the scale value in the image data of the smart meter, and the reading rule of the smart meter, including:
[0242] The reading result of the smart meter is determined according to the pointer position, scale line position, scale value and the reading rule of the smart meter in the corrected image.
[0243] An embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor is used to execute the machine executable instructions to implement the software platform personalized intelligent guidance method described above.
[0244] See also Fig. 9 , is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 901 and a memory 902 storing machine executable instructions. The processor 901 and the memory 902 may communicate via a system bus 903. In addition, by reading and executing the machine executable instructions corresponding to the multi-modal smart meter reading logic in the memory 902, the processor 901 may execute the multi-modal smart meter reading method described above.
[0245] The memory 902 mentioned herein may be any electronic, magnetic, optical or other physical storage device that may contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium may be: RAM (RadomAccess Memory, random access memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof.
[0246] In some embodiments, a machine-readable storage medium is also provided. Fig. 9 The memory 902 in the machine readable storage medium stores machine executable instructions, and when the machine executable instructions are executed by the processor, the multi-modal intelligent meter reading method described above is implemented. For example, the storage medium can be ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Claims
1. A multi-modal intelligent meter reading method, characterized in that: include: Acquire image data of smart meters; According to the image data of the smart meter, target element recognition is performed to obtain the target element in the image data of the smart meter; as well as , according to the image data of the smart meter and the rule text library, a target logic rule is determined by using a multimodal information interaction method; wherein the target element at least includes an element for determining the reading of the smart meter, the target logic rule at least includes the reading rule of the smart meter; the rule text library at least includes the reading rules of multiple different types of smart meters; Determining a reading result of the smart meter according to the target element and the target logic rule; Wherein, determining the target logic rule based on the image data of the smart meter by using a multimodal information interaction method includes: According to the image data of the smart meter, searching the smart meter template library to determine whether there is a matching target image template; In the case where there is a matching target image template, determining the type of the smart meter according to the target image template, and searching a rule text library according to the type of the smart meter to determine a target logic rule; In the absence of a matching target image template, extracting text information from the image data of the smart meter to obtain a first text-level prompt feature vector, and determining a target logic rule based on the first text-level prompt feature vector; In the case where there is no matching target image template, the method further comprises: Extract visual features from the image data of the smart meter, and perform intelligent analysis and processing based on the obtained first visual feature information to obtain an analysis result; wherein the intelligent analysis and processing includes target detection and panoptic segmentation; According to the analysis result, semantic abstraction is performed on the image data of the smart meter to obtain second visual feature information, where the second visual feature information includes location information and semantic information of a designated target; The step of determining a target logic rule according to the first text-level prompt feature vector comprises: Multimodal information interaction is performed on the first text-level prompt feature vector and the second visual feature information, and a target logical rule is determined based on the feature information after the interaction.
2. The method according to claim 1, characterized in that The method further comprises: Determine a second text-level prompt feature vector according to the target element recognition result; The step of determining a target logic rule according to the first text-level prompt feature vector comprises: According to the first text-level prompt feature vector, a rule text library is searched to determine a matching logical rule; The matched logical rules are filtered according to the second text-level prompt feature vector to determine a target logical rule.
3. The method according to claim 1, characterized in that The extracting visual features from the image data of the smart meter includes: Using the trained visual feature extraction model, perform modality-independent feature extraction and modality-dependent feature extraction on the image data of the smart meter to obtain first visual feature information; The performing multimodal information interaction on the first text-level prompt feature vector and the second visual feature information, and determining a target logic rule according to the feature information after the interaction, includes: Using the trained text feature extraction model, perform modality-independent feature extraction and modality-dependent feature extraction on the first text-level prompt feature vector to obtain text feature information; Performing multimodal information interaction on the second visual feature information and the text feature information, and respectively reconstructing the visual feature information and the text feature information to obtain reconstructed visual feature information and reconstructed text feature information; The reconstructed visual feature information and the reconstructed text feature information are subjected to feature fusion, and a target logic rule is determined based on the fused feature information.
4. The method according to claim 1, characterized in that The method further comprises: Obtaining text information guidance input through the user interaction interface; The step of determining the reading result of the smart meter according to the target element and the target logic rule includes: The reading result of the smart meter is determined according to the target element, the target logic rule, and the text information guidance.
5. The method according to claim 1, characterized in that The target logic rules also include alarm rules for smart meters, and the target elements also include elements for assisting alarm judgment; The method further comprises: Determine whether to perform alarm processing based on the target element and the target logic rule.
6. The method according to claim 5, characterized in that The elements used to assist in warning judgment include color information corresponding to the scale range; The determining whether to perform alarm processing according to the target element and the target logic rule includes: When it is determined, based on the target element, that the color corresponding to the scale range to which the reading of the smart meter belongs is a specified color, it is determined to perform alarm processing.
7. The method according to claim 1, characterized in that The smart meter is a pointer meter, and the target element includes a pointer, a scale line, and a scale value; The step of determining the reading result of the smart meter according to the target element and the target logic rule includes: The reading result of the smart meter is determined according to the pointer position, the scale line position, the scale value in the image data of the smart meter, and the reading rule of the smart meter.
8. The method according to claim 5, characterized in that The target element also includes the center of the pointer table; Before determining the reading result of the smart meter according to the target element and the target logic rule, the method further includes: Correcting the image data of the smart meter according to the pointer, the scale line, and the center of the circle, and determining the pointer position and the scale line position in the corrected image; The method of determining the reading result of the smart meter based on the pointer position, the scale line position, the scale value in the image data of the smart meter and the reading rule of the smart meter includes: The reading result of the smart meter is determined according to the pointer position, scale line position, scale value and the reading rule of the smart meter in the corrected image.
9. A multi-modal intelligent meter reading device, characterized in that: include: An acquisition unit, used for acquiring image data of a smart meter; An identification unit, configured to identify target elements according to the image data of the smart meter, and obtain target elements in the image data of the smart meter; wherein the target elements at least include elements for determining the reading of the smart meter; A determination unit, configured to determine a target logic rule by using a multimodal information interaction method based on the image data of the smart meter and the rule text library; wherein the target logic rule at least includes a reading rule of the smart meter; and the rule text library at least includes reading rules of multiple different types of smart meters; A reading unit, used to determine a reading result of the smart meter according to the target element and the target logic rule; The determining unit determines the target logic rule based on the image data of the smart meter by using a multimodal information interaction method, including: According to the image data of the smart meter, searching the smart meter template library to determine whether there is a matching target image template; In the case where there is a matching target image template, determining the type of the smart meter according to the target image template, and searching a rule text library according to the type of the smart meter to determine a target logic rule; In the absence of a matching target image template, extracting text information from the image data of the smart meter to obtain a first text-level prompt feature vector, and determining a target logic rule based on the first text-level prompt feature vector; The recognition unit is further used to extract visual features from the image data of the smart meter in the absence of a matching target image template, and perform intelligent analysis and processing based on the obtained first visual feature information to obtain an analysis result; wherein the intelligent analysis and processing includes target detection and panoptic segmentation; based on the analysis result, perform semantic abstraction on the image data of the smart meter to obtain second visual feature information, wherein the second visual feature information includes location information and semantic information of the designated target; The determining unit determines the target logic rule according to the first text-level prompt feature vector, including: Multimodal information interaction is performed on the first text-level prompt feature vector and the second visual feature information, and a target logical rule is determined based on the feature information after the interaction.
10. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor is used to execute the machine executable instructions to implement the method according to any one of claims 1 to 8.
11. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Automatic reading method for multiple types of instruments of gas collection station
CN112699876A
Image recognition method and system based on agent map and readable storage medium
CN114049493A
Intelligent meter reading method
CN114332897A
Substation equipment detection method and system and storage medium
CN115346038A
Information identification method, device and equipment, storage medium and program product
CN115909374A
