Water dispenser display control method, water dispenser and computer readable storage medium

文档序号:1257960 发布日期:2020-08-25 浏览:7次 中文

阅读说明:本技术 饮水机显示控制方法、饮水机及计算机可读存储介质 (Water dispenser display control method, water dispenser and computer readable storage medium ) 是由 陈小平 吴雪良 林勇进 于 2020-02-29 设计创作,主要内容包括:本申请涉及家电设备领域,公开了一种饮水机显示控制方法、饮水机及计算机可读存储介质,所述方法包括:获取放置于饮水机的出水口下方的容器的容器图像;根据所述容器图像控制所述饮水机出水,获取所述容器内的水量变化信息;根据所述水量变化信息生成实时水量图像,并将所述实时水量图像投影至所述显示屏。以提高用户在使用饮水机时的便捷性。(The application relates to the field of household appliances, and discloses a water dispenser display control method, a water dispenser and a computer readable storage medium, wherein the method comprises the following steps: acquiring a container image of a container placed below a water outlet of the water dispenser; controlling the water outlet of the water dispenser according to the container image to acquire water quantity change information in the container; and generating a real-time water volume image according to the water volume change information, and projecting the real-time water volume image to the display screen. So as to improve the convenience of the user when using the water dispenser.)

1. A display control method of a water dispenser is characterized in that a display screen is arranged on the water dispenser, and the method comprises the following steps:

acquiring a container image of a container placed below a water outlet of the water dispenser;

controlling the water outlet of the water dispenser according to the container image to acquire water quantity change information in the container;

and generating a real-time water volume image according to the water volume change information, and displaying the real-time water volume image on the display screen.

2. The display control method for the water dispenser according to claim 1, wherein the step of obtaining the water volume change information in the container comprises the following steps:

extracting from the container image a water surface boundary generated based on the container forming tension with water;

and determining the water volume percentage in the container according to the corresponding relation between the water surface boundary and the water level value, and taking the water volume percentage as the water volume change information.

3. The display control method for the water dispenser according to claim 1, wherein the step of obtaining the water volume change information in the container comprises the following steps:

determining a volume of the container from the container image;

and acquiring water quantity information in the container, calculating the water quantity percentage in the container based on the water quantity information and the volume, and taking the water quantity percentage as the water quantity change information.

4. The display control method for the water dispenser according to claim 2 or 3, wherein the generating of the real-time water volume image according to the water volume change information comprises:

obtaining a schematic view of the container;

and displaying the water volume change of the container in real time in the schematic diagram according to the water volume percentage in the container so as to obtain a real-time water volume image.

5. The display control method of the water dispenser according to claim 1, wherein the water volume change information includes a container water volume image, and the generating a real-time water volume image according to the water volume change information includes:

and carrying out image processing on the container water quantity image to obtain a real-time water quantity image.

6. The display control method of the water dispenser according to claim 1, further comprising:

judging whether the water quantity in the container reaches a water level threshold value or not according to the water quantity change information;

and when the water quantity in the container reaches a water level threshold value, controlling the water dispenser to stop discharging water.

7. The display control method of the water dispenser according to claim 6, further comprising:

performing contour extraction on the container image to determine a diameter size of an opening contour of the container;

determining a diameter interval in which the diameter is positioned to obtain a target diameter interval;

and determining the water level threshold corresponding to the target diameter interval according to the mapping relation between the different diameter intervals and the different water level thresholds.

8. The display control method of the water dispenser according to claim 1, further comprising:

and acquiring the water temperature change information and the water quality change information of the outlet water of the water dispenser, and displaying the water temperature change information and the water quality change information on the display screen.

9. A water dispenser is characterized in that the water dispenser comprises a memory and a processor;

the memory is used for storing a computer program;

the processor is used for executing the computer program and realizing the water dispenser display control method according to any one of claims 1 to 8 when the computer program is executed.

10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the water dispenser display control method according to any one of claims 1 to 8.

Technical Field

The application relates to the field of household appliances, in particular to a water dispenser display control method, a water dispenser and a computer readable storage medium.

Background

Along with the improvement of living standard of people and the gradual popularization of water dispensers, the functional requirements of people on the water dispensers are higher and higher. At present, in the process of using a water dispenser, a user usually places a water cup at a water outlet of the water dispenser, and when receiving water, the user can only pay attention to the change of the water level in the water cup by lowering the head or listen to the sound of the water entering the water cup to estimate the water quantity in the water cup, so that the water outlet of the water dispenser is manually stopped when the water quantity is proper. Although some existing water dispensers can set the primary water output or control the water dispenser to stop water output by positioning the height of the water level through ultrasonic waves, users cannot visually observe the change of water quality, water temperature and water level in a water cup of the water dispenser in the water adding process, and the convenience is insufficient.

Disclosure of Invention

The application provides a water dispenser control method, a water dispenser and a computer readable storage medium, so as to improve the convenience of a user when using the water dispenser.

In a first aspect, the present application provides a display control method for a water dispenser, where the water dispenser is provided with a display screen, and the method includes:

acquiring a container image of a container placed below a water outlet of the water dispenser;

controlling the water outlet of the water dispenser according to the container image to acquire water quantity change information in the container;

and generating a real-time water volume image according to the water volume change information, and displaying the real-time water volume image on the display screen.

In a second aspect, the present application further provides a water dispenser, comprising a memory and a processor; the memory is used for storing a computer program; the processor is used for executing the computer program and realizing the water dispenser display control method when the computer program is executed.

In a third aspect, the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the processor is enabled to implement the above-mentioned display control method for the water dispenser.

The application discloses a water dispenser display control method, a water dispenser and a computer readable storage medium, wherein a display screen is arranged on the water dispenser, water volume change information in a container is obtained by acquiring a container image of the container placed below a water outlet of the water dispenser and controlling water outlet of the water dispenser according to the container image, then a real-time water volume image is generated according to the water volume change information, and the real-time water volume image is displayed on the display screen. The water volume change information in the container is generated into a real-time water volume image to visually present to a user on the display screen, so that the user can visually observe the water volume change in the container, and the convenience degree of the user is improved.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

Fig. 1 is a schematic flow chart of a display control method of a water dispenser provided in an embodiment of the present application;

FIG. 2 is a schematic flow chart diagram of a real-time water volume image provided by an embodiment of the present application;

fig. 3 is a schematic flow chart of a display control method of a water dispenser provided in the embodiment of the present application;

FIG. 4 is a schematic diagram illustrating steps for acquiring information about a change in water volume in a container according to an embodiment of the present application;

FIG. 5 is a schematic diagram of a water boundary within an extraction vessel as provided by an embodiment of the present application;

FIG. 6 is a schematic diagram of another step of obtaining information about a change in water amount in a container according to an embodiment of the present application;

FIG. 7 is a schematic diagram illustrating a step of generating a real-time water volume image according to water volume change information according to an embodiment of the present application;

FIG. 8 is a schematic view of a container provided by an embodiment of the present application;

fig. 9 is a schematic block diagram of a structure of a water dispenser according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.

It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

The embodiment of the application provides a water dispenser display control method, a water dispenser and a computer readable storage medium. The water dispenser display control method can be used for a water dispenser with a screen to display the water volume change in a container used for receiving water by a user to the user in real time, and the convenience of the user in using the water dispenser is improved.

Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.

Referring to fig. 1, fig. 1 is a schematic flow chart of a display control method of a water dispenser according to an embodiment of the present application. According to the water dispenser display control method, the water volume change information in the container is obtained, so that a real-time water volume image is generated according to the water volume change information, and a user can visually see the water volume change in the container in the water adding process of the water dispenser.

As shown in fig. 1, the display control method of the water dispenser specifically comprises the following steps: step S101 to step S103.

S101, obtaining a container image of a container placed below a water outlet of the water dispenser.

The type of the container can be various, for example, the container is a water cup such as a plastic cup, a ceramic cup, a glass cup or a vacuum cup.

In a specific implementation process, a camera can be preset around the water outlet of the water dispenser and used for collecting container images below the water outlet of the water dispenser, wherein the camera can be an infrared camera or other types of cameras, the specific position of the camera can be flexibly set according to actual needs, for example, the camera can be installed obliquely above the water outlet or close to the position of the water outlet, and the like, so that the camera can accurately collect container images below the water outlet of the water dispenser.

S102, controlling the water outlet of the water dispenser according to the container image, and acquiring water quantity change information in the container.

Specifically, after the image of the container placed below the water outlet of the water dispenser is obtained, it is shown that at this time, the container is placed below the water outlet of the water dispenser, so that the water outlet of the water dispenser can be controlled, and the water volume change information in the container can be obtained. In the specific implementation process, the container image below the water outlet of the water dispenser can be collected at preset time intervals, so that the water dispenser can automatically discharge water after a user places the container below the water outlet of the water dispenser. And in the water outlet process of the water dispenser, the water quantity change information in the container is acquired in real time so as to be conveniently presented to a user in real time.

And S103, generating a real-time water volume image according to the water volume change information, and displaying the real-time water volume image on the display screen.

Specifically, after the water quantity change information in the container in the water adding process is acquired, a real-time water quantity image is generated according to the water quantity change information, and the real-time water quantity image is displayed on the display screen so that a user can check the water quantity change condition in the container.

In some embodiments, the water volume change information includes a container water volume image, and the generating a real-time water volume image from the water volume change information includes: and carrying out image processing on the container water quantity image to obtain a real-time water quantity image.

Specifically, the container water quantity image is a real-time image of the water dispenser in the process of adding water into the container, which is shot by a camera preset around the water outlet of the water dispenser. Since the container water volume image may include other objects in addition to the container, the processed container water volume image may be used as a real-time water volume image after the image processing of the container water volume image, and the real-time water volume image may be displayed on the display screen.

And the image processing is used for extracting a change image of the water quantity in the container from a real-time image shot by the camera to be used as a real-time water quantity image. In a specific implementation process, in order to improve the processing speed of the container water quantity image, the container water quantity image shot by the camera may be preprocessed, wherein the preprocessing includes image gray processing, median filtering processing, binary image conversion and the like. And performing edge detection and contour processing on the preprocessed image, wherein Canny operator edge detection can be used to extract the container contour, and then performing perspective transformation on the extracted container contour to obtain a final real-time water volume image (as shown in fig. 2), and presenting the real-time water volume image to a user through a display screen on a water dispenser.

In some embodiments, the water dispenser display control method further includes: and acquiring the water temperature change information and the water quality change information of the outlet water of the water dispenser, and displaying the water temperature change information and the water quality change information on the display screen.

The user can select the water outlet temperature of the water dispenser, and the change process of the water temperature, namely the water temperature change information can be displayed on the display screen in real time in the process of heating water by the water dispenser, so that the user can control the water outlet temperature of the water dispenser in time. In addition, because can filter water in the water dispenser, play the water purification effect, consequently, can also show in real time on the display screen to quality of water change information, also the TDS value of the quality of water that the water dispenser detected to the user is with the improvement of the audio-visual understanding quality of water of digit.

The water dispenser display control method disclosed by the embodiment obtains the container image of the container placed below the water outlet of the water dispenser, controls the water outlet of the water dispenser according to the container image, thereby obtaining the water volume change information in the container, then generates the real-time water volume image according to the water volume change information, and displays the real-time water volume image on the display screen. The water volume change information in the container is generated into a real-time water volume image to visually present to a user on the display screen, so that the user can visually observe the water volume change in the container, and the convenience degree of the user is improved.

Referring to fig. 3, fig. 3 is a schematic flow chart of a display control method of a water dispenser according to an embodiment of the present application.

As shown in fig. 3, the display control method of the water dispenser specifically includes: step S201 to step S205.

S201, obtaining a container image of a container placed below a water outlet of the water dispenser.

The type of the container can be various, for example, the container is a water cup such as a plastic cup, a ceramic cup, a glass cup or a vacuum cup.

In a specific implementation process, a camera can be preset around the water outlet of the water dispenser and used for collecting container images below the water outlet of the water dispenser, wherein the camera can be an infrared camera or other types of cameras, the specific position of the camera can be flexibly set according to actual needs, for example, the camera can be installed obliquely above the water outlet or close to the position of the water outlet, and the like, so that the camera can accurately collect container images below the water outlet of the water dispenser.

S202, controlling the water outlet of the water dispenser according to the container image, and acquiring water quantity change information in the container.

Specifically, after the image of the container placed below the water outlet of the water dispenser is obtained, it is shown that at this time, the container is placed below the water outlet of the water dispenser, so that the water outlet of the water dispenser can be controlled, and the water volume change information in the container can be obtained. In the specific implementation process, the container image below the water outlet of the water dispenser can be collected at preset time intervals, so that the water dispenser can automatically discharge water after a user places the container below the water outlet of the water dispenser. And in the water outlet process of the water dispenser, the water quantity change information in the container is acquired in real time so as to be conveniently presented to a user in real time.

In some embodiments, referring to fig. 4, the step of obtaining the water amount variation information in the container includes step S202a and step S202 b.

S202, 202a, extracting a water surface boundary generated based on the tension formed between the container and the water from the container image.

The water in the container can form an adhesion effect on the inner wall of the container due to the existence of tension, so that the water optically shows optical characteristics such as abnormal refraction effect, and the optical characteristics can be captured and identified through a camera in the view of visual identification technology. Therefore, as shown in fig. 5, in the process of water outlet of the water dispenser, after a container image containing the container is acquired, a water surface boundary generated based on tension formed between the container and water can be extracted from the container image. In the process of water outlet of the instant water dispenser, the water surface in the container fluctuates due to tension, and the boundary of the inner wall of the container is provided with an obvious reflective boundary, so that the boundary of the water surface can be obtained through image analysis. For example, the last frame of container image in the multi-frame container images is compared with the previous N frames (the specific value of N is flexibly set according to actual needs), so as to obtain an area with obvious brightness difference, which is the area of the current water surface, i.e. the water surface boundary.

In addition, in order to improve the accuracy of acquiring the water surface boundary, filtering or smoothing and other operations can be performed on the extracted water surface boundary, so that noise points, cavity points and the like are filtered, and a smooth water surface boundary is obtained.

S202b, determining the water volume percentage in the container according to the corresponding relation between the water surface boundary and the water level value.

Specifically, the water level value refers to the ratio of the amount of water in the vessel to the total volume of the vessel. After the water surface boundary is obtained, the water volume percentage in the container can be determined according to the corresponding relation between the water surface boundary and the water level value. The lower the water level is because the less the water quantity in the container is, the smaller the water surface boundary extracted from the container image is; the more the water quantity in the container is, the higher the water level is, the larger the water surface boundary extracted from the container image is, so that the water quantity percentage in the container can be determined according to the corresponding relation between the size of the extracted water surface boundary and the water level value. Wherein, the corresponding relation between the size of the water surface boundary and the water level value is preset.

In some embodiments, referring to fig. 6, the step of obtaining the water amount variation information in the container includes step S202c and step S202 d.

S202c, determining the volume of the container according to the container image.

Specifically, the water dispenser can be further provided with a structured light camera, so that a structured light stripe image is obtained. Because the three-dimensional information of the object, including three-dimensional geometric information, gray information, color information and the like, is stored in the structured light stripe image, the complete three-dimensional characteristics of the shot container can be reconstructed and restored based on the structured light stripe image, and the reconstruction of the three-dimensional model is carried out. In the specific implementation process, the reconstruction of the three-dimensional model of the container can be performed by adopting a three-dimensional imaging method based on Fourier fringe analysis, a three-dimensional imaging method based on phase shift fringe analysis, three-dimensional imaging of a dynamic process and other methods.

After the reconstruction of the three-dimensional model of the container is completed, the volume of the container is calculated based on the reconstructed three-dimensional model. In the specific implementation process, the volume of the container can be calculated by adopting various methods such as a C + + slicing method, Python or other software commands.

S202d, obtaining water quantity information in the container, and calculating the percentage of the water quantity in the container based on the water quantity information and the volume.

Specifically, the water quantity information in the container can be obtained through a flow meter arranged on the water dispenser, and can also be obtained through a weight sensor arranged on the water dispenser. For example, when the water is obtained through a flow meter arranged on the water dispenser, the current water flow is 10ml/s displayed on the flow meter from the beginning of water outlet of the water dispenser, after the water is continuously discharged for 30s, the water amount information in the container can be calculated to be 300ml, and if the volume of the container is 500ml, the water amount percentage in the container at the moment can be calculated to be 60%. When the water is obtained by the weight sensor, the reading of the weight sensor is gradually increased from the beginning of the water outlet of the water dispenser, and when the reading of the weight sensor is increased by 300g, the density of the clear water is 1g/cm3Therefore, the amount of water in the container at this time is 300ml, and if the volume of the container is 500ml, the percentage of the amount of water in the container at this time can be calculated to be 60%.

And S203, generating a real-time water volume image according to the water volume change information, and displaying the real-time water volume image on the display screen.

Specifically, after the water quantity change information in the container in the water adding process is acquired, a real-time water quantity image is generated according to the water quantity change information, and the real-time water quantity image is displayed on the display screen so that a user can check the water quantity change condition in the container.

In some embodiments, the water amount change information includes a percentage of the water amount in the container, and referring to fig. 7, a real-time water amount image is generated according to the water amount change information, specifically including step S2031 and step S2032.

S2031, obtaining the schematic diagram of the container.

In particular, the schematic of the container may be pre-configured for storage within a drinking machine, for example, the schematic of the container may be as shown in FIG. 8. When the real-time water volume image is presented to the user through the display screen, the acquired schematic diagram of the container may be used as a base image for display, and the real-time change of the water volume in the container is presented to the user in the base image.

S2032, displaying the water volume change of the container in real time in the schematic diagram according to the water volume percentage in the container to obtain a real-time water volume image.

Specifically, the water volume change information comprises the water volume percentage in the container, the water volume percentage in the schematic diagram is modified in real time according to the water volume percentage in the container, and the water volume change in the container is presented in the schematic diagram in real time according to the water volume percentage, so that a real-time water volume image is obtained. For example, where the percentage of water in the container is 20%, the percentage of water in the schematic is also 20%.

And S204, judging whether the water quantity in the container reaches a water level threshold value according to the water quantity change information.

The water level threshold may be a percentage of the water in the container, for example, when the water in the container reaches 80%, the water dispenser stops discharging water, and the water level threshold is 80%. The water level threshold value can also be the size of the water surface boundary, when the water level threshold value is the same as the size of the water surface boundary, the water quantity in the container is larger at the moment, namely the distance of the water level close to the container port at the moment, and the water dispenser is controlled to stop water outlet. Therefore, whether the water amount in the container reaches the water level threshold value can be judged according to the water amount change information in the container.

In some embodiments, the user may adjust the water level threshold by sliding a finger on the schematic diagram of the container from bottom to top, and the height at which the finger of the user finally stays is used as the water level threshold, and the user may also adjust the water level threshold by touching or pressing a button on the display screen, for example, the water level threshold is adjusted to 76%. Similarly, the user can also adjust the water outlet temperature of the water dispenser in the same manner, which is not described herein again.

In some embodiments, the method further comprises: performing contour extraction on the container image to determine a diameter size of an opening contour of the container; determining a diameter interval in which the diameter is positioned to obtain a target diameter interval; and determining the water level threshold corresponding to the target diameter interval according to the mapping relation between the different diameter intervals and the different water level thresholds.

When the container image is subjected to contour extraction, the trained recognition model can be specifically used for carrying out opening contour recognition on the container image, so that the opening contour of the container is obtained. The type of the recognition model can be flexibly set according to actual needs, the recognition model can be a target detection model SSD or YOLOv3, and the recognition model can also be a convolutional neural network CNN or R-CNN. The recognition model can be trained through a plurality of sample images containing the opening outlines of containers of different types, and the trained recognition model is obtained.

After the opening contour of the container is obtained, the preset mapping relation between different diameter intervals and different water level thresholds can be obtained, the diameter size of the opening contour of the container is obtained, and then the diameter interval where the diameter size is located is determined, so that the target diameter interval is obtained. At this time, the water level threshold corresponding to the target diameter section may be determined according to the mapping relationship between the different diameter sections and the different water level thresholds.

S205, when the water amount in the container reaches a water level threshold value, controlling the water dispenser to stop discharging water.

Specifically, if the water amount in the container reaches the water level threshold, it indicates that the water amount in the container is large at this time, that is, the water level is close to the distance of the container port, and at this time, the water dispenser may be controlled to stop discharging water. The automatic control water dispenser not only can automatically control the water outlet and the water cut-off of the water dispenser, but also can reduce the accidents of water resource waste, hot water scald and the like caused by water overflow, and improve the use safety.

According to the water dispenser display control method provided by the embodiment, the container image of the container placed below the water outlet of the water dispenser is obtained, the water outlet of the water dispenser is controlled according to the container image, so that the water quantity change information in the container is obtained, then the real-time water quantity image is generated according to the water quantity change information, and the real-time water quantity image is displayed on the display screen. The real-time water volume image is generated by the water volume change information in the container and visually displayed on the display screen for the user to visually observe the water volume change in the container, the convenience degree of the user is improved, whether the water volume in the container reaches a water level threshold value is judged according to the water volume change information, if the water level threshold value is reached, the water dispenser is controlled to stop water outlet, water outlet and water stop of the water dispenser can be automatically controlled, the use convenience of the user is improved, accidents such as water resource waste and hot water scald caused by water overflow can be reduced, and the use safety is improved.

Referring to fig. 9, fig. 9 is a schematic block diagram of a structure of a water dispenser provided in the embodiment of the present application. The water dispenser is a water dispenser with a screen.

Referring to fig. 9, the water dispenser 300 includes a processor 310, a memory 320 and a network interface connected by a system bus 330, wherein the memory 320 may include a non-volatile storage medium and an internal memory.

The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause the processor 310 to perform any one of the methods of controlling the display of a water dispenser.

The processor 310 is used to provide computing and control capabilities to support the operation of the overall water dispenser.

The internal memory provides an environment for running a computer program in a non-volatile storage medium, which when executed by the processor, causes the processor 310 to perform any one of the water dispenser display control methods.

The network interface is used for network communication, such as sending assigned tasks and the like. Those skilled in the art will appreciate that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the water dispenser to which the present application is applied, and that a particular water dispenser may include more or less components than those shown, or combine certain components, or have a different arrangement of components.

It should be understood that Processor 310 may be a Central Processing Unit (CPU), and that the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:

acquiring a container image of a container placed below a water outlet of the water dispenser;

controlling the water outlet of the water dispenser according to the container image to acquire water quantity change information in the container;

and generating a real-time water volume image according to the water volume change information, and displaying the real-time water volume image on the display screen.

In one embodiment, the processor, when implementing the obtaining of the water amount variation information in the container, is configured to implement:

extracting from the container image a water surface boundary generated based on the container forming tension with water;

and determining the water volume percentage in the container according to the corresponding relation between the water surface boundary and the water level value, and taking the water volume percentage as the water volume change information.

In one embodiment, the processor, when implementing the obtaining of the water amount variation information in the container, is configured to implement:

determining a volume of the container from the container image;

and acquiring water quantity information in the container, calculating the water quantity percentage in the container based on the water quantity information and the volume, and taking the water quantity percentage as the water quantity change information.

In one embodiment, the processor, when implementing the generating of the real-time water volume image according to the water volume change information, is configured to implement:

obtaining a schematic view of the container;

and displaying the water volume change of the container in real time in the schematic diagram according to the water volume percentage in the container so as to obtain a real-time water volume image.

In one embodiment, the water volume change information includes a container water volume image, and the processor, when implementing the generating of the real-time water volume image according to the water volume change information, is configured to implement:

and carrying out image processing on the container water quantity image to obtain a real-time water quantity image.

In one embodiment, the processor is further configured to implement:

judging whether the water quantity in the container reaches a water level threshold value or not according to the water quantity change information;

and when the water quantity in the container reaches a water level threshold value, controlling the water dispenser to stop discharging water.

In one embodiment, the processor is further configured to implement:

performing contour extraction on the container image to determine a diameter size of an opening contour of the container;

determining a diameter interval in which the diameter is positioned to obtain a target diameter interval;

and determining the water level threshold corresponding to the target diameter interval according to the mapping relation between the different diameter intervals and the different water level thresholds.

In one embodiment, the processor is further configured to implement:

and acquiring the water temperature change information and the water quality change information of the outlet water of the water dispenser, and displaying the water temperature change information and the water quality change information on the display screen.

The embodiment of the application also provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and the processor executes the program instructions to realize any one of the water dispenser display control methods provided by the embodiment of the application.

The computer-readable storage medium may be an internal storage unit of the water dispenser described in the foregoing embodiment, for example, a hard disk or a memory of the water dispenser. The computer readable storage medium may also be an external storage device of the water dispenser, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the water dispenser.

While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:智能出水方法、系统及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类