Beauty instrument control method, storage medium and electronic device based on skin color recognition
By integrating color detection components on the beauty instrument, identifying the initial skin color and adjusting the energy output mode in real time, the problem that existing beauty instruments cannot recognize the skin status is solved, improving the safety and effect of use.
Patent Information
- Application Number
- CN202210753913.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2042-06-28
AI Technical Summary
Existing beauty devices cannot recognize acne and redness on the skin, resulting in the use of beauty devices in unsuitable skin conditions, which may cause skin damage.
By installing a color detection component on the electrode head of the beauty device, the initial color value of the skin is obtained, and when outputting working energy, adjust the output mode of the working energy according to the comparison of the real-time skin color value and the initial color value, and identify and deal with acne and redness on the skin.
It realizes the identification and response of skin status, avoids inapplicability and potential damage to the skin, and improves the safety and effectiveness of the beauty instrument.
Smart Images

Figure CN115191941B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of beauty instruments, and in particular to a beauty instrument control method, storage medium and electronic device based on skin color recognition. Background Art
[0002] With the emergence of home beauty devices, more and more people are starting to use them for skin care. However, since most users do not have professional knowledge, they still use beauty devices when they have acne or wounds on their faces, or redness occurs during use due to different personal skin tolerance. This situation may affect the effect of use at the least, and may cause skin damage in severe cases. However, current beauty devices do not have the function of identifying acne and redness. Summary of the invention
[0003] The purpose of this application is to overcome the deficiency of the prior art that the skin condition cannot be identified, and to provide a beauty instrument control method, storage medium and electronic device based on skin color recognition, which can determine the presence of acne and redness through skin color recognition.
[0004] The technical solution of the present application provides a beauty instrument control method based on skin color recognition, comprising:
[0005] In response to a beauty instrument start-up instruction, controlling a color detection component installed on the electrode head to obtain an initial skin color value;
[0006] Controlling the electrode head to output working energy, and controlling the color detection component to obtain real-time skin color value;
[0007] The output mode of the working energy is adjusted according to the real-time skin color value and the initial skin color value.
[0008] Furthermore, the control of the color detection component installed on the electrode head to obtain the initial skin color value specifically includes:
[0009] Control the color detection component to collect a set number of reference skin color values within a preset time;
[0010] An initial skin color value is determined according to all the reference skin color values.
[0011] Furthermore, the determining of the initial skin color value according to all the reference skin color values specifically includes:
[0012] Convert all the reference skin color values from hexadecimal colors to decimal RGB color values;
[0013] Sort the R value, G value and B value of all the reference skin color values by numerical value;
[0014] The middle value of R value, the middle value of G value and the middle value of B value of all the reference skin color values are taken as the initial skin color value.
[0015] Furthermore, the beauty instrument control method based on skin color recognition also includes
[0016] If the reference skin color value collected by the color detection component for a set number of consecutive times is not within the preset color value range, an alarm is issued.
[0017] Furthermore, the output mode of the working energy is adjusted according to the real-time skin color value and the initial skin color value, specifically including:
[0018] Compare the real-time skin color value with the initial skin color value to determine the current skin color state;
[0019] If a local red spot is detected in the skin, the working energy is controlled to be output in a gentle mode, otherwise the working energy is controlled to be output in a normal mode; and / or
[0020] If it is detected that the skin is red as a whole, the working energy is controlled to be output in a gentle mode, otherwise the working energy is controlled to be output in a normal mode.
[0021] Furthermore, the real-time skin color value is compared with the initial skin color value to determine the current skin color state, specifically including:
[0022] If the R value of the current skin color value is greater than the R value of the initial skin color value and the R value difference is greater than the preset R value threshold, or
[0023] If the G value of the current skin color value is less than the G value of the initial skin color value and the G value difference is greater than the preset G value threshold, or
[0024] If the B value of the current skin color value is less than the B value of the initial skin color value and the B value difference is greater than the preset B value threshold, then a skin red dot data is recorded;
[0025] If the number of skin red spot data recorded cumulatively in the preset number of skin color values collected continuously is greater than or equal to the preset number threshold, it is considered that there are local red spots in the skin.
[0026] Furthermore, the real-time skin color value is compared with the initial skin color value to determine the current skin color state, specifically including:
[0027] Get all skin color values in the set time period before the current moment, and extract the middle color value;
[0028] If the R value of the intermediate color value is greater than the R value of the initial skin color value and the R value difference is greater than the preset R value threshold, or
[0029] If the G value of the intermediate color value is less than the G value of the initial skin color value and the G value difference is greater than the preset G value threshold, or
[0030] If the B value of the intermediate color value is less than the B value of the initial skin color value and the B value difference is greater than the preset B value threshold, then
[0031] Consider overall redness of the skin.
[0032] Further, in the normal mode, the working energy is continuously output at a first voltage;
[0033] In the mild mode, the working energy is intermittently output at a second voltage, and the second voltage is lower than the first voltage.
[0034] The technical solution of the present application also provides a storage medium, which stores computer instructions. When a computer executes the computer instructions, it is used to execute the beauty instrument control method based on skin color recognition as described above.
[0035] The technical solution of the present application also provides an electronic device, comprising at least one processor; and
[0036] a memory communicatively connected to the at least one processor; wherein,
[0037] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the beauty instrument control method based on skin color recognition as described above.
[0038] After adopting the above technical solution, the following beneficial effects are achieved:
[0039] Before the beauty instrument outputs working energy, the initial skin color is first collected through the color detection component. Therefore, when the working energy is output, the output mode of the working energy can be adjusted according to the comparison between the real-time skin color and the initial skin color. The skin condition can be identified, and the working mode can be adaptively adjusted to avoid damage to the skin. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The disclosure of the present application will become easier to understand with reference to the accompanying drawings. It should be understood that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application. In the drawings:
[0041] Figure 1 is a flow chart of a beauty instrument control method based on skin color recognition in one embodiment of the present application;
[0042] Figure 2is an example of a set of skin color values collected by the color detection component in an embodiment of the present application;
[0043] Figure 3 It is a flow chart of a beauty instrument control method based on skin color recognition in a preferred embodiment of the present application;
[0044] Figure 4 It is a schematic diagram of the hardware structure of an electronic device in one embodiment of the present application. DETAILED DESCRIPTION
[0045] The specific implementation of the present application is further described below with reference to the accompanying drawings.
[0046] It is easy to understand that according to the technical solution of the present application, without changing the essential spirit of the present application, a variety of structural modes and implementation modes that can be replaced by those skilled in the art can be replaced with each other. Therefore, the following specific implementation modes and drawings are only exemplary descriptions of the technical solution of the present application, and should not be regarded as the entirety of the present application or as a limitation or restriction on the technical solution of the application.
[0047] The directional terms such as up, down, left, right, front, back, front, back, top, bottom, etc. mentioned or may be mentioned in this specification are defined relative to the structures shown in the drawings. They are relative concepts and may change accordingly according to their different positions and different usage conditions. Therefore, these or other directional terms should not be interpreted as restrictive terms. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0048] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above-mentioned in this application can be understood according to the specific circumstances.
[0049] A beauty instrument control method based on skin color recognition in an embodiment of the present application includes:
[0050] Step S101: in response to a beauty instrument start-up instruction, controlling a color detection component installed on the electrode head to obtain an initial skin color value;
[0051] Step S102: controlling the electrode head to output working energy, and controlling the color detection component to obtain a real-time skin color value;
[0052] Step S103: adjusting the output mode of the working energy according to the real-time skin color value and the initial skin color value.
[0053] Specifically, the beauty instrument includes a body, an electrode head installed at the front end of the body, and a control circuit installed inside the body. The control circuit controls the electrode head to output radio frequency (RF), EMS and other working energy, which acts on human skin to achieve beauty effects. The color detection component is installed in the electrode head, including a color sensor and a fill light. The detection head of the color sensor and the light-emitting part of the fill light at least partially extend toward the front end. When detecting skin color, the fill light and the color sensor are turned on at the same time, and the fill light emits white light, so that the color sensor can accurately detect the skin color.
[0054] The beauty instrument startup instruction can be issued by the user operating the interactive elements of the beauty instrument, such as buttons, touch screens, etc.; the beauty instrument startup instruction can also be issued by the controller after setting the operation steps. For example, after the technique guidance steps are completed, the controller automatically issues the beauty instrument startup instruction.
[0055] In response to the beauty instrument start instruction, the user will place the electrode head on the skin and move it in a circle to start the beauty operation, and then execute step S101 to control the color detection component to start, detect the skin color, and obtain the initial skin color value. Then execute steps S102 and S103 to control the electrode head to start, output working energy, and control the color detection component to obtain the real-time skin color value, compare the real-time skin color value with the initial skin color value, and adjust the output mode of the working energy according to the comparison result.
[0056] When the present application receives the beauty instrument start-up command, as the user places the electrode head on the skin and makes circles, the electrode head will not be started to output working energy temporarily. The initial skin color value will be detected first, and then the electrode head will be started to output working energy. At the same time, the real-time skin color value will be collected and compared with the initial skin color value, and the output mode of the working energy will be adjusted, including the adjustment of the output power and the output time. It can identify the existence of problems such as acne on the skin or redness of the skin due to excessive power, and thus adjust the output mode of the working energy in time.
[0057] In one embodiment, the control of the color detection component installed on the electrode head to obtain the initial skin color value specifically includes:
[0058] Control the color detection component to collect a set number of reference skin color values within a preset time;
[0059] An initial skin color value is determined according to all the reference skin color values.
[0060] As an example, the color detection component collects a reference skin color value every 0.1 second until 128 reference skin color values are collected, and then determines the initial skin color value based on the collected 128 reference skin color values. The method for determining the initial skin color value includes but is not limited to taking the middle color value of the 128 reference skin colors as the initial skin color value and calculating the average value of the 128 reference skin colors as the middle color value.
[0061] In an embodiment of the present application, the reference skin color value is collected periodically, and a set number (at least 100) of reference skin color values are collected within a preset time. The reference skin color values of various areas on the skin can be evenly collected, making the determination of the initial skin color value more accurate.
[0062] In one embodiment, the determining of the initial skin color value according to all the reference skin color values specifically includes:
[0063] Convert all the reference skin color values from hexadecimal colors to decimal RGB color values;
[0064] Sort the R value, G value and B value of all the reference skin color values by numerical value;
[0065] The middle value of R value, the middle value of G value and the middle value of B value of all the reference skin color values are taken as the initial skin color value.
[0066] Specifically, the reference skin color value collected by the color detection component is a hexadecimal color. The hexadecimal color is first split into three eight-bit RGB color values. For example, the hexadecimal color is 8B0016. The three eight-bit RGB color values are split into red value (R) = 0x8B, green value (G) = 0x00, and blue value (B) = 0x16. Then the three eight-bit RGB color values are converted into decimal RGB color values R = 139, G = 0, and B = 22.
[0067] Each reference skin color value collected is converted into a decimal RGB color value as above, and then the R values, G values, and B values of all reference skin color values are bubble sorted respectively, and the middle value of the R value, the middle value of the G value, and the middle value of the B value are extracted as the initial skin color value.
[0068] This embodiment obtains the middle color value of all reference skin color values, and uses the middle color value as the initial skin color value. Compared with using the average, the middle color value is not affected by the extreme values at both ends, and using the middle color value as the initial skin color value can more accurately reflect the skin color. The middle color value is determined by sorting the R value, G value, and B value of all reference skin color values and selecting the middle value therein. Compared with sorting the RGB color values, the middle value is more accurate.
[0069] In the embodiment of the present application, the beauty instrument control method based on skin color recognition also includes
[0070] If the reference skin color value collected by the color detection component for a set number of consecutive times is not within the preset color value range, an alarm is issued.
[0071] Specifically, by using a preset color value range, it is determined whether the object in contact with the electrode head is an object other than the skin. The preset color value range can be set according to the maximum variation range of human skin color. For example, yellow, white, brown, dark brown, etc. may all be skin colors, that is, within the preset color value range, while green, blue, etc. are not within the preset color range. In order to improve recognition accuracy, a preset color value range can also be set according to the common skin color in the sales area.
[0072] In this embodiment, if the color detection component collects the reference skin color value that is not within the preset color value range for a set number of consecutive times, it is determined that the electrode head is not in contact with the skin. In order to prevent the electrode head from being damaged and causing safety hazards due to electrification, an alarm is issued to remind the user to pay attention. At this time, if the electrode head is in a closed state, the electrode head remains in a closed state. If the electrode head is in an open state, the electrode head is controlled to be closed. The set number of times is set to 10 times or more to prevent misidentification from affecting the user experience.
[0073] In one embodiment, the output mode of the working energy is adjusted according to the real-time skin color value and the initial skin color value, specifically including:
[0074] Compare the real-time skin color value with the initial skin color value to determine the current skin color state;
[0075] If a local red spot is detected in the skin, the working energy is controlled to be output in a gentle mode, otherwise the working energy is controlled to be output in a normal mode; and / or
[0076] If it is detected that the skin is red as a whole, the working energy is controlled to be output in a gentle mode, otherwise the working energy is controlled to be output in a normal mode.
[0077] Specifically, in the normal mode, the working energy is continuously output at a first voltage;
[0078] In the mild mode, the working energy is intermittently output at a second voltage, for example, output for 0.2 seconds and off for 0.2 seconds, and the second voltage is lower than the first voltage.
[0079] In mild mode, the output voltage is reduced and the output is intermittent, which can reduce voltage stimulation, reduce the thermal effect on the skin, and reduce stimulation to the skin, thereby protecting the skin.
[0080] This embodiment compares the real-time skin color value with the initial skin color value to determine whether the skin has local red spots or is overall red, thereby achieving intelligent switching of output modes and improving the safety of using the beauty instrument.
[0081] In one embodiment, the real-time skin color value is compared with the initial skin color value to determine the current skin color state, specifically including:
[0082] If the R value of the current skin color value is greater than the R value of the initial skin color value and the R value difference is greater than the preset R value threshold, or
[0083] If the G value of the current skin color value is less than the G value of the initial skin color value and the G value difference is greater than the preset G value threshold, or
[0084] If the B value of the current skin color value is less than the B value of the initial skin color value and the B value difference is greater than the preset B value threshold, then a skin red spot data is recorded;
[0085] If the number of skin red spot data recorded cumulatively in the preset number of skin color values collected continuously is greater than or equal to the preset number threshold, it is considered that there are local red spots in the skin.
[0086] Specifically, the skin color value collected from local red spots such as acne has a larger R value and smaller G and B values than the initial skin color value. The skin color value that satisfies any one of the following conditions: R value is significantly greater than the initial skin color value R value, G value is significantly less than the initial skin color value G value, and B value is significantly less than the initial skin color value B value, can be considered as a skin red spot, and a skin red spot data is recorded. If the number of skin red spot data recorded cumulatively in the preset number of skin color values collected continuously is greater than the preset number threshold, for example, 3 to 5 skin red spot data are recorded cumulatively in 100 skin color values collected continuously, it means that there are a certain number of red spots in the skin, and it can be judged that there are local red spots in the skin.
[0087] As an example, the preset R value threshold, the preset G value threshold, and the preset B value threshold are all set to 30. Figure 2 The figure shows a set of skin color values (converted into decimal RGB values) collected by the color detection component. The skin color value pointed by the arrow in the figure has significantly reduced G and B values compared with the previous and next skin color values. It can be judged that the skin color value is a local red dot.
[0088] The embodiment of the present application determines whether there are local red spots by comparing RGB values based on the difference between skin color and the color of red spots such as acne.
[0089] In one embodiment, the real-time skin color value is compared with the initial skin color value to determine the current skin color state, specifically including:
[0090] Get all skin color values in the set time period before the current moment, and extract the middle color value;
[0091] If the R value of the intermediate color value is greater than the R value of the initial skin color value and the R value difference is greater than the preset R value threshold, or
[0092] If the G value of the intermediate color value is less than the G value of the initial skin color value and the G value difference is greater than the preset G value threshold, or
[0093] If the B value of the intermediate color value is less than the B value of the initial skin color value and the B value difference is greater than a preset B value threshold, it is considered that the skin is red as a whole.
[0094] As an example, the color detection component collects a reference skin color value every 0.1 seconds, and the time period is set to 1 second. Then, all ten skin color values 1 second before the current moment are obtained, and the middle color value is extracted for comparison with the initial skin color value. If the middle color value satisfies any one of the following conditions: R value is significantly greater than the initial skin color value R value, G value is significantly smaller than the initial skin color value G value, and B value is significantly smaller than the initial skin color value B value, then the skin is considered to be overall red.
[0095] Regarding the determination of the intermediate color value, refer to the method for determining the initial skin color value according to the reference skin color value in the aforementioned embodiment, which will not be described in detail here.
[0096] The embodiment of the present application collects the intermediate color value of the skin color value in a set time period, and based on the color difference between the skin color and red, determines whether the skin is overall red by comparing the RGB values.
[0097] Figure 3 The flowchart of the beauty instrument control method based on skin color recognition in a preferred embodiment of the present application is shown, which includes the following steps
[0098] Step S301: In response to a beauty instrument startup instruction, controlling the color detection component to collect a set number of reference skin color values within a preset time;
[0099] Step S302: If the reference skin color value collected by the color detection component for a set number of consecutive times is not within a preset color value range, the color detection component is controlled to be turned off and an alarm is issued;
[0100] Step S303: converting all the reference skin color values from hexadecimal colors to decimal RGB color values;
[0101] Step S304: sorting the R values, G values and B values of all the reference skin color values by numerical values;
[0102] Step S305: taking the middle value of the R value, the middle value of the G value and the middle value of the B value of all the reference skin color values as the initial skin color value;
[0103] Step S306: If the R value of the current skin color value is greater than the R value of the initial skin color value and the R value difference is greater than the preset R value threshold, or
[0104] If the G value of the current skin color value is less than the G value of the initial skin color value and the G value difference is greater than the preset G value threshold, or
[0105] If the B value of the current skin color value is less than the B value of the initial skin color value and the B value difference is greater than the preset B value threshold, then record a piece of skin red dot data; if the number of skin red dot data accumulated in the preset number of skin color values collected continuously is greater than or equal to the preset number threshold, execute step S308; otherwise, execute step S309;
[0106] Step S307: Obtain all skin color values in a set time period before the current moment, and extract the middle color value therein;
[0107] If the R value of the intermediate color value is greater than the R value of the initial skin color value and the R value difference is greater than the preset R value threshold, or
[0108] If the G value of the intermediate color value is less than the G value of the initial skin color value and the G value difference is greater than the preset G value threshold, or
[0109] If the B value of the intermediate color value is less than the B value of the initial skin color value and the B value difference is greater than the preset B value threshold, then execute step S308, otherwise execute step S309;
[0110] Step S308: Control the working energy to be output in a gentle mode;
[0111] Step S309: Control the working energy to be output in a normal mode.
[0112] The technical solution of the present application also provides a storage medium, which stores computer instructions. When a computer executes the computer instructions, it is used to execute the beauty instrument control method based on skin color recognition in any of the aforementioned embodiments.
[0113] Figure 4 An electronic device of the present application is shown, comprising:
[0114] at least one processor 401; and,
[0115] A memory 402 is communicatively connected to the at least one processor 401; wherein,
[0116] The memory 402 stores instructions that can be executed by the at least one processor 401, and the instructions are executed by the at least one processor 401 so that the at least one processor 401 can execute all steps of the beauty instrument control method based on skin color recognition in any of the aforementioned method embodiments.
[0117] Figure 4 Take a processor 401 as an example:
[0118] The electronic device may further include: an input device 403 and an output device 404 .
[0119] The processor 401, the memory 402, the input device 403 and the output device 404 may be connected via a bus or other means.
[0120] The memory 402 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules corresponding to the beauty instrument control method based on skin color recognition in the embodiment of the present application, for example, Figure 1 or Figure 3 The processor 401 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 402, that is, the beauty instrument control method based on skin color recognition in the above embodiment is implemented.
[0121] The memory 402 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the beauty instrument control method based on skin color recognition, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 402 may optionally include a memory remotely arranged relative to the processor 401, and these remote memories may be connected to a device for executing the beauty instrument control method based on skin color recognition via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0122] The input device 403 can receive input user clicks and generate signal inputs related to user settings and function control of the beauty instrument control method based on skin color recognition. The output device 404 can output signals such as current and data, for example, the working energy such as radio frequency and EMS output by the beauty instrument control method based on skin color recognition, and the output device 404 can also be connected to display devices including indicator lights and display screens.
[0123] The one or more modules are stored in the memory 402 , and when executed by the one or more processors 401 , the beauty instrument control method based on skin color recognition in any of the above method embodiments is executed.
[0124] The above description is only the principle and preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this field, the implementation methods obtained by appropriately combining the technical solutions disclosed in different embodiments are also included in the technical scope of the present invention. On the basis of the principle of the present application, several other variations can be made, which should also be regarded as the protection scope of the present application.
Claims
1. A beauty instrument control method based on skin color recognition, characterized in that: include In response to a beauty instrument start-up instruction, controlling a color detection component installed on the electrode head to obtain an initial skin color value; Controlling the electrode head to output working energy, and controlling the color detection component to obtain real-time skin color value; Adjusting the output mode of the working energy according to the real-time skin color value and the initial skin color value; The output mode of adjusting the working energy according to the real-time skin color value and the initial skin color value specifically includes: Compare the real-time skin color value with the initial skin color value to determine the current skin color state; If a local red spot is detected in the skin, the working energy is controlled to be output in a gentle mode, otherwise the working energy is controlled to be output in a normal mode; The real-time skin color value is compared with the initial skin color value to determine the current skin color state, specifically including: If the R value of the current skin color value is greater than the R value of the initial skin color value and the R value difference is greater than the preset R value threshold, or If the G value of the current skin color value is less than the G value of the initial skin color value and the G value difference is greater than the preset G value threshold, or If the B value of the current skin color value is less than the B value of the initial skin color value and the B value difference is greater than the preset B value threshold, then a skin red dot data is recorded; If the number of skin red spot data recorded cumulatively in the preset number of skin color values collected continuously is greater than or equal to the preset number threshold, it is considered that there are local red spots in the skin.
2. The beauty instrument control method based on skin color recognition according to claim 1, characterized in that: The control of the color detection component installed on the electrode head to obtain the initial skin color value specifically includes: Control the color detection component to collect a set number of reference skin color values within a preset time; An initial skin color value is determined according to all the reference skin color values.
3. The beauty instrument control method based on skin color recognition according to claim 2, characterized in that: The determining of the initial skin color value according to all the reference skin color values specifically includes: Convert all the reference skin color values from hexadecimal colors to decimal RGB color values; Sort the R value, G value and B value of all the reference skin color values by numerical value; The middle value of R value, the middle value of G value and the middle value of B value of all the reference skin color values are taken as the initial skin color value.
4. The beauty instrument control method based on skin color recognition according to claim 2, characterized in that: Also includes If the reference skin color value collected by the color detection component for a set number of consecutive times is not within the preset color value range, an alarm is issued.
5. The beauty instrument control method based on skin color recognition according to any one of claims 1 to 4, characterized in that: The output mode of adjusting the working energy according to the real-time skin color value and the initial skin color value also includes If it is detected that the skin is red as a whole, the working energy is controlled to be output in a gentle mode, otherwise the working energy is controlled to be output in a normal mode.
6. The beauty instrument control method based on skin color recognition according to claim 5, characterized in that: The real-time skin color value is compared with the initial skin color value to determine the current skin color state, specifically including: Get all skin color values in the set time period before the current moment, and extract the middle color value; If the R value of the intermediate color value is greater than the R value of the initial skin color value and the R value difference is greater than the preset R value threshold, or If the G value of the intermediate color value is less than the G value of the initial skin color value and the G value difference is greater than the preset G value threshold, or If the B value of the intermediate color value is less than the B value of the initial skin color value and the B value difference is greater than the preset B value threshold, then Consider overall redness of the skin.
7. The beauty instrument control method based on skin color recognition according to claim 1, characterized in that: In the normal mode, the working energy is continuously output at a first voltage; In the mild mode, the working energy is intermittently output at a second voltage, and the second voltage is lower than the first voltage.
8. A storage medium, characterized in that: The storage medium stores computer instructions, and when a computer executes the computer instructions, it is used to execute the beauty instrument control method based on skin color recognition as described in any one of claims 1-7.
9. An electronic device, characterized in that: comprising at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the beauty instrument control method based on skin color recognition as described in any one of claims 1-7.
Citation Information
Patent Citations
Light based skin treatment device
CN110121307A
KR20210035710A