A faucet

By integrating image acquisition and processing technology into the faucet, it automatically identifies and removes stains and dirt from the washbasin, solving the problems of labor-intensive and hygienic manual cleaning in public bathrooms, and improving cleaning efficiency and user experience.

CN116180848BActive Publication Date: 2025-11-28JOMOO KITCHEN & BATHROOM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310128696.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2025-11-28
Estimated Expiration
2043-02-16

AI Technical Summary

Technical Problem

In public restrooms, washbasins often remain dirty after use. The usual solution is manual cleaning, which is labor-intensive, unhygienic, and prone to emitting odors, affecting the user experience.

Method used

Design a faucet that includes an image acquisition device, an image processor, and a control module to automatically identify and remove stains and dirt on the sink. The faucet determines the type and location of the target object through image processing, adjusts the faucet position, and controls the water outlet to flush the sink.

Benefits of technology

It enables automatic cleaning of the sink, reducing labor costs, improving cleanliness and user experience, and preventing odors from spreading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116180848B_ABST
    Figure CN116180848B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a faucet, which comprises a faucet body, an image acquisition device, an image processor and a control module arranged on the faucet body; the image acquisition device is arranged to acquire a sink image; the image processor is arranged to perform image processing on the sink image, to determine whether a target object exists in the sink, and to acquire relevant data of the target object when it is determined that the target object exists; and the control module is arranged to determine whether to flush the target object and a flushing mode according to the relevant data of the target object. Through the embodiment, stains and dirt on the sink can be automatically removed in time, the labor cost is reduced, the cleanliness of the sink is improved, and the use experience of people is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of water supply equipment design, and in particular to a faucet. BACKGROUND

[0002] In public bathroom spaces such as office buildings, shopping malls, scenic areas, etc., the frequency of use of wash basins is relatively high, so it is common for dirty marks to be left on the basin after use, such as food residues after rinsing the mouth, stains and hand-washing foam after washing hands, and liquid stains such as tea or beverage poured into the basin, as well as some dirty objects such as cigarette ash, cigarette butts, paper towels, tea leaves, and fruit peels.

[0003] However, these stains and dirty objects may not be cleaned in time, and are prone to emitting odors, and excessive accumulation may cause blockage, which will affect the mood of subsequent users; the current solution to this problem is usually manual cleaning, which is labor-intensive and unhygienic. SUMMARY

[0004] The faucet provided by the embodiments of the present application can automatically clean stains and dirty objects on the basin in time, reduce labor costs, improve the cleanliness of the basin, and improve the user experience.

[0005] The faucet provided by the embodiments of the present application can include a faucet body, an image acquisition device, an image processor, and a control module arranged on the faucet body.

[0006] The image acquisition device is arranged to acquire a basin image.

[0007] The image processor is arranged to perform image processing on the basin image, determine whether a target object exists in the basin, and acquire relevant data of the target object according to the basin image when it is determined that the target object exists.

[0008] The control module is arranged to determine whether to flush the target object and a flushing mode according to the relevant data of the target object.

[0009] In the exemplary embodiments of the present application, the faucet can further include a telescopic spray head and a first water outlet; the telescopic spray head is provided with a second water outlet; the relevant data includes the type of the target object, positioning information of the target object in the basin, and the size of the target object.

[0010] The control module determines whether to flush the target object and a flushing mode according to the relevant data of the target object, including:

[0011] determining whether to flush the target object according to the type and size of the target object, and determining whether to adjust the orientation of the faucet body according to the positioning information of the target object when it is determined to flush the target object;

[0012] adjusting the orientation of the faucet body to the orientation of the target object when it is determined to adjust the orientation of the faucet body, and controlling the first water outlet and / or the second water outlet to flush the target object according to the positioning information of the target object.

[0013] In the example embodiments of the present application, the image processor can perform image processing on the sink image to determine whether there is a target object in the sink, which can include:

[0014] graying the sink image and filtering the grayed sink image;

[0015] performing binarization processing on the filtered sink image based on the Otsu algorithm, and determining whether there is a target object according to the binarization processing result.

[0016] In the example embodiments of the present application, the image processor can obtain the related data of the target object according to the sink image, which can include:

[0017] using a preset image segmentation algorithm to segment the mutually connected target object images at different positions in the binarized sink image;

[0018] using a preset edge detection algorithm to perform edge detection on the segmented target object images at different positions, and extracting the contours of the target object images at different positions;

[0019] determining the center points of the contours of the target object images at different positions, taking the coordinates of the center points as the coordinates of the corresponding target objects in the sink, and taking the coordinates as the positioning information of the target objects;

[0020] calculating the areas of the contours of the target object images at different positions as the projection areas of the target objects corresponding to the target object images on the sink, which are used to indicate the sizes of the target objects.

[0021] In the example embodiments of the present application, the type of the target object includes stains and dirt; and the control module can determine whether to flush the target object according to the type and size of the target object, which can include:

[0022] when the target object is a stain, it is determined to flush the target object;

[0023] When the target object is dirt, a projection area of the target object on the basin is compared with a preset area threshold; when the projection area is greater than or equal to the area threshold, it is determined that the target object is not to be flushed; and when the projection area is less than the area threshold, it is determined that the target object is to be flushed.

[0024] In the example embodiments of the present application, the positioning information can include a position of the target object in the basin; and the determining whether the position of the faucet body needs to be adjusted according to the positioning information of the target object can include:

[0025] When the position corresponding to the faucet body is inconsistent with the position of the target object, it is determined that the position of the faucet body needs to be adjusted; the position corresponding to the faucet body refers to a position pointed by an end of the faucet body away from the basin;

[0026] When the position corresponding to the faucet body is consistent with the position of the target object, it is determined that the position of the faucet body does not need to be adjusted;

[0027] The faucet further includes a first motor for driving the faucet body to rotate;

[0028] The adjusting the position corresponding to the faucet body to the position of the target object includes:

[0029] Controlling the first motor to drive the faucet body to rotate until the position corresponding to the faucet body is consistent with the position of the target object.

[0030] In the example embodiments of the present application, the positioning information can include a region in which the target object is located in the basin;

[0031] The region in the basin includes a first region and a second region; wherein the first region is a region composed of position points in the basin having a distance to a drain port of the basin less than or equal to a preset first distance threshold; and the second region is a region composed of position points in the basin having a distance to the drain port of the basin greater than the first distance threshold.

[0032] In the example embodiments of the present application, the faucet can further include a second motor for driving the telescopic spray head to telescope; the telescopic spray head is arranged at an end of the faucet body away from the basin, and the end of the faucet body away from the basin is in an open state;

[0033] The controlling the first water outlet and / or the second water outlet to flush the target object according to the positioning information of the target object can include:

[0034] when the target object is located in the first area, opening the first water outlet to flush the target object;

[0035] when the target object is located in the second area, controlling the second motor to drive the telescopic spray head to extend from the end of the faucet body, and opening the second water outlet to flush the target object;

[0036] when the target object is located in the first area and the second area, controlling the second motor to drive the telescopic spray head to extend from the end of the faucet body, opening the first water outlet to flush the target object for a first preset time length, and then opening the second water outlet to flush the target object.

[0037] In the exemplary embodiments of the present application, the image processor can be further configured to, after the control module controls the first water outlet and / or the second water outlet to flush the target object for a preset number of times or a preset time length, detect, through the latest obtained countertop image, that the position on the sink basin where the target object was present before flushing still has the target object, and send information that the target object still exists to the control module.

[0038] The control module can be further configured to, according to the information that the target object still exists, control the first water outlet and / or the second water outlet to close and stop flushing the target object.

[0039] In the exemplary embodiments of the present application, the faucet can further include an induction device; the induction device is configured to induce external objects and generate an induction signal sent to the control module.

[0040] The control module can be further configured to, after receiving the induction signal and starting the first water outlet flushing process according to the induction signal, prohibit the image acquisition device from acquiring the sink basin image; and after the first water outlet stopped by the control module according to the induction signal for a second preset time length, control the image acquisition device to acquire the sink basin image according to a preset acquisition frequency.

[0041] In the exemplary embodiments of the present application, the faucet can further include an illumination device.

[0042] The illumination device can be configured to induce the brightness of the environment, and provide illumination light source when the brightness of the environment is lower than a preset brightness threshold.

[0043] Compared with related technologies, the faucet in this embodiment may include: a faucet body and an image acquisition device, an image processor, and a control module disposed on the faucet body; the image acquisition device is configured to acquire an image of the sink; the image processor is configured to perform image processing on the sink image to determine whether a target object exists in the sink, and when the target object is determined to exist, to obtain relevant data of the target object based on the sink image; the control module is configured to determine whether to rinse the target object and the rinsing method based on the relevant data of the target object. This embodiment achieves timely and automatic removal of stains and dirt from the sink, reducing labor costs, improving the cleanliness of the sink, and enhancing the user experience.

[0044] Other features and advantages of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the application. Other advantages of this application can be realized and obtained by means of the solutions described in the description and the accompanying drawings. Attached Figure Description

[0045] The accompanying drawings are used to provide an understanding of the technical solutions of this application and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of this application and do not constitute a limitation on the technical solutions of this application.

[0046] Figure 1 This is a block diagram of the faucet assembly in an embodiment of this application;

[0047] Figure 2 This is a schematic diagram of the faucet structure in an embodiment of this application;

[0048] Figure 3 This is a flowchart illustrating a method for an image processor to acquire relevant data of a target object based on an image of a sink, according to an embodiment of this application. Detailed Implementation

[0049] This application describes several embodiments, but these descriptions are exemplary and not restrictive, and it will be apparent to those skilled in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with, or may replace, any feature or element of any other embodiment.

[0050] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The presently disclosed embodiments, features and elements can also be combined with any conventional feature or element to form a unique application defined by the claims. Any feature or element of any embodiment can also be combined with features or elements from other application to form another unique application defined by the claims. Therefore, it is to be understood that any feature shown and / or discussed in the present application can be implemented alone or in any appropriate combination. Embodiments, therefore, are not to be limited by any of the illustrative features set forth herein. Rather, they are to be construed as broad as permitted by the language to follow, including all equivalents of the illustrative embodiments. Moreover, various modifications and changes can be made thereto within the scope and spirit of claims, which are to be accorded the broadest possible scope by any appropriate interpretation.

[0051] Furthermore, in describing representative embodiments, the specification can have presented the method and / or process as a particular sequence of steps. However, to the extent that the method or process depends on more than one step, the method or process should not be limited to the specific order of steps described. Other steps can be performed, or the described steps can be performed in an order other than that set forth herein. It is therefore intended that the foregoing detailed description be regarded as illustrative rather than limiting, and that it be understood that all features can be employed with or without their associated

[0052] The present application provides a faucet A, as shown in the drawings, which can include a faucet body 1, and an image acquisition device 2, an image processor 3 and a control module 4 arranged on the faucet body 1. Figure 1 The image acquisition device 2 is arranged to acquire a basin image.

[0053] The image acquisition device 2 is arranged to acquire a basin image.

[0054] The image processor 3 is arranged to perform image processing on the basin image, determine whether a target object exists in the basin, and when it is determined that the target object exists, acquire relevant data of the target object according to the basin image.

[0055] The control module 4 can be arranged to determine whether to flush the target object and a flushing mode according to the relevant data of the target object.

[0056] In the exemplary embodiments of the present application, in order to timely remove stains and / or dirt and the like on the basin, a faucet for automatically cleaning the basin based on a visual algorithm is provided.

[0057] In the exemplary embodiments of the present application, the target object can include but is not limited to stains and / or dirt.

[0058] In the exemplary embodiments of the present application, as shown in Figure 2 The faucet A can further include a telescopic spray head 5 and a first water outlet 6. The telescopic spray head 5 is provided with a second water outlet 51. The related data includes the type of the target object, the positioning information of the target object in the basin, and the size of the target object.

[0059] The control module determines whether to flush the target object and the flushing mode according to the related data of the target object, including:

[0060] According to the type and size of the target object, it is determined whether to flush the target object. After determining to flush the target object, it is determined according to the positioning information of the target object whether to adjust the orientation of the faucet body.

[0061] When it is determined that the orientation of the faucet body 1 needs to be adjusted, the corresponding orientation of the faucet body 1 is adjusted to the orientation of the target object, and the first water outlet 6 and / or the second water outlet 51 are controlled to flush the target object according to the positioning information of the target object.

[0062] In the exemplary embodiments of the present application, the image processor 3 and the control module 4 can be the image processor and the control module unique to the faucet of the embodiments of the present application, and can be arranged in the interior of the faucet body 1, or can be arranged in an independent box outside the faucet body 1. Alternatively, the image processor and the control module can be multiplexed with other intelligent devices, or the image processor and the control module in the central control module in a smart system (such as a smart home system, a smart toilet system, etc.) can also be used. Herein, the detailed arrangement position and implementation method of the image processor 3 and the control module 4 are not limited.

[0063] In the exemplary embodiments of the present application, the image acquisition device 2 can be a device for acquiring only pictures, or can be a video acquisition device. Herein, the detailed type of the image acquisition device 2 is not limited.

[0064] In the exemplary embodiments of the present application, the image acquisition device 2 can select to use a camera lens (only for taking pictures).

[0065] In the exemplary embodiments of the present application, the faucet can further include a sensing device. The sensing device is arranged to sense external objects and generate a sensing signal sent to the control module.

[0066] The control module 4 can also be configured to, after receiving the sensing signal and starting the water outlet process of the first water outlet according to the sensing signal, prohibit the image acquisition device 2 from acquiring the basin image; and after the first water outlet is stopped for a second preset time according to the sensing signal, control the image acquisition device 2 to acquire the basin image at a preset acquisition frequency.

[0067] In the example embodiment of the present application, when the sensing device can sense an external object, such as a human body part (e.g., a hand), it indicates that a person is using the faucet, therefore, in order not to affect the use of the person, the automatic flushing scheme of the present application embodiment is not started at this time, and the faucet is in the sensing water state, which can play a flushing role on the basin.

[0068] In the example embodiment of the present application, after no one uses for a period of time (e.g., the second preset time described above, which can be selected as 3-10 seconds), the camera lens can be controlled to automatically acquire a basin image every certain period of time (e.g., a third preset time, which can be selected as every 5-10 seconds).

[0069] In the example embodiment of the present application, for the acquired basin image, any available visual algorithm currently existing can be used to automatically identify the stains and / or dirt on the basin and perform classification. For example, camera calibration can be used, a checkerboard is used for calibration, the internal and external parameters and distortion parameters of the camera are calculated, and the world coordinate system to pixel coordinate system conversion is performed on the acquired basin image, thereby providing a technical basis for subsequent actual data measurement of the stains and / or dirt in the basin image (the actual data can include but is not limited to the positioning of the stains and / or dirt in different areas of the basin and the calculation of the actual area).

[0070] In the example embodiment of the present application, the faucet can further include an illumination device 7.

[0071] The illumination device 7 can be configured to sense the brightness of the environment, and provide a light source when the brightness of the environment is lower than a preset brightness threshold.

[0072] In the example embodiment of the present application, if the light around the current basin 8 is poor, so that the basin image captured is relatively blurred, the illumination device 7 can be controlled to be turned on to improve the brightness of the environment around the basin, and if the light around the current basin is sufficient, the turned-on illumination device 7 is turned off or the illumination device 7 in the off state is kept off.

[0073] In the example embodiment of the present application, the image processor 3 performs image processing on the basin image to determine whether there is a target object in the basin 8, which can include:

[0074] The basin image is converted to grayscale, and the grayscale basin image is then filtered.

[0075] The filtered basin image is binarized based on the OTU (Operational Stability Unit) algorithm, and the presence of the target object is determined based on the binarization result.

[0076] In an exemplary embodiment of this application, a weighted average method can be used to perform grayscale processing on the color basin image captured by the camera lens, with the aim of simplifying the matrix and improving the computational speed of subsequent basin image processing.

[0077] In an exemplary embodiment of this application, median filtering can be applied to the grayscale image of the sink to remove noise points.

[0078] In an exemplary embodiment of this application, the filtered basin image can be binarized using the OTU algorithm, which greatly reduces the amount of basin image data and can highlight the outline of stains and / or dirt in the basin when there are stains and / or dirt in the basin, thereby determining whether the target object exists.

[0079] In exemplary embodiments of this application, as Figure 3 As shown, the image processor 3 acquires relevant data of the target object based on the basin image, which may include steps S101–S104:

[0080] S101. Using a preset image segmentation algorithm, the interconnected target images at different positions in the binarized basin image are segmented.

[0081] S102. Using a preset edge detection algorithm, perform edge detection on the segmented target object images at different locations and extract the contours of the target object images at different locations.

[0082] S103. Determine the center point of the outline of the target object image at different locations, and use the coordinates of the center point as the coordinates of the target object corresponding to the target object image in the basin, as the positioning information of the target object.

[0083] S104. Calculate the area of ​​the outline of the target object image at different positions, and use it as the projected area of ​​the target object corresponding to the target object image on the washbasin, to indicate the size of the target object.

[0084] In an exemplary embodiment of this application, stains and / or dirt at different locations in the binarized basin image are connected together, and a preset image segmentation algorithm (e.g., a connected component labeling algorithm) can be used to separate the stains and / or dirt at different locations.

[0085] In the exemplary embodiments of the present application, a preset edge detection algorithm (for example, Canny edge detection algorithm) can be used to obtain the edge information of the stains and / or dirt in the sink image, and the outline of the stains and / or dirt can be extracted.

[0086] In the exemplary embodiments of the present application, after the outline of the stains and / or dirt is obtained, the center point of the outline can be acquired, the actual coordinate position of the center point can be determined as the coordinate of the stains and / or dirt, and the actual area of the outline surrounding region can be calculated as the projected area of the stains and / or dirt on the sink.

[0087] In the exemplary embodiments of the present application, the coordinate of the stains and / or dirt can be used as the positioning information of the target object, and the projected area of the stains and / or dirt on the sink 8 can indicate the size of the target object.

[0088] In the exemplary embodiments of the present application, the type of the target object can include stains and dirt, and the control module can determine whether to flush the target object according to the type and size of the target object, which can include:

[0089] When the target object is a stain, it is determined to flush the target object.

[0090] When the target object is dirt, the projected area of the target object on the sink is compared with a preset area threshold value; when the projected area is greater than or equal to the area threshold value, it is determined not to flush the target object; and when the projected area is less than the area threshold value, it is determined to flush the target object.

[0091] In the exemplary embodiments of the present application, the area threshold value can be defined according to different needs, and the detailed numerical value of the area threshold value is not limited herein. In order to ensure that the flushed stains and / or dirt can smoothly pass through the drain 81 of the sink 8, the area threshold value can be the area of the drain 81 of the sink 8, or a certain area value smaller than the area of the drain.

[0092] In the exemplary embodiments of the present application, since the stains will quickly decompose into smaller particles after being flushed with water, it is easy to pass through the drain 81 of the sink 8. Therefore, when the target object is detected as a stain, it can be determined to flush the target object.

[0093] In the example embodiments of the present application, since the dirt can be a large volume of waste paper, garbage, etc., the object can be too large in volume to pass through the drain opening 81 of the basin 8, and therefore the volume of the dirt can be predicted by the projected area of the dirt, if the projected area is greater than or equal to the area of the drain opening, it can be determined that the dirt can not pass through the drain opening 81 normally during flushing, thereby causing the drain opening 81 to be blocked, and therefore the dirt can not be flushed in this case and waiting for the cleaning personnel to clean; if the projected area is less than the area of the drain opening 81, it can be determined that the dirt can pass through the drain opening 81 normally during flushing, and therefore the dirt can be flushed in this case.

[0094] In the example embodiments of the present application, the positioning information can include: the position of the target object in the basin; and the determining whether the position of the faucet body needs to be adjusted according to the positioning information of the target object can include:

[0095] When the position corresponding to the faucet body 1 is inconsistent with the position of the target object, it is determined that the position of the faucet body needs to be adjusted;

[0096] When the position corresponding to the faucet body 1 is consistent with the position of the target object, it is determined that the position of the faucet body 1 does not need to be adjusted.

[0097] In the example embodiments of the present application, after the target object is visually positioned, if it is determined that the position of the dirt and / or the dirt is inconsistent with the position corresponding to the faucet body 1, it is determined that the dirt and / or the dirt can not be within the spraying range of the faucet at this time, and the control module 4 can control the motor to rotate the faucet to the position of the dirt and / or the dirt, so that the dirt and / or the dirt enters the flushing range.

[0098] The faucet further comprises a first motor for driving the faucet body 1 to rotate;

[0099] The adjusting the position corresponding to the faucet body to the position of the target object can include:

[0100] The first motor is controlled to drive the faucet body 1 to rotate until the position corresponding to the faucet body 1 is consistent with the position of the target object.

[0101] In the example embodiments of the present application, the position corresponding to the faucet body can refer to the position of the end of the faucet body away from the basin 8.

[0102] In the example embodiments of the present application, the faucet body 1 can include two parts (for example, a first part and a second part in communication with each other, the second part being away from the sink 8), the first part can be perpendicular to the countertop (the countertop on which the sink is located), and the second part can be parallel to the countertop; the corresponding orientation of the faucet body 1 can refer to the orientation in which the second part points.

[0103] In the example embodiments of the present application, the faucet body 1 can be curved, and the projection of the curve on the countertop can be a line segment parallel to the countertop. The corresponding orientation of the faucet body 1 can refer to the orientation in which the line segment points.

[0104] In the example embodiments of the present application, the positioning information of the target object can include the area in which the target object is located in the sink 8.

[0105] The area in the sink 8 includes a first area S1 and a second area S2; the first area S1 is an area composed of position points in the sink 8 that are less than or equal to a preset first distance threshold from the drain 81 of the sink 8; and the second area S2 is an area composed of position points in the sink 8 that are greater than the first distance threshold from the drain 81 of the sink 8.

[0106] In the example embodiments of the present application, the faucet can further include a second motor for driving the telescopic spray head 5 to telescope; the telescopic spray head 5 is arranged at an end of the faucet body 1 away from the sink 8, and the end of the faucet body 1 away from the sink 8 is in an open state.

[0107] The control of the first water outlet 6 and / or the second water outlet 51 to flush the target object according to the positioning information of the target object can include:

[0108] When the target object is located in the first area S1, the first water outlet 6 is opened to flush the target object;

[0109] When the target object is located in the second area S2, the second motor is controlled to drive the telescopic spray head 5 to extend from the end of the faucet body 1, and the second water outlet 51 is opened to flush the target object;

[0110] When the target object is located in the first area S1 and the second area S2, the second motor is controlled to drive the telescopic spray head 5 to extend from the end of the faucet body 1, and the first water outlet 6 is opened to flush the target object for a first preset time period, and then the second water outlet 51 is opened to flush the target object.

[0111] In the exemplary embodiments of the present application, when the target object is located in the first area S1, it indicates that the target object is close to the drain of the basin, and the first fixed-position water outlet 6 can be used for flushing at this time; when the target object is located in the second area S2, it indicates that the target object is close to the drain of the basin, and the second movable-position water outlet 51 can be used for flushing at this time; when the target object exists in both the first area S1 and the second area S2, the second movable-position water outlet 51 can be used to flush the target object in the second area S2 first, and the target object in the first area S1 can be flushed clean through this flushing, and the target object in the first area S1 does not need to be flushed again. If the target object in the second area S2 is flushed clean after flushing for a first preset time (for example, 10-20 seconds), but the target object in the first area S1 still exists at this time, the first fixed-position water outlet 6 is used to flush the target object in the first area S1.

[0112] In the exemplary embodiments of the present application, if there are multiple target objects in the first area S1 and the second area S2, the faucet body 1 can be first controlled to rotate to the position of a target object in the second area S2, and the target object is flushed, then the faucet body 1 is controlled to rotate to the position of the next target object, and the next target object is flushed by the second movable-position water outlet 51, until all the flushable target objects in the second area S2 of the basin are flushed, at this time, the second movable-position water outlet 51 is closed, and the first fixed-position water outlet 6 is opened, so as to flush the flushable target objects in the first area S1 in sequence by the first fixed-position water outlet 6 and the rotation of the faucet body 1.

[0113] In the exemplary embodiments of the present application, if the same position in the first area S1 and the second area S2 is detected to have a target object, the target object can be flushed by the second movable-position water outlet 51 and the first fixed-position water outlet 6 in sequence, or the second movable-position water outlet 51 and the first fixed-position water outlet 6 can be opened at the same time to flush the target object in order to save time.

[0114] In the exemplary embodiments of the present application, the image processor 3 can be further configured to, after the control module 4 controls the first water outlet and / or the second water outlet to flush the target object for a preset number of times or a preset time, detect whether the position on the basin where the target object is located before flushing still has the target object according to the latest obtained basin image, and send information that the target object still exists to the control module 4.

[0115] The control module 4 can be further configured to control the first water outlet and / or the second water outlet to close and stop flushing the target object according to the information that the target object still exists.

[0116] In the example embodiments of the present application, if the first water outlet 6 and / or the second water outlet 5 cannot clean a certain target object after multiple flushing or long time flushing, the automatic flushing can be stopped, waiting for the cleaning personnel to handle, or changing the flushing mode.

[0117] In the example embodiments of the present application, the water outlet mode of the first water outlet 6 and the second water outlet 51 can include multiple modes, for example, can include but not limited to: straight flow, umbrella spray, low pressure water outlet, high pressure water outlet, etc. For stubborn stains and / or dirt that cannot be cleaned for a long time, straight flow high pressure water outlet mode can be used to improve the flushing strength of the stains and / or dirt.

[0118] In the example embodiments of the present application, the faucet A can further include a cleaning liquid spraying device, when it is detected that the target object needs to be flushed, the cleaning liquid can be sprayed on the target object first, and after soaking the stains and / or dirt for a few seconds, the first water outlet 6 and / or the second water outlet 51 is opened to flush, so as to improve the cleaning efficiency and further improve the cleanliness.

[0119] In the example embodiments of the present application, the faucet A can further include a disinfectant spraying device, when it is detected that the target object and it is determined that the target object does not need to be flushed, in order to avoid the target object from being left for a long time and causing mold, odor, and people's experience to be reduced, the disinfectant can be sprayed on the target object to avoid the above situation. In addition, the disinfectant also has a certain decomposition effect on the stains and / or dirt, so that the larger target object that cannot be flushed may be decomposed into smaller target objects that can be flushed, so that when the target object is detected as a flushable target object in the subsequent basin image detection, the target object is flushed, further improving the basin cleaning degree.

[0120] In the example embodiments of the present application, the example embodiments of the present application at least include the following advantages: when no one uses the faucet, the faucet automatically flushes the basin through visual detection, which can effectively avoid the accumulation of too much stains and dirt in the basin, causing blockage, remaining for too long, causing odor, and can effectively improve the user's use comfort.

[0121] Those of ordinary skill in the art will realize and understand that all or some of the steps in the methods disclosed above and the functional modules / units in the systems and devices can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component can have multiple functions, or one function or step can be performed by several physical components in cooperation. Some or all of the components can be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on computer-readable media, which can include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, it is common and well understood by those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and can include any information delivery media.

Claims

1. A faucet, characterized in that, include: The main body of the faucet, and the image acquisition device, image processor and control module disposed on the main body of the faucet; The image acquisition device is configured to acquire images of the washbasin. The image processor is configured to perform image processing on the basin image, determine whether there is a target object in the basin, and when the target object is determined to exist, obtain relevant data of the target object based on the basin image. The control module is configured to determine whether to rinse the target object and the rinsing method based on relevant data of the target object. The relevant data includes the type and size of the target object, and the type of the target object includes stains and dirt. The control module determines whether to rinse the target object based on its type and size by: rinsing the target object when it is a stain; comparing the projected area of ​​the target object on the sink with a preset area threshold when it is dirt; not rinsing the target object when the projected area is greater than or equal to the area threshold; and rinsing the target object when the projected area is less than the area threshold.

2. The faucet according to claim 1, characterized in that, Also includes: The telescopic nozzle and the first water outlet; the telescopic nozzle is provided with a second water outlet; the relevant data also includes the positioning information of the target object within the basin; The control module determines the flushing method based on relevant data of the target object, including: After determining that the target object should be flushed, determine whether the orientation of the faucet body needs to be adjusted based on the target object's positioning information; When it is determined that the position of the faucet body needs to be adjusted, the position of the faucet body is adjusted to the position of the target object, and the first water outlet and / or the second water outlet are controlled to flush the target object according to the positioning information of the target object.

3. The faucet according to claim 1, characterized in that, The image processor performs image processing on the basin image to determine whether a target object exists inside the basin, including: The basin image is converted to grayscale, and the grayscale basin image is then filtered. The filtered basin image is binarized using the OTU algorithm, and the presence of the target object is determined based on the binarization result.

4. The faucet according to claim 3, characterized in that, The image processor acquires relevant data about the target object based on the image of the sink, including: A preset image segmentation algorithm is used to segment interconnected target images at different positions in the binarized basin image; A preset edge detection algorithm is used to perform edge detection on the segmented target object images at different locations and extract the contours of the target object images at different locations; Determine the center point of the outline of the target object image at different locations, and use the coordinates of the center point as the coordinates of the target object in the basin corresponding to the target object image, as the positioning information of the target object; Calculate the area of ​​the outline of the target object image at different locations, and use it as the projected area of ​​the target object corresponding to the target object image on the washbasin, which is used to indicate the size of the target object.

5. The faucet according to claim 2, characterized in that, The positioning information includes: the location of the target object within the washbasin; determining whether the position of the faucet body needs to be adjusted based on the positioning information of the target object includes: When the orientation of the main body of the dragon head is inconsistent with the orientation of the target object, it is determined that the orientation of the main body of the dragon head needs to be adjusted. When the orientation of the main body of the dragon head is consistent with the orientation of the target object, it is determined that the orientation of the main body of the dragon head does not need to be adjusted.

6. The faucet according to claim 5, characterized in that, Also includes: A first motor for driving the main body of the faucet to rotate; The step of adjusting the orientation of the main body of the dragon head to the orientation of the target object includes: Control the first motor to drive the faucet body to rotate until the position of the faucet body is consistent with the position of the target object.

7. The faucet according to claim 2, characterized in that, The location information includes: the area where the target object is located within the basin; The area within the washbasin includes: a first area and a second area; wherein, the first area is a region composed of location points within the washbasin whose distance from the drain outlet of the washbasin is less than or equal to a preset first distance threshold; and the second area is a region composed of location points within the washbasin whose distance from the drain outlet of the washbasin is greater than the first distance threshold.

8. The faucet according to claim 7, characterized in that, Also includes: A second motor is used to drive the telescopic nozzle to extend and retract; the telescopic nozzle is located at the end of the faucet body away from the basin, and the end of the faucet body away from the basin is in an open state; The step of controlling the first water outlet and / or the second water outlet to flush the target object based on the target object's positioning information includes: When the target object is located in the first area, the first water outlet is opened to flush the target object. When the target object is located in the second area, the second motor is controlled to drive the telescopic nozzle to extend from the end of the faucet body, and the second water outlet is opened to flush the target object. When the target object is located in the first area and the second area, the second motor is controlled to drive the telescopic nozzle to extend from the end of the faucet body, and the first water outlet is opened to rinse the target object for a first preset time. Then, the second water outlet is opened to rinse the target object.

9. The faucet according to any one of claims 1-8, characterized in that, The image processor is further configured to send information about the presence of the target object to the control module when, after the control module controls the first water outlet and / or the second water outlet to flush the target object a preset number of times or for a preset duration, the latest obtained countertop image detects that the target object still exists at the location marked as having the target object before flushing. The control module is further configured to close the first water outlet and / or the second water outlet based on the information that the target object still exists, thereby stopping the flushing of the target object.

10. The faucet according to any one of claims 1-8, characterized in that, It also includes: a sensing device; the sensing device is configured to sense external objects and generate a sensing signal, which is then sent to the control module; The control module is further configured to prevent the image acquisition device from acquiring images of the basin during the process of receiving the sensing signal and starting the first water outlet to discharge water according to the sensing signal; and to control the image acquisition device to acquire images of the basin at a preset acquisition frequency after the first water outlet stops discharging water for a second preset time period after starting the first water outlet according to the sensing signal.

11. The faucet according to any one of claims 1-8, characterized in that, Also includes: lighting fixtures; The lighting device is configured to sense the brightness of the surrounding environment and provide a light source when the brightness of the surrounding environment is lower than a preset brightness threshold.

Citation Information

Patent Citations

  • Faucet and management system

    CN110541958A

  • Faucet device

    JP2015113604A