NB-IOT camera shooting direct-reading water meter reading method, system and device and storage medium

Through the NB-IOT camera direct reading water meter method and the use of shooting adjustment and recognition optimization technology, the problem of low data accuracy in water meter reading is solved, and the accuracy of data recognition and the reliability of meter reading are improved.

CN118714441APending Publication Date: 2024-09-27NINGBO DONGHAI GRP CORP +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410729422.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In the existing water meter reading methods, the image recognition of the water meter wheel frame by the camera is easily affected by the environment, resulting in a reduction in data accuracy, which in turn affects the statistics and analysis of meter reading data.

Method used

The NB-IOT camera direct reading water meter method is used to obtain image detection information to determine whether the data benchmark requirements are met. If not, the missing data information and environmental humidity are analyzed to determine the shooting adjustment plan. After adjustment, the shooting and identification are re-photographed to form a shooting correction. Data and image correction information are uploaded.

Benefits of technology

The accuracy of data during water meter reading is improved, and the accuracy of data recognition is enhanced through shooting adjustment and recognition optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714441A
    Figure CN118714441A
Patent Text Reader

Abstract

The invention relates to an NB-IOT camera shooting direct-reading water meter reading method, system and device and a storage medium, and relates to the technical field of instrument data acquisition, and the method comprises the following steps: obtaining image detection information; determining frame selection initial data information; judging whether the frame-selected initial data information meets preset data reference requirement information or not; if yes, outputting and uploading frame-selected initial data information and image detection information; if not, frame selection data missing information is analyzed and determined, and an environment humidity detection value is obtained; analyzing, determining and executing a shooting adjustment scheme to obtain shooting adjustment image information; determining shooting adjustment data information; and combining the shooting adjustment data information with the frame-selected initial data information to form shooting correction data information, combining the shooting adjustment image information with the image detection information to form image correction information, and outputting the shooting correction data information and the image correction information for uploading. The method and the device have the effect of improving the accuracy of the data uploaded when the water meter is read.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of meter data acquisition, and in particular to a NB-IOT camera direct-reading water meter reading method, system, device and storage medium. Background Art

[0002] Instrument data acquisition refers to the process of using various sensors and measuring equipment to monitor physical quantities, chemical quantities, biomass, etc. in real time, and transmitting these data to a central database or cloud platform for storage, analysis and processing through a data acquisition system. It is widely used in industrial automation, environmental monitoring, smart grids, smart cities and other fields.

[0003] my country is short of water resources, so it is necessary to use and manage water resources rationally. Generally, in urban water supply, meters are installed at households, meters are read at households, and metering is charged, so it is necessary to collect meter data from water meters. At present, cameras are generally used to directly capture the image of the water meter wheel frame, and the acquired image files are digitally recognized at the meter end, and then the recognized collected data is uploaded to the server through NB-IOT technology, thereby completing the data collection work on the water meter.

[0004] When collecting meter data, it is necessary to first directly capture the image of the water meter character frame through a camera and then perform digital recognition. However, when the camera recognizes and obtains the image of the water meter character frame, it is easily affected by the water meter installation environment, which can easily lead to image recognition failure, reduce the accuracy of the uploaded data, and seriously affect the statistics and analysis of the meter reading data. Summary of the invention

[0005] In order to improve the accuracy of data uploaded during water meter reading, the present invention provides a NB-IOT camera direct reading water meter reading method, system, device and storage medium.

[0006] In a first aspect, the present invention provides a NB-IOT camera direct reading water meter reading method, which adopts the following technical solution:

[0007] A NB-IOT camera direct reading water meter reading method, comprising:

[0008] Obtain image detection information detected by a camera preset above the water meter;

[0009] Based on the preset frame selection reference features, the image detection information is selected and digitally identified to determine the frame selection initial data information;

[0010] Determine whether the initial data information selected in the box meets the preset data benchmark requirement information;

[0011] If yes, the initial data information and image detection information are output and uploaded;

[0012] If not, analyze the initial data information of the box selection to determine the missing information of the box selection data, and obtain the ambient humidity detection value of the humidity sensor preset on the water meter;

[0013] Analyze the missing information of the frame selection data and the environmental humidity detection value to determine a shooting adjustment plan, and execute the shooting adjustment plan to obtain shooting adjustment image information;

[0014] Digitally identifying the shooting adjustment image information to determine the shooting adjustment data information;

[0015] The shooting adjustment data information is combined with the frame selection initial data information to form the shooting correction data information, and the shooting adjustment image information is combined with the image detection information to form the image correction information, and the shooting correction data information and the image correction information are output for uploading.

[0016] Optionally, the method for determining the shooting adjustment plan includes:

[0017] Retrieve the missing data location based on the box-selected missing data information;

[0018] When the ambient humidity detection value is greater than the preset ambient humidity reference value, the difference between the ambient humidity detection value and the ambient humidity reference value is calculated and used as the ambient humidity deviation value;

[0019] According to the corresponding relationship between the ambient humidity deviation value and the preset heating output value, the heating output value corresponding to the ambient humidity deviation value is determined;

[0020] A heating adjustment scheme is formed by combining the heating output value with the data missing position point, and the heating adjustment scheme is used as the shooting adjustment scheme.

[0021] Optionally, the method further includes steps after retrieving the missing data location point, which are as follows:

[0022] When the ambient humidity detection value is not greater than the preset ambient humidity reference value, the missing position value is retrieved based on the data missing position point;

[0023] Determine whether the missing position value is consistent with the preset recognition area value;

[0024] If yes, the preset cover shooting reference scheme is output and used as the shooting adjustment scheme;

[0025] If not, an analysis is performed based on the data missing location points and image detection information to determine the data missing area value;

[0026] An analysis is performed based on the number of missing positions and the data missing area value to determine a masking adjustment plan, and the masking adjustment plan is used as a shooting adjustment plan.

[0027] Optionally, a method for determining a covering adjustment scheme includes:

[0028] Determine whether the missing position value is greater than a preset position number reference value;

[0029] If yes, then analyze the data missing location points and the data missing area values ​​to determine the multi-position cover movement control scheme, and use the multi-position cover movement control scheme as the cover adjustment scheme;

[0030] If not, then determining the single area moving distance value corresponding to the data missing area value according to the corresponding relationship between the data missing area value and the preset single area moving distance value;

[0031] According to the correspondence between the data missing position point and the preset position movement distance value, the position movement distance value corresponding to the data missing position point is determined;

[0032] Calculate the sum of the single area moving distance value and the position moving distance value and use it as the single area comprehensive distance value;

[0033] According to the corresponding relationship between the single-area comprehensive distance value and the preset single-area movement control scheme, the single-area movement control scheme corresponding to the single-area comprehensive distance value is determined, and the single-area movement control scheme is used as the covering adjustment scheme.

[0034] Optionally, a method for determining a multi-position covering movement control scheme includes:

[0035] Calculate the distance between the data missing position and the preset occlusion initial position and use it as the required movement value of the missing position;

[0036] Sort the missing position demand movement values ​​from large to small, and use the first missing position demand movement value as the demand movement selection value;

[0037] The data missing position point corresponding to the required moving selection value is used as the moving selection position point, and the data missing area value corresponding to the moving selection position point is used as the moving selection area value;

[0038] According to the correspondence between the moving selection area value and the preset selection area distance adjustment value, the selection area distance adjustment value corresponding to the moving selection area value is determined;

[0039] Calculate the sum of the selected area distance adjustment value and the required movement selection value and use it as the mask selection comprehensive distance value;

[0040] According to the corresponding relationship between the cover selection comprehensive distance value and the preset cover selection control scheme, the cover selection control scheme corresponding to the cover selection comprehensive distance value is determined, and the cover selection control scheme is used as the multi-position cover movement control scheme.

[0041] Optionally, the method further includes steps before determining the multi-position covering movement control scheme, which are as follows:

[0042] Calculate the distance between the data missing position and the preset illumination adjustment reference position and use it as the illumination distance value;

[0043] Calculate the difference between each lighting distance value and use it as the lighting distance deviation value;

[0044] Determine whether the illumination distance deviation value is within a preset illumination distance reference interval;

[0045] If yes, sort the illumination distance values ​​from large to small, and use the illumination distance value with the first order as the illumination distance selection value;

[0046] According to the corresponding relationship between the lighting distance selection value and the preset lighting output value, the lighting output value corresponding to the lighting distance selection value is determined;

[0047] According to the corresponding relationship between the lighting output value and the preset lighting output control scheme, a lighting output control scheme corresponding to the lighting output value is determined, and the lighting output control scheme is used as the shooting adjustment scheme.

[0048] If not, the process jumps to perform analysis based on the data missing position points and the data missing area values ​​to determine a multi-position covering movement control solution.

[0049] Optionally, the method further includes a step after using the lighting output control scheme as the shooting adjustment scheme, which is specifically as follows:

[0050] Obtaining light detection information from a light sensor preset on the water meter;

[0051] Retrieve light color type information and light intensity value based on light detection information;

[0052] According to the corresponding relationship between the light intensity value and the preset light intensity adjustment value, a light intensity adjustment value corresponding to the light intensity value is determined;

[0053] According to the correspondence between the illumination color type information and the preset illumination color output information, the illumination color output information corresponding to the illumination color type information is determined;

[0054] Based on the illumination color output information, the illumination intensity adjustment value is combined to form an ambient illumination adjustment scheme, and the ambient illumination adjustment scheme is added to the shooting adjustment scheme to form a new shooting adjustment scheme.

[0055] In the second aspect, the present application provides an NB-IOT camera direct reading water meter reading system, which adopts the following technical solution:

[0056] An NB-IOT camera direct reading water meter reading system, comprising:

[0057] An acquisition module is used to acquire image detection information, environmental humidity detection value, shooting adjustment image information and light detection information;

[0058] A memory, used to store a program of the NB-IOT camera direct reading water meter reading method as described in any one of the first aspects;

[0059] The program in the memory can be loaded and executed by the processor to implement the NB-IOT camera direct reading water meter reading method as described in any one of the first aspects.

[0060] In a third aspect, the present application provides an NB-IOT camera direct-reading water meter reading device, which adopts the following technical solution:

[0061] A NB-IOT camera direct-reading water meter reading device comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes the NB-IOT camera direct-reading water meter reading method as described in any one of the first aspects.

[0062] In a fourth aspect, the present application provides a computer storage medium capable of storing corresponding programs, which has the characteristics of facilitating the improvement of the accuracy of data uploaded during water meter reading, and adopts the following technical solutions:

[0063] A computer-readable storage medium stores a computer program that can be loaded by a processor and executes a method for directly reading a water meter using NB-IOT camera as described in any one of the first aspects.

[0064] In summary, the present application includes at least one of the following beneficial technical effects:

[0065] 1. The image detection information is acquired and selected, and then digitally identified to determine the initial data information of the frame selection, and whether the initial data information of the frame selection meets the preset data benchmark requirement information is judged. If it meets the requirement information, the initial data information of the frame selection and the image detection information are output and uploaded. If it does not meet the requirement information, the initial data information of the frame selection is analyzed to determine the missing information of the frame selection data, and the environmental humidity detection value is acquired, and then the shooting adjustment plan is analyzed and determined, and the shooting adjustment plan is executed to obtain the shooting adjustment image information, and then the shooting correction data information and the image correction information are combined to be uploaded, so that when the image recognition fails, the shooting adjustment is performed, and then the image is re-identified and re-uploaded, thereby improving the accuracy of the data uploaded during the water meter reading;

[0066] 2. The data missing location is retrieved by selecting the missing data information. When the ambient humidity detection value is greater than the preset ambient humidity reference value, the ambient humidity deviation value is calculated and analyzed to determine the heating output value. The heating output value is combined with the data missing location to form a heating adjustment plan and serve as a shooting adjustment plan, thereby improving the accuracy of the obtained shooting adjustment plan;

[0067] 3. When the ambient humidity detection value is not greater than the preset ambient humidity reference value, the missing position value is retrieved through the data missing position point, and a judgment is made as to whether the missing position value is consistent with the preset recognition area value. When they are consistent, the preset covering shooting reference scheme is output as the shooting adjustment scheme. When they are inconsistent, the data missing area value is determined by analyzing the data missing position point and image detection information. The covering adjustment scheme is determined by analyzing the missing position value and the data missing area value and used as the shooting adjustment scheme, thereby improving the accuracy of the obtained shooting adjustment scheme. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 This is a flow chart of the method for directly reading water meters using NB-IOT camera in an embodiment of the present application.

[0069] Figure 2 It is a method flow chart of a method for determining a shooting adjustment scheme according to an embodiment of the present application.

[0070] Figure 3 It is a method flow chart of the steps after retrieving the data missing location point in an embodiment of the present application.

[0071] Figure 4 It is a method flow chart of a method for determining a covering adjustment scheme according to an embodiment of the present application.

[0072] Figure 5 It is a method flow chart of a method for determining a multi-position covering movement control solution according to an embodiment of the present application.

[0073] Figure 6 It is a method flow chart of the steps before determining the multi-position covering movement control scheme in an embodiment of the present application.

[0074] Figure 7 It is a method flow chart of the step after using the lighting output control scheme as the shooting adjustment scheme in an embodiment of the present application.

[0075] Figure 8 This is a system flow chart of NB-IOT camera direct reading of water meters in an embodiment of the present application.

[0076] Explanation of the accompanying drawings: 1. Acquisition module; 2. Memory; 3. Processor. DETAILED DESCRIPTION

[0077] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0078] The embodiment of the present application discloses a method for directly reading a water meter using an NB-IOT camera.

[0079] Reference Figure 1 , a NB-IOT camera direct reading water meter reading method includes:

[0080] Step S100: Acquire image detection information detected by a camera preset above the water meter.

[0081] The image detection information refers to the detection information of the image detection of the dial of the water meter, and the image detection information is obtained after detection by a camera preset above the water meter.

[0082] Step S200: Selecting image detection information based on preset frame selection reference features and performing digital recognition to determine frame selection initial data information.

[0083] Among them, the frame selection reference feature refers to the reference feature corresponding to the frame selection of the word wheel frame on the water meter dial, and the frame selection reference feature is obtained by querying from the database storing the frame selection reference feature. Digital recognition refers to reading and identifying the numbers and pointers in the framed image and forming data. The frame selection initial data information refers to the initial data information formed after the frame selection and digital recognition of the word wheel frame on the water meter dial. The image detection information is selected and digitally recognized through the frame selection reference feature, so as to determine the frame selection initial data information for subsequent use.

[0084] Step S300: Determine whether the selected initial data information meets the preset data benchmark requirement information. If yes, execute step S400; if no, execute step S500.

[0085] The data benchmark requirement information refers to the benchmark requirement information that the data collected when reading the water meter needs to meet, and the data benchmark requirement information is queried and obtained from a database storing the data benchmark requirement information. By judging whether the initial data information selected by the box meets the preset data benchmark requirement information, it is judged whether the image of the water meter is affected by the external environment during image acquisition, resulting in abnormal images.

[0086] Step S400: Output the initial data information and image detection information of the frame selection and upload them.

[0087] Among them, when the initial data information of the box selection meets the preset data benchmark requirement information, it means that the image acquisition of the water meter is not affected by the external environment at this time, so the initial data information of the box selection and the image detection information are output and uploaded.

[0088] Step S500: Analyze the initial data information of the box selection to determine the missing information of the box selection data, and obtain the ambient humidity detection value of the humidity sensor preset on the water meter.

[0089] Among them, the box-selected data missing information refers to the information used to indicate that there is missing data in the box-selected data, and the ambient humidity detection value refers to the detection value of the humidity detection of the environment in which the water meter is located. The ambient humidity detection value is obtained after detection by a humidity sensor preset on the water meter.

[0090] When the initial data information of the frame selection does not meet the preset data benchmark requirement information, it means that the image of the water meter is affected by the external environment during image acquisition, resulting in image abnormalities. Therefore, the initial data information of the frame selection and the data benchmark requirement information are analyzed, so that the data corresponding to the preset data benchmark requirement information that is not met in the initial data information of the frame selection is used as the missing information of the frame selection data, and the environmental humidity detection value is obtained for subsequent use.

[0091] Step S600: analyzing the frame selection data missing information and the ambient humidity detection value to determine a shooting adjustment plan, and executing the shooting adjustment plan to obtain shooting adjustment image information.

[0092] Among them, the shooting adjustment plan refers to the adjustment plan made before the camera re-shoots the water meter, and the shooting adjustment image information refers to the image information obtained by the camera shooting the area corresponding to the framed reference feature in the water meter dial after the shooting adjustment plan is executed. By analyzing the missing information of the framed data and the ambient humidity detection value, the shooting adjustment plan is determined and executed, and the shooting adjustment image information is obtained, so as to facilitate subsequent use.

[0093] Step S700: digitally identifying the shooting adjustment image information to determine the shooting adjustment data information.

[0094] Among them, the shooting adjustment data information refers to the data information formed by digitally identifying the detection image after executing the shooting adjustment scheme. By digitally identifying the shooting adjustment image information, the shooting adjustment data information is determined to facilitate subsequent use.

[0095] Step S800: combining the shooting adjustment data information with the frame selection initial data information to form shooting correction data information, combining the shooting adjustment image information with the image detection information to form image correction information, and outputting the shooting correction data information and the image correction information for uploading.

[0096] Among them, the shooting correction data information refers to the data information after the initial data is corrected, and the image correction information refers to the image information after the initial image is corrected. By combining the shooting adjustment data information with the frame selection initial data information to form the shooting correction data information, the obtained shooting correction data information is made into, and the shooting adjustment image information is combined with the image detection information to form the image correction information, and the shooting correction data information and the image correction information are output for uploading, so that when the image recognition fails, the shooting adjustment is performed and the image recognition is re-identified and re-uploaded, thereby improving the accuracy of the data uploaded during the water meter reading.

[0097] exist Figure 1 In step S600, in order to further ensure the rationality of the shooting adjustment plan, it is necessary to further analyze and calculate the shooting adjustment plan. Figure 2 The steps shown are explained in detail.

[0098] Reference Figure 2 , the method for determining the shooting adjustment plan includes the following steps:

[0099] Step S610: Retrieve the data missing location point based on the frame-selected data missing information.

[0100] The data missing location point refers to the location point corresponding to the missing data in the water meter, and the data missing location point is queried and obtained from a database storing the data missing location point.

[0101] Step S620: When the ambient humidity detection value is greater than the preset ambient humidity reference value, the difference between the ambient humidity detection value and the ambient humidity reference value is calculated and used as the ambient humidity deviation value.

[0102] Among them, the ambient humidity reference value refers to the reference humidity value that the environment in which the water meter is located can tolerate, and the ambient humidity reference value is obtained by querying from a database storing the ambient humidity reference value. The ambient humidity deviation value refers to the deviation value when the humidity of the environment in which the water meter is located deviates. When the ambient humidity detection value is greater than the preset ambient humidity reference value, it means that the data loss at this time is caused by the humidity of the environment in which the water meter is located. Therefore, the difference between the ambient humidity detection value and the ambient humidity reference value is calculated and used as the ambient humidity deviation value for subsequent use.

[0103] Step S630: determining a heating output value corresponding to the ambient humidity deviation value according to a correspondence between the ambient humidity deviation value and a preset heating output value.

[0104] The heating output value refers to the power output value corresponding to the heating process for controlling the heating element preset on the water meter, and the heating output value is obtained by querying from a database storing the heating output value. The heating element can be a heating wire preset above each character wheel frame of the water meter dial and covered with a protective cover, or a luminous element preset above each character wheel frame of the water meter dial for lighting and capable of generating heat.

[0105] Step S640: forming a heating adjustment scheme according to the heating output value and the data missing position point, and using the heating adjustment scheme as the shooting adjustment scheme.

[0106] Among them, the heating adjustment scheme refers to a scheme used to control the heating element to heat in order to adjust the humidity value of the environment in which the water meter is located. By combining the heating output value with the data missing location point, a heating adjustment scheme is formed and used as a shooting adjustment scheme, thereby improving the accuracy of the obtained shooting adjustment scheme.

[0107] exist Figure 2 After step S610, in order to further ensure the rationality of the shooting adjustment plan, it is necessary to perform further separate analysis and calculation after retrieving the data missing position point, specifically through Figure 3 The steps shown are explained in detail.

[0108] Reference Figure 3 , the steps after retrieving the missing data location point include the following steps:

[0109] Step S611: when the ambient humidity detection value is not greater than the preset ambient humidity reference value, the missing position value is retrieved based on the data missing position point.

[0110] Among them, the missing position value refers to the value corresponding to the missing data, and the missing position value is obtained by querying the database storing the missing position value. When the ambient humidity detection value is not greater than the preset ambient humidity reference value, it means that the data missing at this time is not caused by the humidity of the environment where the water meter is located. Therefore, the missing position value is retrieved through the data missing position point, so as to facilitate subsequent use.

[0111] Step S612: Determine whether the missing position value is consistent with the preset identification area value. If yes, execute step S613; if no, execute step S614.

[0112] The recognition area value refers to the value corresponding to the data that can be obtained in the entire recognition area in the detection image, and the recognition area value is obtained by querying the database storing the recognition area value. By judging whether the missing position value is consistent with the preset recognition area value, it is judged whether the data of the entire recognition area is missing.

[0113] Step S613: outputting a preset cover shooting reference scheme as a shooting adjustment scheme.

[0114] The obstruction shooting benchmark scheme refers to a scheme for controlling a shielding device preset at the water meter to shield the external light to shield most of the water meter. The obstruction shooting benchmark scheme is obtained by querying from a database storing obstruction shooting benchmark schemes. The shielding device is located above the camera, so as not to affect the camera's shooting of the water meter. When the obstruction shooting benchmark scheme is executed, part of the external light will still enter the water meter to illuminate it, which will not affect the camera's shooting and detection of the water meter.

[0115] When the value of the missing position is consistent with the value of the preset recognition area, it means that the data of the entire recognition area is missing, that is, the entire dial of the water meter is reflective, so the preset cover shooting reference plan is output and used as the shooting adjustment plan, thereby improving the accuracy of the obtained shooting adjustment plan.

[0116] Step S614: Analyze the data missing location points and the image detection information to determine the data missing area value.

[0117] The data missing area value refers to the actual area value corresponding to the abnormal situation at the position corresponding to the missing data on the water meter dial.

[0118] When the missing position value is consistent with the preset recognition area value, it means that the data of not the entire recognition area is missing, that is, part of the dial of the water meter is reflective. Therefore, the data missing area value is obtained by identifying the abnormal area corresponding to the data missing position point in the image detection information and calculating it according to the ratio of the image area to the actual area, which is convenient for subsequent use.

[0119] Step S615: Analyze the missing position value and the data missing area value to determine a covering adjustment scheme, and use the covering adjustment scheme as a shooting adjustment scheme.

[0120] Among them, the covering adjustment plan refers to a plan for controlling the movement and adjustment of the shielding device preset at the water meter to block external light. By analyzing the missing position values ​​and the data missing area values, the covering adjustment plan is determined and used as the shooting adjustment plan, thereby improving the accuracy of the obtained shooting adjustment plan.

[0121] exist Figure 3 After step S615, in order to further ensure the rationality of the covering adjustment scheme, it is necessary to further analyze and calculate the covering adjustment scheme. Figure 4 The steps shown are explained in detail.

[0122] Reference Figure 4 , the method for determining the covering adjustment scheme includes the following steps:

[0123] Step S6151: Determine whether the missing position value is greater than a preset position number reference value. If yes, execute step S6152; if no, execute step S6153.

[0124] The reference value of the number of positions refers to the reference value of the position where the missing data is located when there is a missing situation. The reference value of the number of positions is obtained by querying the database storing the reference value of the number of positions. By judging whether the value of the number of missing positions is greater than the preset reference value of the number of positions, it is judged whether there are multiple missing data.

[0125] Step S6152: Analyze the data missing position points and the data missing area values ​​to determine a multi-position covering movement control scheme, and use the multi-position covering movement control scheme as a covering adjustment scheme.

[0126] Among them, the multi-position covering movement control scheme refers to a control scheme for controlling a shielding device preset at a water meter to shield external light so as to move to shield multiple positions at the same time.

[0127] When the missing position value is greater than the preset position number reference value, it means that there are multiple missing data at this time. Therefore, the data missing position points and the data missing area values ​​are analyzed to determine the multi-position cover movement control scheme and use it as the cover adjustment scheme, thereby improving the accuracy of the obtained cover adjustment scheme.

[0128] Step S6153: Determine the single area moving distance value corresponding to the data missing area value according to the correspondence between the data missing area value and the preset single area moving distance value.

[0129] The single-area moving distance value refers to the distance value required to control the movement of the shielding device according to the abnormal area corresponding to a single missing data, and the single-area moving distance value is obtained by querying a database storing the single-area moving distance value.

[0130] When the missing position value is not greater than the preset position number reference value, it means that there is only one missing data at this time. Therefore, the single area moving distance value is determined by querying the data missing area value, which is convenient for subsequent use.

[0131] Step S6154: Determine the position movement distance value corresponding to the data missing position point according to the correspondence between the data missing position point and the preset position movement distance value.

[0132] The position moving distance value refers to the distance value required to control the movement of the shielding device according to the position corresponding to the single missing data, and the position moving distance value is obtained by querying the database storing the position moving distance value. The position moving distance value is determined by querying the data missing position point, so as to facilitate subsequent use.

[0133] Step S6155: Calculate the sum of the single area movement distance value and the position movement distance value and use it as the single area comprehensive distance value.

[0134] Among them, the single-area comprehensive distance value refers to the comprehensive moving distance value required by the blocking device when blocking the abnormal area corresponding to a single missing data. The sum of the single-area moving distance value and the position moving distance value is calculated and used as the single-area comprehensive distance value, which facilitates subsequent use.

[0135] Step S6156: Determine the single-area movement control scheme corresponding to the single-area comprehensive distance value according to the corresponding relationship between the single-area comprehensive distance value and the preset single-area movement control scheme, and use the single-area movement control scheme as the covering adjustment scheme.

[0136] The single-area movement control scheme refers to a scheme for controlling the movement of the shielding device, and the single-area movement control scheme is obtained by querying a database storing the single-area movement control scheme. The single-area movement control scheme is determined by querying the single-area comprehensive distance value and used as the shielding adjustment scheme, thereby improving the accuracy of the obtained shielding adjustment scheme.

[0137] exist Figure 4 In step S6152 shown in the figure, in order to further ensure the rationality of the multi-position covering movement control scheme, it is necessary to further analyze and calculate the multi-position covering movement control scheme separately, specifically through Figure 5 The steps shown are explained in detail.

[0138] Reference Figure 5 , the method for determining the multi-position covering movement control scheme includes the following steps:

[0139] Step S61521: Calculate the distance between the data missing position point and the preset occlusion initial position point and use it as the required movement value of the missing position.

[0140] The occlusion initial position point refers to the position point where the occlusion device is located in the initial state, and the occlusion initial position point is obtained by querying the database storing the occlusion initial position point. The missing position required movement value refers to the distance value that the occlusion device needs to move according to the position corresponding to the missing data. The distance value between the data missing position point and the preset occlusion initial position point is calculated and used as the missing position required movement value for subsequent use.

[0141] Step S61522: Sort the missing position required movement values ​​from large to small, and use the missing position required movement value that ranks first as the required movement selection value.

[0142] Step S61523: The data missing position point corresponding to the required moving selection value is used as the moving selection position point, and the data missing area value corresponding to the moving selection position point is used as the moving selection area value.

[0143] Step S61524: Determine the selection area distance adjustment value corresponding to the moving selection area value according to the correspondence between the moving selection area value and the preset selection area distance adjustment value.

[0144] The selected area distance adjustment value refers to the distance value that needs to be controlled to move and adjust the shielding device according to the moving selected area value, and the area distance adjustment value is obtained by querying the database storing the area distance adjustment value. The selected area distance adjustment value is determined by querying the moving selected area value, which is convenient for subsequent use.

[0145] Step S61525: Calculate the sum of the selected area distance adjustment value and the required movement selection value and use it as the masked selection comprehensive distance value.

[0146] Among them, the comprehensive distance value for covering selection refers to the comprehensive distance value required to control the movement of the shielding device. The sum of the selected area distance adjustment value and the required movement selection value is calculated and used as the comprehensive distance value for covering selection, so as to facilitate subsequent use.

[0147] Step S61526: Determine the cover selection control scheme corresponding to the cover selection comprehensive distance value according to the correspondence between the cover selection comprehensive distance value and the preset cover selection control scheme, and use the cover selection control scheme as the multi-position cover movement control scheme.

[0148] The cover selection control scheme refers to a control scheme for controlling the shielding device to move to the selected position for shielding, and the cover selection control scheme is obtained from a database storing the cover selection control scheme. The cover selection control scheme is determined by querying the cover selection comprehensive distance value and used as a multi-position cover movement control scheme for subsequent use.

[0149] exist Figure 4 Before step S6152 shown in the figure, in order to further ensure the rationality of the shooting adjustment scheme, it is necessary to perform further separate analysis and calculation before determining the multi-position covering movement control scheme. Figure 6 The steps shown are explained in detail.

[0150] Reference Figure 6 , the steps before determining the multi-position covering movement control scheme include the following steps:

[0151] Step S61511: Calculate the distance between the data missing position and the preset illumination adjustment reference position and use it as the illumination distance value.

[0152] The illumination adjustment reference position point refers to the reference position point of the illumination device preset above the water meter for illumination adjustment of the water meter, and the illumination adjustment reference position point is obtained by querying the database storing the illumination adjustment reference position point. The illumination distance value refers to the distance value between the illumination device and the actual position of the water meter corresponding to the missing data, and the distance value between the data missing position point and the preset illumination adjustment reference position point is calculated and used as the illumination distance value for convenience of subsequent use.

[0153] Step S61512: Calculate the difference between each lighting distance value and use it as the lighting distance deviation value.

[0154] Step S61513: Determine whether the illumination distance deviation value is within the preset illumination distance reference interval. If yes, execute step S61514; if no, execute step S61517.

[0155] The illumination distance reference interval refers to the distance reference interval corresponding to the position that the illumination device can affect at the same time, and the illumination distance reference interval is obtained by querying the database storing the illumination distance reference interval. By comparing whether the illumination distance deviation value is within the preset illumination distance reference interval, it is judged whether it is necessary to use the illumination device to perform illumination adjustment.

[0156] Step S61514: Sort the lighting distance values ​​from large to small, and use the lighting distance value that comes first in the sort as the lighting distance selection value.

[0157] Among them, when the lighting distance deviation value is within the preset lighting distance reference range, it means that the lighting device can be used for lighting adjustment at this time. Therefore, the lighting distance values ​​are sorted from large to small, and the first-ranked lighting distance value is used as the lighting distance selection value for convenience of subsequent use.

[0158] Step S61515: Determine the lighting output value corresponding to the lighting distance selection value according to the correspondence between the lighting distance selection value and the preset lighting output value.

[0159] The lighting output value refers to the output power value used to control the lighting device to illuminate, and the lighting output value is obtained by querying the database storing the lighting output value. The lighting output value is determined by querying the lighting distance selection value, which is convenient for subsequent use.

[0160] Step S61516: Determine a lighting output control scheme corresponding to the lighting output value according to the corresponding relationship between the lighting output value and the preset lighting output control scheme, and use the lighting output control scheme as the shooting adjustment scheme.

[0161] The lighting output control scheme refers to a control scheme for controlling the lighting device to illuminate, and the lighting output control scheme is obtained by querying a database storing the lighting output control scheme. The lighting output control scheme is determined by querying the lighting output value, and the lighting output control scheme is used as the shooting adjustment scheme, thereby improving the accuracy of the obtained shooting adjustment scheme.

[0162] Step S61517: Jump to execute step S6152.

[0163] When the lighting distance deviation value is not within the preset lighting distance reference interval, it means that the lighting device cannot be used for lighting adjustment at this time, so the process jumps to step S6152.

[0164] exist Figure 6 After step S61516 shown in the figure, in order to further ensure the rationality of the shooting adjustment scheme, it is necessary to further analyze and calculate the lighting output control scheme as the shooting adjustment scheme. Figure 7 The steps shown are explained in detail.

[0165] Reference Figure 7 The steps after using the lighting output control scheme as the shooting adjustment scheme include the following steps:

[0166] Step S615161: Obtain light detection information from a light sensor preset on the water meter.

[0167] The light detection information refers to the detection information of light detection, and the light detection information is obtained by detecting through a light sensor preset on the water meter.

[0168] Step S615162: Retrieve the light color type information and light intensity value based on the light detection information.

[0169] The illumination color category information refers to the category information of the illumination color, and the illumination color category information is obtained by querying from a database storing illumination color category information. The illumination intensity value refers to the intensity value corresponding to the illumination brightness, and the illumination intensity value is obtained by querying from a database storing illumination intensity values.

[0170] Step S615163: Determine the illumination intensity adjustment value corresponding to the illumination intensity value according to the correspondence between the illumination intensity value and the preset illumination intensity adjustment value.

[0171] The light intensity adjustment value refers to an adjustment value adjusted according to the intensity of the light brightness, and the light intensity adjustment value is obtained by querying a database storing the light intensity adjustment value. The light intensity adjustment value is determined by querying the light intensity value, which is convenient for subsequent use.

[0172] Step S615164: Determine lighting color output information corresponding to the lighting color type information according to the correspondence between the lighting color type information and the preset lighting color output information.

[0173] The lighting color output information refers to control information for controlling the lighting color to be adjusted and output, and the lighting color output information is obtained by querying a database storing the lighting color output information. The lighting color output information is determined by querying the lighting color type information, which is convenient for subsequent use.

[0174] Step S615165: Combining the illumination color output information with the illumination intensity adjustment value to form an ambient illumination adjustment scheme, and adding the ambient illumination adjustment scheme to the shooting adjustment scheme to form a new shooting adjustment scheme.

[0175] Among them, the ambient light adjustment plan refers to a plan for adjustment based on ambient light, which is formed by combining the lighting color output information with the light intensity adjustment value, and adding the ambient light adjustment plan to the shooting adjustment plan to form a new shooting adjustment plan, thereby improving the accuracy of the acquired shooting adjustment plan.

[0176] Reference Figure 8 Based on the same inventive concept, an embodiment of the present invention provides an NB-IOT camera direct-reading water meter reading system, including:

[0177] Acquisition module 1, used to acquire image detection information, environmental humidity detection value, shooting adjustment image information and light detection information;

[0178] Memory 2, used to store Figures 1 to 7 A program for the NB-IOT camera direct reading water meter reading method of any one of the above;

[0179] Processor 3, the program in the memory can be loaded and executed by the processor and realize the following Figures 1 to 7 Any one of the NB-IOT camera direct reading water meter reading methods.

[0180] Based on the same inventive concept, an embodiment of the present invention provides an NB-IOT camera direct reading water meter reading device, including a memory and a processor, the memory stores a program that can be loaded and executed by the processor. Figures 1 to 7 A computer program for any of the NB-IOT camera direct reading water meter reading methods.

[0181] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0182] An embodiment of the present invention provides a computer-readable storage medium storing a computer program that can be loaded and executed by a processor. Figures 1 to 7 A computer program for any of the NB-IOT camera direct reading water meter reading methods.

[0183] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0184] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A method for directly reading water meters by NB-IOT camera, characterized in that: include: Obtain image detection information detected by a camera preset above the water meter; Based on the preset frame selection reference features, the image detection information is selected and digitally identified to determine the frame selection initial data information; Determine whether the initial data information selected in the box meets the preset data benchmark requirement information; If yes, the initial data information and image detection information are output and uploaded; If not, analyze the initial data information of the box selection to determine the missing information of the box selection data, and obtain the ambient humidity detection value of the humidity sensor preset on the water meter; Analyze the missing information of the frame selection data and the environmental humidity detection value to determine a shooting adjustment plan, and execute the shooting adjustment plan to obtain shooting adjustment image information; Digitally identifying the shooting adjustment image information to determine the shooting adjustment data information; The shooting adjustment data information is combined with the frame selection initial data information to form the shooting correction data information, and the shooting adjustment image information is combined with the image detection information to form the image correction information, and the shooting correction data information and the image correction information are output for uploading.

2. The NB-IOT camera direct reading water meter reading method according to claim 1 is characterized in that: Methods for determining the shooting adjustment plan include: Retrieve the missing data location based on the box-selected missing data information; When the ambient humidity detection value is greater than the preset ambient humidity reference value, the difference between the ambient humidity detection value and the ambient humidity reference value is calculated and used as the ambient humidity deviation value; According to the corresponding relationship between the ambient humidity deviation value and the preset heating output value, the heating output value corresponding to the ambient humidity deviation value is determined; A heating adjustment scheme is formed by combining the heating output value with the data missing position point, and the heating adjustment scheme is used as the shooting adjustment scheme.

3. The NB-IOT camera direct reading water meter reading method according to claim 2 is characterized in that: It also includes steps after retrieving the data missing location point, which are as follows: When the ambient humidity detection value is not greater than the preset ambient humidity reference value, the missing position value is retrieved based on the data missing position point; Determine whether the missing position value is consistent with the preset recognition area value; If yes, the preset cover shooting reference scheme is output and used as the shooting adjustment scheme; If not, an analysis is performed based on the data missing location points and image detection information to determine the data missing area value; An analysis is performed based on the number of missing positions and the data missing area value to determine a masking adjustment plan, and the masking adjustment plan is used as a shooting adjustment plan.

4. The NB-IOT camera direct reading water meter reading method according to claim 3 is characterized in that: Methods for determining the masking adjustment scheme include: Determine whether the missing position value is greater than a preset position number reference value; If yes, then analyze the data missing location points and the data missing area values ​​to determine the multi-position cover movement control scheme, and use the multi-position cover movement control scheme as the cover adjustment scheme; If not, then determining the single area moving distance value corresponding to the data missing area value according to the corresponding relationship between the data missing area value and the preset single area moving distance value; According to the correspondence between the data missing position point and the preset position movement distance value, the position movement distance value corresponding to the data missing position point is determined; Calculate the sum of the single area moving distance value and the position moving distance value and use it as the single area comprehensive distance value; According to the corresponding relationship between the single-area comprehensive distance value and the preset single-area movement control scheme, the single-area movement control scheme corresponding to the single-area comprehensive distance value is determined, and the single-area movement control scheme is used as the covering adjustment scheme.

5. The NB-IOT camera direct reading water meter reading method according to claim 4 is characterized in that: The method for determining the multi-position covering movement control scheme includes: Calculate the distance between the data missing position and the preset occlusion initial position and use it as the required movement value of the missing position; Sort the missing position demand movement values ​​from large to small, and use the first missing position demand movement value as the demand movement selection value; The data missing position point corresponding to the required moving selection value is used as the moving selection position point, and the data missing area value corresponding to the moving selection position point is used as the moving selection area value; According to the correspondence between the moving selection area value and the preset selection area distance adjustment value, the selection area distance adjustment value corresponding to the moving selection area value is determined; Calculate the sum of the selected area distance adjustment value and the required movement selection value and use it as the mask selection comprehensive distance value; According to the correspondence between the cover selection comprehensive distance value and the preset cover selection control scheme, the cover selection control scheme corresponding to the cover selection comprehensive distance value is determined, and the cover selection control scheme is used as the multi-position cover movement control scheme.

6. The NB-IOT camera direct reading water meter reading method according to claim 4 is characterized in that: The method also includes the following steps before determining the multi-position covering movement control scheme: Calculate the distance between the data missing position and the preset illumination adjustment reference position and use it as the illumination distance value; Calculate the difference between each lighting distance value and use it as the lighting distance deviation value; Determine whether the illumination distance deviation value is within a preset illumination distance reference interval; If yes, sort the illumination distance values ​​from large to small, and use the illumination distance value with the first order as the illumination distance selection value; According to the corresponding relationship between the lighting distance selection value and the preset lighting output value, the lighting output value corresponding to the lighting distance selection value is determined; According to the corresponding relationship between the lighting output value and the preset lighting output control scheme, a lighting output control scheme corresponding to the lighting output value is determined, and the lighting output control scheme is used as the shooting adjustment scheme. If not, the process jumps to perform analysis based on the data missing position points and the data missing area values ​​to determine a multi-position covering movement control solution.

7. The NB-IOT camera direct reading water meter reading method according to claim 6 is characterized in that: The method also includes the following steps after using the lighting output control scheme as a shooting adjustment scheme: Obtaining light detection information from a light sensor preset on the water meter; Retrieve light color type information and light intensity value based on light detection information; According to the corresponding relationship between the light intensity value and the preset light intensity adjustment value, a light intensity adjustment value corresponding to the light intensity value is determined; According to the correspondence between the illumination color type information and the preset illumination color output information, the illumination color output information corresponding to the illumination color type information is determined; Based on the illumination color output information, the illumination intensity adjustment value is combined to form an ambient illumination adjustment scheme, and the ambient illumination adjustment scheme is added to the shooting adjustment scheme to form a new shooting adjustment scheme.

8. An NB-IOT camera direct reading water meter reading system, characterized in that: include: An acquisition module (1) is used to acquire image detection information, environmental humidity detection value, shooting adjustment image information and light detection information; A memory (2), used for storing a program of the NB-IOT camera direct reading water meter reading method according to any one of claims 1 to 7; A processor (3), wherein the program in the memory can be loaded and executed by the processor and implements the NB-IOT camera direct reading water meter reading method as claimed in any one of claims 1 to 7.

9. A NB-IOT camera direct reading water meter reading device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes the NB-IOT camera direct-reading water meter reading method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and executes the NB-IOT camera direct reading water meter reading method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Automatic identification method and system based on portrait analysis

    CN120279233A

  • Automatic recognition method and system based on portrait analysis

    CN120279233B