Intelligent dual-mode liquid level acquisition method and device
Through the intelligent dual-mode liquid level acquisition method, combined with the level electrode information and low light local image data, marking processing is performed, which solves the problem that the liquid level acquisition means cannot be accurately judged in the prior art, and achieves higher liquid level acquisition accuracy.
Patent Information
- Application Number
- CN202510058590.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-05-06
AI Technical Summary
In the prior art, the liquid level acquisition means are only recognized by global image, and cannot accurately judge based on the physical parameters and local images of the liquid level.
The intelligent dual-mode liquid level acquisition method is adopted to collect liquid level electrode information and low light local image data, and perform preset optimization processing to generate sharpened image data, and mark the sharpened image data based on the liquid level electrode information to obtain the liquid level marking result.
It realizes more accurate judgment based on the physical parameters and local images of the liquid level, and improves the accuracy of liquid level acquisition.
Smart Images

Figure CN119935273A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of liquid level recognition and collection, and in particular to an intelligent dual-mode liquid level collection method and device. Background Art
[0002] With the continuous development of intelligent technology, people are using more and more intelligent devices in their lives, work and study. The use of intelligent technology has improved the quality of people's lives and increased the efficiency of their study and work.
[0003] At present, for the liquid level collection process in various fields, the liquid level situation is usually collected and analyzed based on the image recognition results of the liquid level, and the analysis results are pushed to the client for further analysis and disposal by the customer. However, the liquid level collection method in the prior art only processes and analyzes the liquid level information through global image recognition, and cannot make a more accurate judgment based on the physical parameters of the liquid level and the local image.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide an intelligent dual-mode liquid level acquisition method and device, so as to at least solve the technical problem that the liquid level acquisition means in the prior art only processes and analyzes the liquid level information by means of global image recognition, and cannot make a more accurate judgment based on the physical parameters of the liquid level and the local image.
[0006] According to one aspect of an embodiment of the present invention, an intelligent dual-mode liquid level acquisition method is provided, comprising: acquiring liquid level electrode information and low-light local image data; performing preset optimization processing on the low-light local image data to obtain sharpened image data; marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result; and outputting the liquid level marking result as a liquid level acquisition result.
[0007] Optionally, the low-light local image data includes: infrared image data and liquid level recognition data.
[0008] Optionally, the step of marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result includes: collecting liquid level tactile data in the liquid level electrode information; and obtaining a liquid level marking result according to the liquid level tactile data and a formula.
[0009]
[0010] Generate the liquid level mark data, where F is the liquid level mark data, P is the sharpened image data, D is the liquid level electrode information, and n is the number of liquid level electrode pieces.
[0011] Optionally, outputting the liquid level marking result as the liquid level acquisition result includes: fitting the liquid level marking result and original image data to obtain a fitting result; and outputting the fitting result.
[0012] According to another aspect of an embodiment of the present invention, an intelligent dual-mode liquid level acquisition device is also provided, including: an acquisition module, used to acquire liquid level electrode information and low-light local image data; an optimization module, used to perform preset optimization processing on the low-light local image data to obtain sharpened image data; a marking module, used to mark the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result; and an output module, used to output the liquid level marking result as a liquid level acquisition result.
[0013] Optionally, the low-light local image data includes: infrared image data and liquid level recognition data.
[0014] Optionally, the marking module includes: a collection unit for collecting liquid level touch data in the liquid level electrode information; a calculation unit for calculating the liquid level touch data according to the liquid level touch data and the formula
[0015]
[0016] Generate the liquid level mark data, where F is the liquid level mark data, P is the sharpened image data, D is the liquid level electrode information, and n is the number of liquid level electrode pieces.
[0017] Optionally, the output module includes: a fitting unit, used to fit the liquid level mark result and the original image data to obtain a fitting result; and an output unit, used to output the fitting result.
[0018] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is further provided, wherein the non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute an intelligent dual-mode liquid level acquisition method.
[0019] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising a processor and a memory; the memory stores computer-readable instructions, and the processor is used to run the computer-readable instructions, wherein the computer-readable instructions execute an intelligent dual-mode liquid level acquisition method when running.
[0020] In the embodiments of the present invention, liquid level electrode information and low-light local image data are collected; the low-light local image data is subjected to preset optimization processing to obtain sharpened image data; the sharpened image data is marked according to the liquid level electrode information to obtain a liquid level marking result; and the liquid level marking result is output as a liquid level collection result, which solves the technical problem that the liquid level collection means in the prior art only processes and analyzes the liquid level information by means of global image recognition and cannot make a more accurate judgment based on the physical parameters of the liquid level and the local image. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0022] Figure 1 is a flow chart of an intelligent dual-mode liquid level acquisition method according to an embodiment of the present invention;
[0023] Figure 2 is a structural block diagram of an intelligent dual-mode liquid level acquisition device according to an embodiment of the present invention;
[0024] Figure 3 is a block diagram of a terminal device for executing a method according to an embodiment of the present invention;
[0025] Figure 4 It is a storage unit for holding or carrying a program code for implementing a method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] According to an embodiment of the present invention, a method embodiment of an intelligent dual-mode liquid level acquisition method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0029] Embodiment 1
[0030] Figure 1 is a flow chart of an intelligent dual-mode liquid level acquisition method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0031] Step S102, collecting liquid level electrode information and low-light local image data;
[0032] Step S104, performing a preset optimization process on the low-light local image data to obtain sharpened image data;
[0033] Step S106, marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result;
[0034] Step S108: outputting the liquid level marking result as a liquid level collection result.
[0035] Optionally, the low-light local image data includes: infrared image data and liquid level recognition data.
[0036] Optionally, the step of marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result includes: collecting liquid level tactile data in the liquid level electrode information; and obtaining a liquid level marking result according to the liquid level tactile data and a formula.
[0037]
[0038] Generate the liquid level mark data, where F is the liquid level mark data, P is the sharpened image data, D is the liquid level electrode information, and n is the number of liquid level electrode pieces.
[0039] Optionally, outputting the liquid level marking result as the liquid level acquisition result includes: fitting the liquid level marking result and original image data to obtain a fitting result; and outputting the fitting result.
[0040] The above embodiments solve the technical problem that the liquid level acquisition method in the prior art only processes and analyzes the liquid level information by global image recognition and cannot make a more accurate judgment based on the physical parameters of the liquid level and the local image.
[0041] Embodiment 2
[0042] Figure 2 is a structural block diagram of an intelligent dual-mode liquid level acquisition device according to an embodiment of the present invention. Figure 2 As shown, the device comprises:
[0043] The acquisition module 20 is used to acquire liquid level electrode information and low-light local image data;
[0044] An optimization module 22, configured to perform a preset optimization process on the low-light local image data to obtain sharpened image data;
[0045] A marking module 24, used for marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result;
[0046] The output module 26 is used to output the liquid level marking result as a liquid level collection result.
[0047] Optionally, the low-light local image data includes: infrared image data and liquid level recognition data.
[0048] Optionally, the marking module includes: a collection unit for collecting liquid level touch data in the liquid level electrode information; a calculation unit for calculating the liquid level touch data according to the liquid level touch data and the formula
[0049]
[0050] Generate the liquid level mark data, where F is the liquid level mark data, P is the sharpened image data, D is the liquid level electrode information, and n is the number of liquid level electrode pieces.
[0051] Optionally, the output module includes: a fitting unit, used to fit the liquid level mark result and the original image data to obtain a fitting result; and an output unit, used to output the fitting result.
[0052] The above embodiments solve the technical problem that the liquid level acquisition method in the prior art only processes and analyzes the liquid level information by global image recognition and cannot make a more accurate judgment based on the physical parameters of the liquid level and the local image.
[0053] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is further provided, wherein the non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute an intelligent dual-mode liquid level acquisition method.
[0054] Specifically, the above method includes: collecting liquid level electrode information and low-light local image data; performing preset optimization processing on the low-light local image data to obtain sharpened image data; marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result; and outputting the liquid level marking result as a liquid level collection result. Optionally, the low-light local image data includes: infrared image data and liquid level recognition data. Optionally, marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result includes: collecting liquid level tactile data in the liquid level electrode information; and outputting the liquid level tactile data according to the formula.
[0055]
[0056] Generate the liquid level mark data, wherein F is the liquid level mark data, P is the sharpened image data, D is the liquid level electrode information, and n is the number of liquid level electrode sheets. Optionally, outputting the liquid level mark result as the liquid level acquisition result includes: fitting the liquid level mark result and the original image data to obtain a fitting result; and outputting the fitting result.
[0057] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising a processor and a memory; the memory stores computer-readable instructions, and the processor is used to run the computer-readable instructions, wherein the computer-readable instructions execute an intelligent dual-mode liquid level acquisition method when running.
[0058] Specifically, the above method includes: collecting liquid level electrode information and low-light local image data; performing preset optimization processing on the low-light local image data to obtain sharpened image data; marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result; and outputting the liquid level marking result as a liquid level collection result. Optionally, the low-light local image data includes: infrared image data and liquid level recognition data. Optionally, marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result includes: collecting liquid level tactile data in the liquid level electrode information; and outputting the liquid level tactile data according to the formula.
[0059]
[0060] Generate the liquid level mark data, wherein F is the liquid level mark data, P is the sharpened image data, D is the liquid level electrode information, and n is the number of liquid level electrode sheets. Optionally, outputting the liquid level mark result as the liquid level acquisition result includes: fitting the liquid level mark result and the original image data to obtain a fitting result; and outputting the fitting result.
[0061] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0062] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0063] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0064] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0065] in addition, Figure 3 This is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application. Figure 3 As shown, the terminal device may include an input device 30, a processor 31, an output device 32, a memory 33 and at least one communication bus 34. The communication bus 34 is used to realize the communication connection between the components. The memory 33 may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory. Various programs can be stored in the memory 33 to complete various processing functions and implement the method steps of this embodiment.
[0066] Optionally, the processor 31 may be implemented as a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and the processor 31 is coupled to the input device 30 and the output device 32 via a wired or wireless connection.
[0067] Optionally, the input device 30 may include multiple input devices, for example, it may include at least one of a user interface for users, a device interface for devices, a programmable interface for software, a camera, and a sensor. Optionally, the device interface for devices may be a wired interface for data transmission between devices, or a hardware insertion interface for data transmission between devices (such as a USB interface, a serial port, etc.); Optionally, the user interface for users may be, for example, a control button for users, a voice input device for receiving voice input, and a touch sensing device for users to receive user touch input (such as a touch screen with a touch sensing function, a touch pad, etc.); Optionally, the programmable interface for the software may be, for example, an entry for users to edit or modify programs, such as an input pin interface or an input interface of a chip; Optionally, the transceiver may be a radio frequency transceiver chip with communication function, a baseband processing chip, and a transceiver antenna, etc. Audio input devices such as microphones may receive voice data. The output device 32 may include output devices such as displays and speakers.
[0068] In this embodiment, the processor of the terminal device includes functions for executing each module of the data processing device in each device. The specific functions and technical effects can be referred to the above embodiments and will not be repeated here.
[0069] Figure 4 A schematic diagram of the hardware structure of a terminal device provided in another embodiment of the present application. Figure 4 Yes Figure 3 A specific embodiment in the implementation process. Figure 4 As shown, the terminal device of this embodiment includes a processor 41 and a memory 42.
[0070] The processor 41 executes the computer program code stored in the memory 42 to implement the method in the above embodiment.
[0071] The memory 42 is configured to store various types of data to support operations on the terminal device. Examples of such data include instructions for any application or method used to operate on the terminal device, such as messages, pictures, videos, etc. The memory 42 may include a random access memory (RAM) and may also include a non-volatile memory, such as at least one disk storage.
[0072] Optionally, the processor 41 is provided in the processing component 40. The terminal device may further include: a communication component 43, a power component 44, a multimedia component 45, an audio component 46, an input / output interface 47 and / or a sensor component 48. The specific components included in the terminal device are set according to actual needs, and this embodiment does not limit this.
[0073] The processing component 40 generally controls the overall operation of the terminal device. The processing component 40 may include one or more processors 41 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 40 may include one or more modules to facilitate the interaction between the processing component 40 and other components. For example, the processing component 40 may include a multimedia module to facilitate the interaction between the multimedia component 45 and the processing component 40.
[0074] The power supply component 44 provides power to various components of the terminal device. The power supply component 44 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device.
[0075] The multimedia component 45 includes a display screen that provides an output interface between the terminal device and the user. In some embodiments, the display screen may include a liquid crystal display (LCD) and a touch panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0076] The audio component 46 is configured to output and / or input audio signals. For example, the audio component 46 includes a microphone (MIC), and when the terminal device is in an operating mode, such as a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 42 or sent via the communication component 43. In some embodiments, the audio component 46 also includes a speaker for outputting audio signals.
[0077] The input / output interface 47 provides an interface between the processing component 40 and the peripheral interface modules, which may be click wheels, buttons, etc. These buttons may include but are not limited to: volume buttons, start buttons, and lock buttons.
[0078] The sensor assembly 48 includes one or more sensors for providing various aspects of status assessment for the terminal device. For example, the sensor assembly 48 can detect the open / closed state of the terminal device, the relative positioning of the components, and the presence or absence of contact between the user and the terminal device. The sensor assembly 48 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact, including detecting the distance between the user and the terminal device. In some embodiments, the sensor assembly 48 may also include a camera, etc.
[0079] The communication component 43 is configured to facilitate wired or wireless communication between the terminal device and other devices. The terminal device can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one embodiment, the terminal device may include a SIM card slot for inserting a SIM card, so that the terminal device can log in to the GPRS network and establish communication with the service end through the Internet.
[0080] From the above, we can see that Figure 4 The communication component 43, the audio component 46, the input / output interface 47, and the sensor component 48 involved in the embodiment can all be used as Figure 3 Implementation method of the input device in the embodiment.
[0081] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0082] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0083] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0084] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0085] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. An intelligent dual-mode liquid level acquisition method, characterized in that: include: Collect liquid level electrode information and low-light local image data; Performing preset optimization processing on the low-light local image data to obtain sharpened image data; Marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result; The liquid level marking result is output as a liquid level acquisition result.
2. The method according to claim 1, characterized in that The low-light local image data includes: infrared image data and liquid level recognition data.
3. The method according to claim 1, characterized in that The step of marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result comprises: Collecting liquid level touch data in the liquid level electrode information; According to the liquid level touch data and formula Generate the liquid level mark data, where F is the liquid level mark data, P is the sharpened image data, D is the liquid level electrode information, and n is the number of liquid level electrode pieces.
4. The method according to claim 1, characterized in that: Outputting the liquid level marking result as the liquid level collection result includes: Fitting the liquid level mark result and the original image data to obtain a fitting result; The fitting result is output.
5. An intelligent dual-mode liquid level acquisition device, characterized in that: include: An acquisition module is used to collect liquid level electrode information and low-light local image data; An optimization module, used for performing preset optimization processing on the low-light local image data to obtain sharpened image data; A marking module, used for marking the sharpened image data according to the liquid level electrode information to obtain a liquid level marking result; The output module is used to output the liquid level marking result as the liquid level collection result.
6. The device according to claim 5, characterized in that The low-light local image data includes: infrared image data and liquid level recognition data.
7. The device according to claim 5, characterized in that The marking module comprises: A collection unit, used for collecting liquid level touch data in the liquid level electrode information; A calculation unit is used to calculate the liquid level touch data and the formula Generate the liquid level mark data, where F is the liquid level mark data, P is the sharpened image data, D is the liquid level electrode information, and n is the number of liquid level electrode pieces.
8. The device according to claim 5, characterized in that The output module comprises: A fitting unit, used for fitting the liquid level marking result and the original image data to obtain a fitting result; An output unit is used to output the fitting result.
9. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein the program controls the device where the non-volatile storage medium is located to execute the method according to any one of claims 1 to 4 when the program is executed.
10. An electronic device, characterized in that: It comprises a processor and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein the computer-readable instructions execute the method described in any one of claims 1 to 4 when executed.