Water pressure regulating method, water flosser, storage medium and computer program product

By integrating image sensors and processing algorithms in the tooth puncher, the injection gear is automatically adjusted to meet the cleaning needs of different areas, which solves the problem of time-consuming and troublesome adjustment of the injection pressure by users manually, and improves cleaning efficiency and oral health protection.

CN118948473BActive Publication Date: 2025-03-25JIANGXI RISUN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411449101.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-03-25
Estimated Expiration
2044-10-17

AI Technical Summary

Technical Problem

When using a tooth puncher, the user needs to manually adjust the injection pressure to clean difficult areas or sensitive areas, which is time-consuming and troublesome.

Method used

By integrating an image sensor in the thrust, an oral image is acquired, and the target injection gear of the area to be cleaned is determined according to the rotation amplitude of the thrust and the variation of the injection gear. Compare the target oral image with the image of the area to be cleaned. If the similarity is greater than the preset value, adjust the injection gear to meet the cleaning needs of different areas.

Benefits of technology

It reduces the frequency of manually adjusting the injection pressure when the user uses the tooth impulse, improves cleaning efficiency, reduces operation difficulty, and protects oral health.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118948473B_ABST
    Figure CN118948473B_ABST
Patent Text Reader

Abstract

The present application discloses a water pressure regulating method, an oral irrigator, a storage medium and a computer program product, and relates to the technical field of oral irrigators, wherein the water pressure regulating method comprises: obtaining a target oral cavity image, and determining the corresponding target oral cavity image as the image of the area to be cleaned according to the rotation amplitude of the oral irrigator and the change of the spray gear, and determining the target spray gear of the area to be cleaned; comparing the target oral cavity image with the image of at least one area to be cleaned, and judging whether the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value; if the similarity between the target oral cavity image and the image of one of the areas to be cleaned is greater than a preset value, controlling the oral irrigator to make a prompt action, and adjusting the spray gear of the oral irrigator to the target spray gear corresponding to the area to be cleaned; the present application aims to solve the technical problem that it is troublesome and time-consuming for users with cavities or gaps between teeth to use an oral irrigator for cleaning.
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 flossers, and in particular to a water pressure regulating method, a water flosser, a storage medium and a computer program product. Background Art

[0002] An oral irrigator is an oral cleaning aid. Its core function relies on the impact force generated by a high-speed water column ejected under a certain pressure to clean teeth and gaps between teeth through the impact of pulsed water flow.

[0003] Since some users have hard-to-clean areas in their mouths such as cavities or gaps between teeth, if the jet pressure of the water flosser is too low, it will be difficult to clean the dirt accumulated in cavities or gaps between teeth. Or if there are sensitive areas such as sensitive teeth or gums, it will irritate the sensitive teeth or gums if the jet pressure of the water flosser is too high. Therefore, users with oral problems need to look in the mirror one by one to find each area with oral problems when using the water flosser, and manually adjust the jet pressure of the water flosser according to the hard-to-clean areas or sensitive areas. For users, this process is very time-consuming and troublesome to operate. Summary of the invention

[0004] The main purpose of the present application is to provide a water pressure regulation method, which is applied to a water flosser, wherein the water flosser includes an image sensor, and the image sensor is used to obtain a target oral cavity image, wherein the method includes:

[0005] Acquire a target oral cavity image, determine that the corresponding target oral cavity image is an image of the area to be cleaned according to the rotation amplitude of the water flosser and the change of the spray gear, and determine the target spray gear of the area to be cleaned;

[0006] Comparing the target oral cavity image with at least one image of the area to be cleaned, and determining whether the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value;

[0007] If the similarity between the target oral image and the image of one of the areas to be cleaned is greater than a preset value, the water flosser is controlled to make a prompt action and the spray level of the water flosser is adjusted to the target spray level corresponding to the area to be cleaned.

[0008] In one embodiment, the step of acquiring the target oral cavity image, determining the corresponding target oral cavity image as the image of the area to be cleaned according to the rotation amplitude of the water flosser and the change of the spray gear, and determining the target spray gear of the area to be cleaned includes:

[0009] When the rotation amplitude of the oral rinser is less than the preset amplitude threshold and the jet gear changes, the first timing starts, and the first timing stops after the rotation amplitude of the oral rinser is greater than the preset amplitude threshold;

[0010] If the first timing duration is greater than or equal to the preset duration, the currently acquired target oral cavity image and the current spray gear are stored, and the current target oral cavity image is compared with at least one target oral cavity image stored historically;

[0011] If the similarity between the current target oral image and at least one historically stored target oral image is greater than a preset value, the current target oral image is confirmed to be an image of the area to be cleaned, and the current spray gear is determined to be the target spray gear of the area to be cleaned.

[0012] In one embodiment, the step of comparing the target oral cavity image with at least one image of the area to be cleaned and determining whether the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value comprises:

[0013] After scaling the target oral cavity image and the images of the plurality of areas to be cleaned according to a preset size, grayscale processing is performed on both to determine a first grayscale oral cavity image and a plurality of second grayscale oral cavity images;

[0014] Calculating the average grayscale value of all pixels of the first grayscale oral image to determine a first average grayscale value, calculating the average grayscale value of all pixels of the second grayscale oral image to determine a plurality of second average grayscale values;

[0015] Compare the grayscale values ​​of all pixels of the first grayscale oral image with the first average grayscale value, and determine a first binary matrix according to the comparison result and the positions of the pixels; compare the grayscale values ​​of all pixels of a plurality of the second grayscale oral images with a plurality of the second average grayscale values ​​one by one, and determine a plurality of second binary matrices according to the comparison result and the positions of the pixels;

[0016] Compare the characters at the same position of the first binary matrix and a plurality of the second binary matrices one by one, perform a first count if the characters at the same position of the first binary matrix and one of the second binary matrices are the same, and compare the value of the first count with a first preset value;

[0017] If the value of the first count is greater than or equal to a first preset value, it is determined that the similarity between the target oral image and one of the images of the areas to be cleaned is greater than the preset value; if the value of the first count is less than the first preset value, it is determined that the similarity between the target oral image and one of the images of the areas to be cleaned is less than the preset value, and the characters at the same position of the first binary matrix are compared with those of another second binary matrix.

[0018] In one embodiment, when the rotation amplitude of the oral irrigator is less than the preset amplitude threshold and the jet gear changes, the first timing is started, and after the step of stopping the first timing after the rotation amplitude of the oral irrigator is greater than the preset amplitude threshold, the step further includes:

[0019] When the first timing duration is greater than or equal to the preset duration, the target oral cavity image is sent to an external terminal after white balance processing, and a feedback instruction sent by the external terminal is received;

[0020] If the received feedback instruction is a confirmation instruction, the target oral cavity image is confirmed as the image of the area to be cleaned;

[0021] If the received feedback instruction is a cancel instruction, the target oral cavity image is confirmed as an image of a region not to be cleaned.

[0022] In one embodiment, when the first timing duration is greater than or equal to the preset duration, the step of sending the target oral cavity image to an external terminal after white balance processing and receiving a feedback instruction sent by the external terminal further includes:

[0023] If no feedback command is received within the preset time, a pending command is sent to the external terminal;

[0024] If no feedback instruction is received within a preset time after the pending instruction is sent to the external terminal twice in succession, the target oral image is compared with at least one oral image stored historically. If the similarity between the target oral image and at least one oral image stored historically is greater than a preset value, the target oral image is confirmed to be an image of the area to be cleaned.

[0025] In one embodiment, when the first timing duration is greater than or equal to the preset duration, the target oral cavity image is sent to an external terminal after white balance processing, and a feedback instruction sent by the external terminal is received, the algorithm of the white balance processing specifically includes:

[0026] Calculate the average value of each channel of the target oral image in the RGB color space:

[0027] ; ; ;

[0028] Among them, R i , G i and B i are the RGB values ​​of the i-th pixel in the target oral image, and N is the total number of pixels in the target oral image;

[0029] According to the average value of each channel of the target oral image in the RGB color space, the average brightness value of all pixels of the target oral image is calculated:

[0030] C=(R avg +G avg +B avg ) / 3;

[0031] Based on the brightness average, each color channel is adjusted to be close to the average brightness:

[0032] ; ; ;

[0033] Among them, R N , G N and B N They are the adjusted color channel values ​​respectively.

[0034] In one embodiment, if the similarity between the target oral image and the image of one of the areas to be cleaned is greater than a preset value, the step of controlling the water flosser to make a prompt action and adjusting the spray level of the water flosser to the target spray level corresponding to the area to be cleaned includes:

[0035] If the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value, a second count is started;

[0036] When the count value of the second count is greater than the second preset value, the water flosser is controlled to make a prompt action, and the spray position of the water flosser is adjusted to the target spray position corresponding to the area to be cleaned.

[0037] In addition, to achieve the above-mentioned purpose, the present application also proposes a water flosser, which includes: an image sensor for acquiring oral images; a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the water pressure regulation method described above.

[0038] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the water pressure regulation method described above are implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the water pressure regulation method described above are implemented.

[0040] One or more technical solutions proposed in this application have at least the following technical effects:

[0041] The present application determines that the corresponding target oral image is the image of the area to be cleaned and determines the target jet gear of the area to be cleaned based on the rotation amplitude of the water flosser and the change of the jet gear. The target oral image is then compared with the image of at least one area to be cleaned to determine whether the similarity between the target oral image and the image of the area to be cleaned is greater than a preset value. If the similarity between the target oral image and one of the areas to be cleaned is greater than a preset value, the water flosser is controlled to make a prompt action and the jet gear of the water flosser is adjusted to the target jet gear corresponding to the area to be cleaned. With such a configuration, in actual application, when the user uses an oral irrigator that uses the water pressure regulation method of the present application, the user only needs to clean the cavities or gaps between teeth in the oral cavity according to the conventional method when first using it, thereby providing training for the model of the area to be cleaned. After the training of the area to be cleaned is completed, the user no longer needs to pay attention to looking in the mirror to clean every cavity or gap between teeth when using the oral irrigator. The oral irrigator will automatically adjust to the corresponding target spray gear when it identifies the area to be cleaned, for example, increasing the spray gear to enhance the cleaning intensity of difficult-to-clean areas such as cavities or gaps between teeth, or lowering the spray gear to reduce the stimulation of water pressure on sensitive teeth or gums, thereby protecting oral health. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 A schematic diagram of a process flow provided for Embodiment 1 of the present application;

[0045] Figure 2 A schematic diagram of a process flow provided for Embodiment 1 of the present application;

[0046] Figure 3 A schematic diagram of a process flow provided for Embodiment 1 of the present application;

[0047] Figure 4 A schematic diagram of a process flow provided for Embodiment 1 of the present application;

[0048] Figure 5 A schematic diagram of a process flow provided for Embodiment 1 of the present application;

[0049] Figure 6 A flowchart of the first embodiment of the present invention is provided.

[0050] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0051] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0052] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0053] An oral irrigator is an oral cleaning aid. Its core function relies on the impact force generated by a high-speed water column ejected under a certain pressure to clean teeth and gaps between teeth through the impact of pulsed water flow.

[0054] Since some users have hard-to-clean areas in their mouths such as cavities or gaps between teeth, if the jet pressure of the water flosser is too low, it will be difficult to clean the dirt accumulated in cavities or gaps between teeth. Or if there are sensitive areas such as sensitive teeth or gums, it will irritate the sensitive teeth or gums if the jet pressure of the water flosser is too high. Therefore, users with oral problems need to look in the mirror one by one to find each area with oral problems when using the water flosser, and manually adjust the jet pressure of the water flosser according to the hard-to-clean areas or sensitive areas. For users, this process is very time-consuming and troublesome to operate.

[0055] To this end, the main purpose of this application is to provide a water pressure regulation method, an oral irrigator, a storage medium and a computer program product, aiming to solve the technical problem that it is troublesome and time-consuming for users with multiple cavities or gaps between teeth to use an oral irrigator for cleaning.

[0056] refer to Figure 1 A water pressure regulating method is applied to a water flosser, wherein the water flosser comprises an image sensor, and the image sensor is used to obtain a target oral cavity image. The method comprises:

[0057] S100: Acquire a target oral cavity image, determine that the corresponding target oral cavity image is an image of the area to be cleaned according to the rotation amplitude of the water flosser and the change of the spray gear, and determine the target spray gear of the area to be cleaned;

[0058] It should be noted that when users are cleaning hard-to-clean areas such as cavities or gaps between teeth, they usually increase the jet level of the water flosser and control the water flosser to clean the hard-to-clean areas at a fixed angle for a long time. At this time, the rotation amplitude of the water flosser is small; when users are cleaning sensitive areas such as sensitive teeth or gums, they usually lower the jet level of the water flosser and control the water flosser to clean the hard-to-clean areas at a fixed angle for a long time. Therefore, the area to be cleaned can be judged according to the rotation amplitude of the water flosser and the change of the jet level.

[0059] S200: Comparing the target oral cavity image with at least one image of the area to be cleaned, and determining whether the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value;

[0060] It should be noted that the method for comparing the target oral cavity image and the image of the area to be cleaned can adopt the histogram method. The histogram method obtains a pixel distribution histogram by counting the number of different pixels in the image, and then uses several correlation calculation methods to calculate the correlation between the pixel distribution histograms of the two images, and finally judges whether the two images are similar based on the calculation results; or adopts the cosine similarity method. Before applying the cosine similarity to compare whether the two images are similar, the images must first be converted into vector form, and then the cosine similarity of the two vectors is calculated to judge whether the two images are similar.

[0061] S300: If the similarity between the target oral cavity image and the image of one of the areas to be cleaned is greater than a preset value, the water flosser is controlled to make a prompt action and the jet level of the water flosser is adjusted to the target jet level corresponding to the area to be cleaned.

[0062] It should be noted that when the similarity between the target oral image and the difficult-to-clean area to be cleaned is greater than a preset value, the jet gear of the water flosser is increased to the corresponding target jet gear; when the similarity between the target oral image and the sensitive area to be cleaned is greater than a preset value, the jet gear of the water flosser is lowered to the corresponding target jet gear; the prompt action includes vibration prompt, sound prompt and light prompt, which is intended to prompt the user that the water flosser is aligned with the area to be cleaned, and prompt the user to temporarily stop rotating the water flosser, so that the water flosser can better clean the area to be cleaned.

[0063] Specifically, the present application determines that the corresponding target oral image is the image of the area to be cleaned and determines the target spray gear of the area to be cleaned based on the rotation amplitude of the water flosser and the change of the spray gear, and then compares the target oral image with the image of at least one area to be cleaned to determine whether the similarity between the target oral image and the image of the area to be cleaned is greater than a preset value; if the similarity between the target oral image and one of the areas to be cleaned is greater than the preset value, the target oral image is determined to be the corresponding area to be cleaned, and the spray pressure of the water flosser is adjusted to the target spray gear corresponding to the area to be cleaned. With such a configuration, in actual application, when the user uses an oral irrigator that uses the water pressure regulation method of the present application, the user only needs to clean the cavities or gaps between teeth in the oral cavity according to the conventional method when first using it, thereby providing training for the model of the area to be cleaned. After the training of the area to be cleaned is completed, the user no longer needs to pay attention to looking in the mirror to clean every cavity or gap between teeth when using the oral irrigator. The oral irrigator will automatically adjust to the corresponding target spray gear when it identifies the area to be cleaned. For example, it may increase the spray gear to enhance the cleaning intensity of difficult-to-clean areas such as cavities or gaps between teeth, or lower the spray gear to reduce the stimulation of water pressure on sensitive teeth or gums, thereby protecting oral health.

[0064] refer to Figure 2 In one embodiment of the present application, the steps of acquiring the target oral cavity image, determining the corresponding target oral cavity image as the image of the area to be cleaned according to the rotation amplitude of the water flosser and the change of the spray gear, and determining the target spray gear of the area to be cleaned include:

[0065] S110: When the rotation amplitude of the oral irrigator is less than a preset amplitude threshold and the jet gear changes, a first timing is started, and the first timing is stopped after the rotation amplitude of the oral irrigator is greater than the preset amplitude threshold;

[0066] It should be noted that when the user uses an oral irrigator to clean hard-to-clean areas such as cavities or gaps between teeth, the user needs to increase the jet level of the oral irrigator and control the oral irrigator to aim at the cavities or gaps between teeth at a fixed angle for a long time, thereby enhancing the cleaning effect on cavities or gaps between teeth. In this case, the oral irrigator is basically in a stopped state; or when the user is cleaning sensitive areas such as sensitive teeth or gums, the user needs to lower the jet level of the oral irrigator and control the oral irrigator to aim at the sensitive teeth or gums at a fixed angle for a long time, thereby carefully cleaning the sensitive areas without irritating the sensitive teeth or gums. Therefore, the model of the area to be cleaned can determine the area to be cleaned according to the rotation of the oral irrigator and the change of the jet level.

[0067] S120: If the first timing duration is greater than or equal to the preset duration, storing the currently acquired target oral cavity image and the current spray gear, and comparing the current target oral cavity image with at least one target oral cavity image stored in history;

[0068] S130: If the similarity between the current target oral cavity image and at least one historically stored target oral cavity image is greater than a preset value, confirm that the current target oral cavity image is an image of the area to be cleaned, and determine that the current spray gear is the target spray gear of the area to be cleaned.

[0069] It should be noted that when the duration of the first timing is greater than or equal to the preset duration, it means that the user has spent a long time cleaning the same area at this time, so the area may be a difficult-to-clean area to be cleaned or a sensitive area to be cleaned. The target oral image of the area and the current jet gear are stored and compared with the historically stored oral images. If the similarity with at least one historically stored oral image is greater than the preset value, it means that the user has cleaned the area for a long time at least twice, so the area displayed by the target oral image is the area to be cleaned, and the area to be cleaned is determined to be a difficult-to-clean area to be cleaned, or an area to be cleaned of sensitive teeth or gums according to the size of the current jet gear, so that when the target oral image obtained by the water flosser is the area to be cleaned, the jet gear can be adaptively adjusted. If the current target oral image is different from multiple historically stored oral images, it cannot be determined as the area to be cleaned, and it needs to be compared with the next target oral image to be obtained before it can be determined.

[0070] It is understandable that when the duration of the first timing is less than the preset duration, it means that the user may only clean a certain area of ​​the oral cavity for a short period of time, and it is unlikely that the area is a difficult-to-clean or sensitive area to be cleaned.

[0071] It is understandable that the method of comparing the target oral image with the historically stored oral image may adopt the above-mentioned histogram method or cosine similarity method, and the process is the same as the above-mentioned process, which will not be described in detail here.

[0072] refer to Figure 3 In one embodiment of the present application, the step of comparing the target oral cavity image with at least one image of the area to be cleaned and determining whether the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value includes: S210: scaling the target oral cavity image and the images of the multiple areas to be cleaned according to a preset size, and graying them to determine a first grayed oral cavity image and multiple second grayed oral cavity images;

[0073] S220: Calculate the average grayscale value of all pixels of the first grayscale oral image to determine a first average grayscale value, calculate the average grayscale value of all pixels of the second grayscale oral image to determine a plurality of second average grayscale values;

[0074] It should be noted that the purpose of calculating the average grayscale value is to provide a benchmark or reference point for subsequent image processing or analysis. By comparing the grayscale value of each pixel of the first grayscale oral image with the first average grayscale value or the grayscale value of each pixel of the second grayscale oral image with the second average grayscale value, the image can be standardized to eliminate image brightness differences caused by uneven lighting, equipment differences and other factors, making comparisons between different images more fair and accurate.

[0075] S230: Compare the grayscale values ​​of all pixels of the first grayscale oral image with the first average grayscale value, and determine a first binary matrix according to the comparison result and the positions of the pixels; compare the grayscale values ​​of all pixels of the second grayscale oral images with the second average grayscale values ​​one by one, and determine a plurality of second binary matrices according to the comparison result and the positions of the pixels;

[0076] S240: Compare the characters at the same position of the first binary matrix and a plurality of the second binary matrices one by one, and if the characters at the same position of the first binary matrix and one of the second binary matrices are the same, perform a first count, and compare the value of the first count with a first preset value;

[0077] S250: If the value of the first count is greater than or equal to a first preset value, it is determined that the similarity between the target oral image and one of the images of the areas to be cleaned is greater than the preset value; if the value of the first count is less than the first preset value, it is determined that the similarity between the target oral image and one of the images of the areas to be cleaned is less than the preset value, and the characters at the same position of the first binary matrix are compared with those of another second binary matrix.

[0078] In this embodiment, the target oral cavity image and the image of the area to be cleaned are reduced to a preset size (e.g., 8×8) to ensure that they have the same resolution in subsequent processing; the reduced target oral cavity image and the image of the area to be cleaned are grayed respectively to simplify the processing process and reduce the amount of calculation, and the grayed images are respectively the first grayed oral cavity image and the second grayed oral cavity image; the average gray value of all pixels (64 pixels) of the first grayed oral cavity image and the average gray value of all pixels of the second grayed oral cavity image are calculated respectively, and the gray value of each pixel of the first grayed oral cavity image is compared with the first average gray value. If the gray value of a certain pixel is greater than or equal to the first average gray value, the binary matrix at the position of the pixel is set to 1; otherwise, it is set to 0. In this way, a first binary matrix of the same size as the first grayed oral cavity image can be determined, and the process of determining the second binary matrix is ​​the same as the process of determining the first binary matrix, which will not be repeated here. Finally, the characters at the same position of the first binary matrix are compared with those of the second binary matrix. If the characters at a certain position of the two binary codes are the same (i.e., both are 0 or both are 1), a first count is performed. If the first count is greater than a preset value, it means that the target oral image is similar to the image of one of the areas to be cleaned, and the target oral image is determined to be the image of the area to be cleaned. If the first count is less than the preset value, it means that the target oral image is not similar to the image of one of the areas to be cleaned, and needs to be compared with the image of another area to be cleaned.

[0079] refer to Figure 4 In one embodiment of the present application, when the rotation amplitude of the oral irrigator is less than the preset amplitude threshold and the jet gear changes, the first timing is started, and the first timing is stopped after the rotation amplitude of the oral irrigator is greater than the preset amplitude threshold, and the step further includes:

[0080] S111: When the first timing duration is greater than or equal to the preset duration, the target oral cavity image is white-balanced and then sent to an external terminal, and a feedback instruction sent by the external terminal is received;

[0081] It should be noted that white balance processing can correct color casts caused by different lighting conditions (such as sunlight, cloudy days, indoor lighting, etc.), ensuring that the color of the target oral image is more realistic and accurate, so that users can better analyze whether the target oral image has oral problems such as cavities, gaps between teeth, sensitive teeth or gums.

[0082] S112: If the received feedback instruction is a confirmation instruction, the target oral cavity image is confirmed as an image of the area to be cleaned; if the received feedback instruction is a cancellation instruction, the target oral cavity image is confirmed as an image of the area not to be cleaned.

[0083] In this embodiment, when the duration of the first timing is greater than or equal to the preset duration, it means that the user spends a long time cleaning the same area, so the area may be a difficult-to-clean area to be cleaned or a sensitive area to be cleaned. The target oral image is white-balanced and sent to an external terminal, such as a mobile phone APP, with a confirmation instruction. The user can view the target oral image on the mobile phone APP and determine whether there are oral problems such as cavities, gaps between teeth, sensitive teeth or gums based on their own observations and judgments. When the user believes that the target oral image has oral problems such as cavities, gaps between teeth, sensitive teeth or gums, a confirmation instruction is sent through the APP, and the water flosser confirms the target oral image as an area to be cleaned after receiving the confirmation instruction; on the contrary, when the user believes that the target oral image does not have oral problems such as cavities, gaps between teeth, sensitive teeth or gums, a cancellation instruction is sent through the APP, and the water flosser confirms the target oral image as an area not to be cleaned after receiving the cancellation instruction. With this arrangement, the user can understand whether there are any oral problems in his or her mouth based on the received target oral image, and analyze by himself whether the target oral image can be determined as the area to be cleaned, so as to perform cleaning more effectively and specifically to avoid omissions or excessive cleaning.

[0084] In this embodiment, when the first timing duration is greater than or equal to the preset duration, the step of performing white balance processing on the target oral cavity image and sending it to an external terminal, and receiving a feedback instruction sent by the external terminal further includes:

[0085] S113: If no feedback instruction is received within the preset time, sending a pending instruction to the external terminal;

[0086] S114: If no feedback instruction is received within a preset time after the pending instruction is sent to the external terminal twice in succession, the target oral image is compared with at least one oral image stored historically. If the similarity between the target oral image and at least one oral image stored historically is greater than a preset value, the target oral image is confirmed to be an image of the area to be cleaned.

[0087] In this embodiment, if no feedback instruction is received within the preset time, it means that the user has not processed the received target oral image, and a pending instruction is sent to the external terminal to prompt the user to view the target oral image and make a judgment on whether the area displayed by the target oral image is the area to be cleaned. If the water flosser still does not receive the feedback instruction after sending the pending instruction twice in a row, it is inconvenient for the user to make a judgment, so the water flosser can compare the target oral image with multiple oral images stored in history. If the similarity between the target oral image and at least one oral image stored in history is greater than a preset value, the target oral image is confirmed to be an image of the area to be cleaned.

[0088] refer to Figure 5In this embodiment, the step of white balance processing includes:

[0089] S1111: Calculate the average value of each channel of the target oral cavity image in the RGB color space:

[0090] ; ; ;

[0091] Wherein, Ri, Gi and Bi are the RGB values ​​of the i-th pixel of the target oral image, respectively, and N is the total number of pixels in the target oral image;

[0092] S1112: Calculate the average brightness of all pixels of the target oral image according to the average value of each channel of the target oral image in the RGB color space:

[0093] C=(R avg +G avg +B avg ) / 3;

[0094] S1113: Based on the brightness average, adjust each color channel to make it close to the average brightness:

[0095] ; ; ;

[0096] Among them, R N , G N and B N They are the adjusted color channel values ​​respectively.

[0097] In this embodiment, according to the average value of each color channel and the overall brightness average value obtained in step S1111 and step S1112, the value of each color channel is adjusted so that their brightness is close to the overall brightness average value, thereby eliminating the color deviation caused by different light sources or shooting conditions, so that the white objects in the image appear to be truly white visually, while maintaining the relative balance of other colors. In this way, the image of the target oral cavity image after white balance processing is more natural and accurate in color, which helps the user observe whether the target oral cavity image has oral problems such as cavities, gaps between teeth, sensitive teeth or gums.

[0098] refer to Figure 6 In one embodiment of the present application, if the similarity between the target oral cavity image and the image of one of the areas to be cleaned is greater than a preset value, the steps of controlling the water flosser to make a prompt action and adjusting the spray level of the water flosser to the target spray level corresponding to the area to be cleaned include:

[0099] S310: If the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value, start a second count;

[0100] S320: When the count value of the second count is greater than the second preset value, the water flosser is controlled to make a prompt action, and the spray level of the water flosser is adjusted to the target spray level corresponding to the area to be cleaned.

[0101] In this embodiment, when the similarity between the target oral image and the image of the area to be cleaned is greater than a preset value for a number of times greater than a pre-designed value, for example, 3 times, the target oral image is confirmed to be the image of the area to be cleaned. In this way, it can avoid misjudging the target oral image as the image of the area to be cleaned and improve the accuracy of the judgment.

[0102] The present application also provides a water flosser, the water flosser comprising:

[0103] An image sensor is used to obtain an oral cavity image; it also includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the water pressure regulation method as described in any one of the above items.

[0104] The water flosser provided by the present application adopts the water pressure regulation method in the above embodiment, which can solve the technical problem that it is troublesome and time-consuming for users with multiple cavities or gaps between teeth to use the water flosser to clean. Compared with the prior art, the beneficial effects of the water flosser provided by the present application are the same as the beneficial effects of the water pressure regulation method provided in the above embodiment, and the other technical features of the water flosser are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0105] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the water pressure regulating method in the above-mentioned embodiment.

[0106] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0107] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned water pressure regulation method, and can solve the technical problem that it is troublesome and time-consuming for users with multiple cavities or gaps between teeth to use a water flosser to clean. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the water pressure regulation method provided in the above-mentioned embodiment, and will not be elaborated here.

[0108] The present application also provides a computer program product, including a computer program, which implements the steps of the water pressure regulation method as described above when executed by a processor.

[0109] The computer program product provided by the present application can solve the technical problem that it is troublesome and time-consuming for users with multiple cavities or gaps between teeth to use an oral irrigator to clean their teeth. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the water pressure regulation method provided in the above embodiment, and will not be elaborated here.

[0110] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A water pressure regulation method, applied to a water flosser, wherein the water flosser comprises an image sensor, and the image sensor is used to obtain a target oral cavity image, characterized in that: The method comprises: Acquire a target oral cavity image, determine that the corresponding target oral cavity image is an image of the area to be cleaned according to the rotation amplitude of the water flosser and the change of the spray gear, and determine the target spray gear of the area to be cleaned; Comparing the target oral cavity image with at least one image of the area to be cleaned, and determining whether the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value; If the similarity between the target oral cavity image and the image of one of the areas to be cleaned is greater than a preset value, the water flosser is controlled to make a prompt action and the jet gear of the water flosser is adjusted to the target jet gear corresponding to the area to be cleaned; The steps of acquiring the target oral cavity image, determining the corresponding target oral cavity image as the image of the area to be cleaned according to the rotation amplitude of the water flosser and the change of the spray gear, and determining the target spray gear of the area to be cleaned include: When the rotation amplitude of the oral rinser is less than the preset amplitude threshold and the jet gear changes, the first timing starts, and the first timing stops after the rotation amplitude of the oral rinser is greater than the preset amplitude threshold; If the first timing duration is greater than or equal to the preset duration, the currently acquired target oral cavity image and the current spray gear are stored, and the current target oral cavity image is compared with at least one target oral cavity image stored historically; If the similarity between the current target oral cavity image and at least one target oral cavity image stored in history is greater than a preset value, the current target oral cavity image is confirmed to be an image of the area to be cleaned, and the current jet gear is determined to be the target jet gear of the area to be cleaned; The step of starting a first timing when the rotation amplitude of the oral irrigator is less than a preset amplitude threshold and the jet gear changes, and stopping the first timing after the rotation amplitude of the oral irrigator is greater than the preset amplitude threshold, further includes: When the first timing duration is greater than or equal to the preset duration, the target oral cavity image is sent to an external terminal after white balance processing, and a feedback instruction sent by the external terminal is received; If the received feedback instruction is a confirmation instruction, the target oral cavity image is confirmed as the image of the area to be cleaned; If the received feedback instruction is a cancel instruction, confirming the target oral cavity image as an image of a non-to-be-cleaned area; When the first timing duration is greater than or equal to the preset duration, the target oral cavity image is white-balanced and then sent to an external terminal, and the step of receiving a feedback instruction sent by the external terminal further includes: If no feedback command is received within the preset time, a pending command is sent to the external terminal; If no feedback instruction is received within a preset time after the pending instruction is sent to the external terminal twice in succession, the target oral image is compared with at least one oral image stored historically. If the similarity between the target oral image and at least one oral image stored historically is greater than a preset value, the target oral image is confirmed to be an image of the area to be cleaned.

2. The water pressure regulating method according to claim 1, characterized in that: The step of comparing the target oral cavity image with at least one image of the area to be cleaned and determining whether the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value comprises: After scaling the target oral cavity image and the images of the plurality of areas to be cleaned according to a preset size, grayscale processing is performed on both to determine a first grayscale oral cavity image and a plurality of second grayscale oral cavity images; Calculating the average grayscale value of all pixels of the first grayscale oral image to determine a first average grayscale value, calculating the average grayscale value of all pixels of the second grayscale oral image to determine a plurality of second average grayscale values; Compare the grayscale values ​​of all pixels of the first grayscale oral image with the first average grayscale value, and determine a first binary matrix according to the comparison result and the positions of the pixels; compare the grayscale values ​​of all pixels of a plurality of the second grayscale oral images with a plurality of the second average grayscale values ​​one by one, and determine a plurality of second binary matrices according to the comparison result and the positions of the pixels; Compare the characters at the same position of the first binary matrix and a plurality of the second binary matrices one by one, perform a first count if the characters at the same position of the first binary matrix and one of the second binary matrices are the same, and compare the value of the first count with a first preset value; If the value of the first count is greater than or equal to a first preset value, it is determined that the similarity between the target oral image and one of the images of the areas to be cleaned is greater than the preset value; if the value of the first count is less than the first preset value, it is determined that the similarity between the target oral image and one of the images of the areas to be cleaned is less than the preset value, and the characters at the same position of the first binary matrix are compared with those of another second binary matrix.

3. The water pressure regulating method according to claim 1, characterized in that: In the step of performing white balance processing on the target oral cavity image and sending it to an external terminal when the first timing duration is greater than or equal to the preset duration, and receiving a feedback instruction sent by the external terminal, the step of white balance processing includes: Calculate the average value of each channel of the target oral image in the RGB color space: ; ; ; Among them, R i , G i and B i are the RGB values ​​of the i-th pixel of the target oral image, and N is the total number of pixels in the target oral image; According to the average value of each channel of the target oral image in the RGB color space, the average brightness value of all pixels of the target oral image is calculated: C=(R avg +G avg +B avg ) / 3; Based on the brightness average, each color channel is adjusted to be close to the average brightness: ; ; ; Among them, R N , G N and B N They are the adjusted color channel values ​​respectively.

4. The water pressure regulating method according to claim 1, characterized in that: If the similarity between the target oral cavity image and the image of one of the areas to be cleaned is greater than a preset value, the step of controlling the water flosser to make a prompt action and adjusting the spray gear of the water flosser to the target spray gear corresponding to the area to be cleaned includes: If the similarity between the target oral cavity image and the image of the area to be cleaned is greater than a preset value, a second count is started; When the count value of the second count is greater than the second preset value, the water flosser is controlled to make a prompt action, and the spray position of the water flosser is adjusted to the target spray position corresponding to the area to be cleaned.

5. A dental flosser, characterized in that: The water flosser includes: an image sensor for acquiring oral images; a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the water pressure regulation method as described in any one of claims 1 to 4.

6. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the water pressure regulating method according to any one of claims 1 to 4 are implemented.

7. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the water pressure regulation method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Teeth cleaning method, equipment, device and storage medium

    CN110856667A

  • Oral irrigator control method, control system and oral irrigator

    CN114376511A