Red light irradiation method based on scalp hair monitoring, sleep equipment and storage medium

By integrating the camera and lighting module in the sleep device, analyzing the user's head area image to determine the red light irradiation scheme, the problem of the lack of personalization and accuracy of existing red light hair germination products is solved, and more effective hair germination effects and sleep promotion are achieved.

CN119607428APending Publication Date: 2025-03-14DONGGUAN DERUCCI BEDDING CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411771651.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The existing red light hair growth products lack personalized and accurate red light irradiation solutions, and fail to fully consider individual differences between different users, resulting in poor results.

Method used

By integrating the camera and lighting module in the sleep device, detecting the user's head contact and obtaining head area images, analyzing the degree of hair loss to determine a personalized red light illumination scheme, including the light duration and frequency.

Benefits of technology

Provide a personalized and accurate red light irradiation solution, which improves hair growth effect, relieves hair loss anxiety, and promotes users' sleep.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119607428A_ABST
    Figure CN119607428A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a red light irradiation method based on scalp hair monitoring, sleep equipment and a storage medium, the sleep equipment comprises a camera and an illumination module, and the method comprises the following steps: when it is detected that the head of a user is in contact with the sleep equipment, obtaining a head area image of the user, the head area image comprises a scalp area and a hair area; a target illumination scheme corresponding to the head area image of the user is obtained, the illumination scheme comprises illumination duration and / or illumination frequency of red light, and the target illumination scheme is determined after the head area image is analyzed to obtain the alopecia degree of the user; and controlling the illumination module to emit red light according to the target illumination scheme so as to irradiate the head area of the user. By implementing the embodiment of the invention, a personalized and accurate red light irradiation scheme can be provided for a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent devices, and in particular to a red light irradiation method, a sleep device and a storage medium based on scalp hair monitoring. Background Art

[0002] In today's society, with the accelerated pace of life, increased work pressure and the influence of environmental factors, hair loss problems have become more and more common. The impact of overtime work, lack of sleep and other issues on hair loss has received increasing attention. Similarly, the impact of hair loss and hair loss anxiety on sleep cannot be ignored. Previous studies have shown that red light can promote hair growth and treat hair loss diseases clinically. At present, there are many red light hair growth products for hair loss on the market, but most of them lack personalized and precise red light irradiation plans and do not fully consider the individual differences between different users. Summary of the invention

[0003] The embodiments of the present application disclose a red light irradiation method, a sleep device and a storage medium based on scalp hair monitoring, which can provide users with a personalized and accurate red light irradiation plan.

[0004] In a first aspect, an embodiment of the present application discloses a red light irradiation method based on scalp hair monitoring, which is applied to a sleep device, wherein the sleep device includes a camera and a lighting module, and the method includes:

[0005] When it is detected that the user's head contacts the sleeping device, acquiring a head area image of the user, wherein the head area image includes a scalp area and a hair area;

[0006] Acquire a target illumination scheme corresponding to the head region image of the user, the illumination scheme including illumination duration and / or illumination frequency of red light, the target illumination scheme being determined after analyzing the head region image to obtain the degree of hair loss of the user;

[0007] The illumination module is controlled to emit red light according to the target illumination scheme to illuminate the head area of ​​the user.

[0008] As an optional implementation manner, in the first aspect of this embodiment, before acquiring the target lighting scheme corresponding to the head area image of the user, the method further includes:

[0009] sending the head area image of the user to a terminal device associated with the sleep device, so that the terminal device determines the target lighting scheme corresponding to the head area image of the user;

[0010] The acquiring of a target lighting scheme corresponding to the head area image of the user comprises:

[0011] The target lighting scheme is received from the terminal device.

[0012] As an optional implementation manner, in the first aspect of this embodiment, the acquiring a target lighting scheme corresponding to the head area image of the user includes:

[0013] Performing image analysis on the head area image of the user to obtain the degree of hair loss of the user;

[0014] The target illumination scheme is determined according to a pre-stored first mapping relationship between the degree of hair loss of the user and red light illumination parameters, where the red light illumination parameters include illumination duration and / or illumination frequency.

[0015] As an optional implementation manner, in the first aspect of this embodiment, performing image analysis on the head region image of the user to obtain the degree of hair loss of the user includes:

[0016] Determine a scalp area and a hair area in the head area image according to the head area image of the user;

[0017] Obtaining, according to the scalp area, a percentage of the exposed scalp area in the head area image to the head area;

[0018] The degree of hair loss of the user is determined based on a pre-stored second mapping relationship between the percentage of the exposed scalp area to the area of ​​the head region and the degree of hair loss.

[0019] As an optional implementation manner, in the first aspect of this embodiment, determining the scalp area and the hair area in the head area image according to the head area image of the user includes:

[0020] The scalp region and the hair region in the head region image are determined according to a color range or a color threshold of the scalp and the hair in the head region image, wherein the color threshold is a color critical value for distinguishing the scalp region from the hair region.

[0021] As an optional implementation, in the first aspect of this embodiment, before controlling the illumination module to emit red light according to the target illumination scheme to illuminate the head area of ​​the user, the method further includes:

[0022] sending the target lighting scheme to a terminal device associated with the sleeping device;

[0023] Receive confirmation information of the user on the target lighting plan from the terminal device.

[0024] As an optional implementation manner, in the first aspect of this embodiment, the method further includes:

[0025] After a preset time period, an image of the user's head area after being irradiated with red light is obtained;

[0026] Analyzing the head area image of the user after the red light irradiation to obtain the degree of hair loss of the user after the red light irradiation;

[0027] When the difference between the degree of hair loss of the user before the red light irradiation and the degree of hair loss of the user after the red light irradiation is less than or equal to a threshold, the value of the red light irradiation parameter in the first mapping relationship is increased.

[0028] A second aspect of an embodiment of the present application discloses a sleeping device, the device comprising:

[0029] An image acquisition module, configured to acquire a head area image of the user when it is detected that the user's head contacts the sleeping device, wherein the head area image includes a scalp area and a hair area;

[0030] a scheme recommendation module, used to obtain a target illumination scheme corresponding to the head region image of the user, the illumination scheme including illumination duration and / or illumination frequency of red light, the target illumination scheme being determined after analyzing the head region image to obtain the degree of hair loss of the user;

[0031] A control module is used to control the illumination module to emit red light according to the target illumination scheme to illuminate the head area of ​​the user.

[0032] A third aspect of the embodiment of the present application discloses another sleeping device, comprising:

[0033] A memory storing executable program code;

[0034] a processor coupled to the memory;

[0035] The processor calls the executable program code stored in the memory to execute all or part of the steps in any one of the red light irradiation methods based on scalp hair monitoring disclosed in the first aspect of the embodiments of the present application.

[0036] The fourth aspect of the embodiments of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute all or part of the steps in any one of the red light irradiation methods based on scalp hair monitoring disclosed in the first aspect of the embodiments of the present application.

[0037] Compared with the related art, the embodiments of the present application include at least the following beneficial effects:

[0038] The sleep device obtains an image of the user's head area and a target lighting scheme corresponding to the image of the user's head area. The lighting scheme includes the illumination duration and / or illumination frequency of red light. The target lighting scheme is determined by analyzing the head area image to obtain the user's hair loss degree, and the lighting module can be controlled to emit red light according to the target lighting scheme to illuminate the user's head area.

[0039] In an embodiment of the present application, the sleep device can analyze the acquired image of the user's head area to obtain the user's degree of hair loss, and obtain a corresponding target lighting plan based on the user's degree of hair loss, thereby providing the user with a personalized and accurate red light irradiation plan. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0041] Figure 1 This is a diagram of an application scenario of a red light irradiation method based on scalp hair monitoring in one embodiment;

[0042] Figure 2 is a flow chart of a red light irradiation method based on scalp hair monitoring in one embodiment;

[0043] Figure 3 A schematic diagram of a terminal device displaying a target lighting scheme in one embodiment;

[0044] Figure 4 is a flow chart of a method for determining a target lighting scheme in one embodiment;

[0045] Figure 5 A flowchart of adjusting a target lighting scheme based on scalp hair monitoring results in one embodiment;

[0046] Figure 6 A schematic diagram of adjusting a target lighting scheme based on scalp hair monitoring results in one embodiment;

[0047] Figure 7 is a structural block diagram of a sleep device in one embodiment;

[0048] Figure 8 FIG. 4 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0050] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are to distinguish different user instructions, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.

[0051] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0052] In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.

[0053] In addition, the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products, or devices.

[0054] The embodiments of the present application disclose a red light irradiation method, a sleep device and a storage medium based on scalp hair monitoring, which can provide users with personalized and accurate red light irradiation plans, which are described in detail below.

[0055] See also Figure 1 , Figure 1 FIG. 1 is an application scenario diagram of a red light irradiation method based on scalp hair monitoring in one embodiment. Figure 1 As shown, the sleeping device 10 includes a camera 101 and an illumination module 102 , wherein the sleeping device 10 can be electrically connected to the camera 101 , and the sleeping device 10 can also be electrically connected to the illumination module 102 .

[0056] In some embodiments, the sleep device 10 can obtain the user's head area image through the camera 101, and analyze the user's head area image to obtain the user's hair loss degree, obtain the corresponding red light irradiation plan according to the user's hair loss degree, and control the lighting module 102 to emit red light.

[0057] In some embodiments, the sleeping device 10 may be a pillow integrated with a camera 101 and a lighting module 102, or may be a sleeping eye mask or a sleeping helmet integrated with a camera 101 and a lighting module 102. The present application embodiment is not limited thereto. Figure 1 A pillow is used as an example. In the area where the sleeping device 10 contacts the user's head, a sensor may be installed to detect whether the user's head contacts the sleeping device 10. For example, the sensor may be a pressure sensor, an infrared proximity sensor, an ultrasonic proximity sensor, etc. When the sleeping device 10 detects that the user's head contacts the sleeping device 10, the sleeping device 10 captures an image of the user's head area through the camera 101 and analyzes the image of the head area through the built-in processor.

[0058] In some embodiments, the camera 101 is used to capture an image of the user's head area, which includes a hair area and a scalp area. In addition, it can also be used to detect whether the user's head is in contact with the sleep device 10. For example, image recognition technology can be used to analyze whether specific head features or contours appear in the image captured by the camera 101, so as to determine whether the user's head is in contact with the sleep device 10. Or it can be combined with a motion detection algorithm. When the camera 101 detects that an object is approaching and maintaining a relatively stable state in the image, and the shape and size of the object meet the characteristics of the human head, it can be determined that the user's head may have been in contact with the sleep device 10.

[0059] Camera 101 can be a high-resolution miniature camera, which can be easily integrated into the sleep device without affecting the user's comfort. Camera 101 can also be a camera with infrared function, which can obtain the image of the user's head area even in a dark environment. In addition, camera 101 can also be an adjustable angle camera, so that it can be flexibly adjusted according to the user's head position. It should be noted that in the embodiment of the present application, camera 101 can have some or all of the above-mentioned functions.

[0060] In some other embodiments, after obtaining the head area image of the user, the sleep device 10 can also send the head area image of the user to an associated terminal device, which may include but is not limited to various personal computers, laptops, smart phones, tablets and portable wearable devices (such as smart watches, smart bracelets, smart glasses, etc.). The computer system in the terminal device can be Windows, Linux, IOS or Unix, which is not specifically limited here.

[0061] In some embodiments, the illumination module 102 can be a flexible patch with miniature red light beads, which can be attached to the surface of the sleep device 10 to correspond to the user's head contact area, or it can be a light guide plate structure built into the sleep device. The light guide plate can evenly guide the light emitted by the red light source from the side or bottom to the surface of the sleep device 10 to form a soft red light irradiation area. The illumination module 102 can also be a module composed of multiple independently controllable red light groups, which can perform zoned irradiation according to the user's head position and hair loss situation.

[0062] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a red light irradiation method based on scalp hair monitoring in one embodiment. The method can be applied to a sleep device, which includes a camera and a light module, such as Figure 2 As shown, the method may include the following steps:

[0063] Step 201 : when it is detected that the user's head contacts the sleeping device, an image of the user's head region is acquired, where the image of the head region includes a scalp region and a hair region.

[0064] In an embodiment of the present application, pressure sensors, proximity sensors and capacitive sensing detection technology can be used to detect whether the user's head is in contact with the sleeping device. For example, when the user's head is in contact with the sleeping device, the pressure sensor will detect the pressure change. If the pressure value exceeds the preset threshold value, it can be determined that the user's head is in contact with the sleeping device; the proximity sensor can emit a specific signal. When the user's head is close to the sleeping device, the signal will be reflected back. The proximity sensor determines the distance between the head and the device by detecting the intensity and time of the reflected signal. Once the distance is less than the preset critical value, it can be determined that the user's head is in contact with the sleeping device; in addition, capacitive sensing detection technology can also be used to set a capacitive sensing layer on the surface of the sleeping device. When the user's head is close to or in contact with the sleeping device, it will cause a change in the capacitance value. By detecting the change in the capacitance value, it can be determined whether the user's head is in contact with the sleeping device.

[0065] In some embodiments, a camera may be used to detect whether the user's head is in contact with the sleeping device, for example, by using image recognition technology, combined with a motion detection algorithm, etc., which will not be described in detail here. The user's head area image refers to an image captured by a camera that includes the entire area or a part of the user's head area, and the head area image includes the scalp area and the hair area.

[0066] In some embodiments, when the user's head is detected to be in contact with the sleeping device, the sleeping device may send a control instruction to the camera to control the camera to aim at the user's head area, such as the top of the head area, and shoot the user's head area to obtain a head area image. Alternatively, when the camera detects that the user's head is in contact with the sleeping device, the camera may automatically shoot the user's head area image.

[0067] Step 202, obtaining a target lighting scheme corresponding to the head area image of the user, the lighting scheme including the lighting duration and / or lighting frequency of red light, and the target lighting scheme is determined by analyzing the head area image to obtain the degree of hair loss of the user.

[0068] In an embodiment of the present application, after the sleep device obtains the image of the user's head area through a camera, the image of the user's head area can be processed and analyzed to obtain the user's degree of hair loss. For example, the head area image is pre-processed, including denoising, contrast enhancement and other operations, and an image analysis algorithm is used to determine the user's degree of hair loss based on the user's head area image. Finally, based on the assessed degree of hair loss, a match is performed from a pre-stored lighting scheme database to obtain a target lighting scheme. It can be understood that different degrees of hair loss correspond to different lighting schemes, that is, different degrees of hair loss correspond to different lighting durations and / or lighting frequencies, wherein the lighting duration is the duration of red light irradiating the user's head area, and the lighting frequency is the number of times or cycles of red light irradiation.

[0069] In the embodiment of the present application, before obtaining the target lighting solution corresponding to the head area image of the user, the method further includes:

[0070] sending the head area image of the user to a terminal device associated with the sleep device, so that the terminal device determines a target lighting scheme corresponding to the head area image of the user;

[0071] Obtain a target lighting solution corresponding to the user's head area image, including:

[0072] Receive a target lighting plan from the terminal device.

[0073] In some embodiments, the terminal device associated with the sleeping device refers to an electronic device that can establish a communication connection and interact with the sleeping device, and the terminal device may include but is not limited to various personal computers, laptops, smart phones, tablet computers, etc. The sleeping device can communicate with the terminal device through a communication network, and the communication network can be a wired network or a wireless network. For example, the communication network can be a local area network (LAN) or a wide area network (WAN), such as the Internet. When the communication network is a local area network, exemplarily, the communication network can be a short-range communication network such as a wireless fidelity (Wi-Fi) hotspot network, a Wi-Fi P2P network, a Bluetooth network, a zigbee network, or a near field communication (NFC) network. When the communication network is a wide area network, exemplarily, the communication network can be a third-generation mobile communication technology network, a fourth-generation mobile communication technology network, a fifth-generation mobile communication technology network, etc.

[0074] In some embodiments, after receiving the head area image of the user, the terminal device associated with the sleep device can use image processing software or algorithms to determine the user's hair loss degree based on the head area image of the user, and determine the corresponding target lighting scheme based on the user's hair loss degree. The specific implementation method can refer to the above-mentioned method of obtaining the target lighting scheme for the sleep device, which will not be repeated here. In some other embodiments, the terminal device can also prompt the user to select a head area image from the local gallery to increase the interactivity between the user and the terminal device and the sleep device.

[0075] After receiving the target lighting scheme data sent by the terminal device, the sleeping device performs data analysis, extracts the red light illumination parameters such as illumination duration and illumination frequency in the illumination scheme, and stores them locally or sends them directly to the illumination module. If the received data is erroneous or incomplete, a request can be sent to the terminal device to request resending or data repair. After successfully receiving and analyzing the target lighting scheme, the sleeping device can send a confirmation signal to the terminal device, indicating that the target lighting scheme has been received.

[0076] Step 203: Control the illumination module to emit red light according to the target illumination scheme to illuminate the user's head area.

[0077] In some embodiments, the sleep device can be electrically connected to the illumination module or establish a communication connection. The sleep device converts the parameters in the target illumination scheme (such as illumination duration, illumination frequency, etc.) into specific control instructions and transmits them to the illumination module. The microcontroller or receiving unit inside the illumination module can recognize and parse these instructions. For example, if the illumination duration in the target illumination scheme is 20 minutes and the illumination frequency is once a day, the sleep device will send a corresponding instruction to control the illumination module to turn on the red light for 20 minutes, and only perform such an operation once a day.

[0078] In some embodiments, before controlling the illumination module to emit red light according to the target illumination scheme to illuminate the head area of ​​the user, the method further includes:

[0079] sending the target lighting scheme to a terminal device associated with the sleeping device;

[0080] Receive confirmation information of the user on the target lighting plan from the terminal device.

[0081] In an embodiment of the present application, the sleep device can send the target lighting scheme to a terminal device associated with the sleep device, with the purpose of allowing the user to understand the red light irradiation scheme to be implemented through the terminal device. The terminal device can be a mobile phone, a tablet computer, etc., which is associated with the sleep device through Bluetooth, a wireless network, etc. In some other embodiments, the target lighting scheme can also be obtained by the terminal device, and the terminal device will display the lighting parameters in the target lighting scheme to the user through the display screen, and provide a pop-up button to receive user feedback information.

[0082] In one embodiment, the terminal device displays a schematic diagram of the target lighting scheme as shown in FIG. Figure 3As shown, the user can intuitively see the recommended red light irradiation plan through the terminal device display screen. The illumination duration is 30 minutes and the illumination frequency is once a day. In addition to the illumination duration and illumination frequency, the intensity level of the red light irradiation can also be displayed. For example, the low-level light intensity is between 100 and 500 lumens, the medium-level light intensity is between 500 and 1000 lumens, and the high-level light intensity is above 1000 lumens. In addition, the display screen can also display the time when the red light starts irradiating. It should be noted that the light intensity and the start time of the red light irradiation can be selected by the user. It is understandable that if the illumination frequency is once a week, the user can also select the date of illumination independently.

[0083] In addition, clear interactive buttons are provided on the display screen to facilitate user operations. For example, when the user clicks the "Agree" button, it means that the user confirms and agrees to start the red light irradiation plan. The terminal device can send the confirmation information to the sleep device, and the sleep device will immediately execute the red light irradiation plan when it receives the confirmation information; when the user clicks the "Reject" button, it means that the user does not agree to start the red light irradiation plan; when the user clicks the "Regenerate" button, the terminal device will readjust the mapping relationship between the user's hair loss degree and the lighting plan, and re-recommend the red light illumination duration and / or lighting frequency to the user, or, the feedback information can be sent to the sleep device, and the sleep device adjusts the lighting plan and sends the adjusted target lighting plan to the terminal device again.

[0084] The specific parameters of the target lighting plan are intuitively displayed on the terminal device display, which helps the user understand the red light irradiation plan and decide whether to implement a specific lighting plan based on their actual situation and preferences. It also enhances the interactivity between the user and the terminal device and the sleep device.

[0085] By adopting the above embodiment, the sleep device can analyze the acquired image of the user's head area to obtain the user's degree of hair loss, and obtain the corresponding target lighting scheme according to the user's degree of hair loss, thereby providing the user with a personalized and accurate red light irradiation scheme. The sleep device controls the lighting module to emit red light according to the target lighting scheme, without the user having to perform complex operations and settings, and can perform lighting during the user's sleep, which can meet the user's needs for hair growth and hair loss prevention, relieve the user's anxiety about hair loss, and promote the user's sleep.

[0086] See also Figure 4 , Figure 4 FIG. 1 is a flow chart of a method for determining a target lighting scheme in an embodiment. Figure 4 As shown, the method may include the following steps:

[0087] Step 401: determine the scalp area and the hair area in the head area image according to the head area image of the user.

[0088] In some embodiments, the sleep device may pre-process the acquired image of the user's head area to improve the accuracy of subsequent analysis, including operations such as image denoising, contrast enhancement, and brightness adjustment. For example, image filtering technology may be used to remove noise points in the image to make the image clearer; or, by adjusting the image contrast and brightness, the difference between the scalp and the hair may be highlighted to facilitate the determination of the scalp area and the hair area.

[0089] In an embodiment of the present application, determining a scalp area and a hair area in a head area image according to a head area image of a user includes:

[0090] The scalp region and the hair region in the head region image are determined according to the color range or color threshold of the scalp and the hair in the head region image. The color threshold is a color critical value used to distinguish the scalp region from the hair region.

[0091] In some embodiments, the scalp region and the hair region can be distinguished by identifying pixels of different color ranges in the image by setting a color threshold. The head region image is converted to a certain color space (such as RGB, HSV, etc.), and then a suitable threshold is selected according to specific conditions in the color space. For example, in the HSV color space, the color characteristics of the hair or scalp can be identified by setting the threshold range of hue, saturation and brightness. For each pixel in the head region image, it can be judged according to the set color range or threshold. If a pixel is within the color range of the scalp or is judged as the scalp according to the color threshold, the pixel is marked as the scalp region; if the pixel is within the color range of the hair or is judged as the hair according to the color threshold, it is marked as the hair region. For example, in the HSV space, for a pixel, its hue is 25 degrees, saturation is 0.3, and brightness is 0.7. According to the set threshold (the hue is greater than 20 degrees, the saturation is less than 0.4, and the brightness is greater than 0.6, it is judged as the scalp region), the pixel will be marked as the scalp region.

[0092] In some other embodiments, an edge detection operator may be used to calculate the gradient of pixel points in an image to detect the edges of the scalp and hair. For a head region image, after edge detection, the hair and scalp regions may be inferred based on the shape and position of the edges. For example, the hair edge presents a curved and irregular shape, while the scalp edge is relatively smooth, thereby distinguishing the scalp and hair regions.

[0093] In some embodiments, the specific method for determining the scalp region and the hair region in the head region image may also be to use a neural network model to semantically segment the scalp and hair in the head region image. The neural network model learns the high-level semantic features of the scalp and hair by training on a large-scale image dataset. During the training process, the image with the scalp and hair regions labeled is used as input, and the model outputs the probability that each pixel belongs to the scalp or hair. By adjusting the parameters and structure of the model, the model can automatically identify and segment the scalp and hair regions.

[0094] Step 402: Obtain the percentage of the exposed scalp area to the head area in the head area image according to the scalp area.

[0095] In the embodiment of the present application, the area of ​​the scalp region is the exposed scalp area. After the scalp region in the head region image is determined by the above step 401, the number of pixels marked as the scalp region can be counted for the area calculation of the scalp region. Assuming that the total number of pixels in the head region image is N and the number of pixels in the scalp region is n, the percentage of the scalp region area to the head region area can be expressed as n / N×100%. In practical applications, in order to improve the accuracy and reliability of the calculation results, the camera in the sleep device can also obtain multiple different user head region images, identify the scalp and hair regions for each image, and calculate the percentage of the exposed scalp area in the head region image to the head region area. Each head region image can calculate a percentage value, and then take the average of these values ​​as the final result. For example, if the sleep device obtains 5 user head region images and calculates 5 percentage values, namely p1, p2, p3, p4, and p5, then the final percentage of the exposed scalp area to the head region area can be expressed as (p1+p2+p3+p4+p5) / 5.

[0096] Secondly, other relevant information can be combined to optimize the calculation. For example, if the distance when the image was taken, the focal length of the camera and other parameters are known, the area calculation can be further calibrated based on the relationship between these parameters and the actual size of the object in the image. Assuming that the conversion relationship between the actual diameter of the head and the pixel length of the head diameter in the image is known under the shooting distance and camera parameters, the pixel area can be converted to the actual area based on this relationship, and then the percentage calculation can be performed, which can make the result more in line with the actual situation.

[0097] Step 403: Determine the degree of hair loss of the user according to a pre-stored second mapping relationship between the percentage of the exposed scalp area to the head area and the degree of hair loss.

[0098] In some embodiments, the second mapping relationship can be obtained through a large amount of clinical data, experimental research, and observation and analysis of the hair conditions of different populations, and can accurately convert the percentage of the exposed scalp area to the head area into the corresponding hair loss degree. The second mapping relationship can be stored in an embedded storage medium inside the sleep device, or in a database or hard disk of a terminal device associated with the sleep device. After determining the percentage of the user's exposed scalp area to the head area, the sleep device or terminal device will enter the pre-set second mapping relationship database for query. By searching the second mapping relationship database, the user's hair loss degree can be quickly determined.

[0099] Different percentage ranges correspond to different levels of hair loss. For example, when the percentage of exposed scalp area to the head area is less than 10%, it can be considered as no hair loss or mild hair loss, and the corresponding hair loss level is 1; when the percentage of exposed scalp area to the head area is between 10% and 25%, it can be judged as the early stage of moderate hair loss, and the hair loss level is 2; if the percentage is between 25% and 50%, it is moderate hair loss, and the hair loss level is 3; and when the percentage exceeds 50%, it is severe hair loss, and the hair loss level is 4 or higher.

[0100] In some embodiments, the second mapping relationship can be stored in the form of a table. If it is a mapping relationship in the form of a table, the sleep device or terminal device will compare the percentage of the user's exposed scalp area to the head area with the percentage range in the table. If the calculated percentage is within a certain percentage range, the hair loss degree corresponding to the percentage range can be directly read. For example, if the percentage of the user's exposed scalp area to the head area is 18%, the range of "10%-25%" is found in the table, and the corresponding hair loss degree is level 2.

[0101] In some other embodiments, the second mapping relationship can also be stored in the form of a function relationship, and the sleep device or terminal device will substitute the percentage of exposed scalp area into the function for calculation, and obtain the user's hair loss level according to the function's operation rules. For example, if the function is a simple piecewise function, when the percentage is less than 10%, the function returns 1, indicating that the hair loss level is level 1; when the percentage is between 10%-25%, the function returns 2, indicating that the hair loss level is level 2, and so on.

[0102] Step 404, determining a target lighting scheme according to a pre-stored first mapping relationship between the user's hair loss degree and red light irradiation parameters, where the red light irradiation parameters include illumination duration and / or illumination frequency.

[0103] In the embodiment of the present application, the first mapping relationship can be obtained from a large amount of clinical data, experimental research, or relevant literature. For example, a clinical experiment of red light irradiation can be conducted on a large number of patients with different degrees of hair loss, and the hair regeneration, hair loss improvement degree and other indicators of the patients under different light exposure durations and light exposure frequencies can be observed. After data analysis and statistics, the best correspondence between the different degrees of hair loss of users and the red light irradiation parameters is determined, thereby establishing the first mapping relationship. The embodiment of the present invention does not limit the method for obtaining the first mapping relationship and the second mapping relationship.

[0104] Similarly, after obtaining the first mapping relationship, the first mapping relationship can be stored in an embedded storage medium inside the sleep device, or in a database or hard disk of a terminal device associated with the sleep device. The sleep device or the terminal device can enter a pre-set first mapping relationship database for query based on the user's degree of hair loss. By searching the first mapping relationship database, the red light irradiation duration and / or red light irradiation frequency corresponding to the user's degree of hair loss can be quickly determined, thereby determining the target lighting plan.

[0105] It is understandable that different hair loss levels correspond to different red light irradiation durations and / or red light irradiation frequencies. In some embodiments, the first mapping relationship and the second mapping relationship can be stored in the same table so that the sleep device or terminal device can obtain the required two mapping relationships from the same storage location without having to search in different places, thereby improving efficiency. As an optional implementation, the first mapping relationship and the second mapping relationship are shown in Table 1.

[0106] Table 1: First mapping relationship and second mapping relationship

[0107]

[0108] By adopting the above embodiment, the sleep device can process and analyze the image of the user's head area, determine the user's hair loss level according to the pre-stored second mapping relationship, and obtain the target lighting plan corresponding to the user's hair loss level according to the pre-stored first mapping relationship, thereby providing the user with a personalized and accurate red light irradiation plan.

[0109] In some embodiments, the sleep device can also identify the user's identity information, regularly monitor the user's hair loss after red light irradiation, and adjust the target lighting plan according to the monitoring results. Figure 5 , Figure 5 FIG. 1 is a flow chart of adjusting the target illumination scheme based on the scalp hair monitoring result in one embodiment. Figure 5 As shown, the method may include the following steps:

[0110] Step 501, after a preset time period, an image of the user's head area after being irradiated with red light is obtained.

[0111] In an embodiment of the present application, when the user's head is detected to be in contact with the sleep device, the sleep device can also store and identify the user's identity information. For example, the user's facial image can be captured by a camera, and the user's facial image can be stored in a local storage medium of the sleep device or uploaded to a cloud server for storage via a network connection. When the user uses the sleep device again, the sleep device will start the camera again to capture the user's facial image, and compare it with the stored image to identify the user's identity.

[0112] In some embodiments, the sleep device may also integrate a fingerprint recognition module, and the user may verify the identity by touching the fingerprint recognition area before using the device. In addition, the sleep device may also use iris recognition technology to scan the user's iris to identify the user. The embodiments of the present application are not specifically limited here.

[0113] After the illumination module irradiates the user's head area with red light, when the user uses the sleep device again, upon recognizing that the user's identity information is not the first time that red light exposure is performed, the image of the user's head area after the red light exposure is acquired after a preset time period. Optionally, the preset time period may be to automatically reacquire the image of the user's head area every 1, 3, or 6 months after the red light exposure.

[0114] Step 502: Analyze the head area image of the user after the red light irradiation to obtain the hair loss degree of the user after the red light irradiation.

[0115] The description of step 502 may refer to the relevant description in the above embodiments, and will not be repeated here.

[0116] Step 503: when the difference between the hair loss degree of the user before the red light irradiation and the hair loss degree of the user after the red light irradiation is less than or equal to the threshold, increase the value of the red light irradiation parameter in the first mapping relationship.

[0117] In some embodiments, the sleep device obtains an image of the user's head area before red light irradiation and analyzes the user's degree of hair loss before red light irradiation, and stores the degree of hair loss in a local storage medium. After a preset period of time, the sleep device obtains the image of the user's head area again and analyzes the user's degree of hair loss after red light irradiation, and calculates the difference between the user's degree of hair loss before red light irradiation and the user's degree of hair loss after red light irradiation. When the difference is less than or equal to a threshold, it indicates that the change in the user's hair loss degree is small or unchanged, that is, the improvement effect on the user's hair loss degree after red light irradiation is not obvious. At this time, the red light irradiation plan can be adjusted, for example, by increasing the value of the red light irradiation parameter in the first mapping relationship.

[0118] The threshold is a pre-set value and is not limited in the embodiment of the present invention. In other embodiments, the percentage of the exposed scalp area of ​​the user to the head area before the red light irradiation and the percentage of the exposed scalp area of ​​the user to the head area after the red light irradiation can also be compared. If the difference is less than or equal to the threshold, the red light irradiation time and / or the red light irradiation frequency is increased.

[0119] In some embodiments, when the difference is greater than a threshold, it indicates that the degree of hair loss of the user has changed significantly after red light irradiation, that is, the improvement effect of red light irradiation on the degree of hair loss of the user is more obvious. At this time, the sleep device does not change the value of the red light irradiation parameter in the first mapping relationship, but redetermines the target lighting scheme according to the degree of hair loss of the user after red light irradiation.

[0120] In the above embodiment, the schematic diagram of adjusting the target illumination scheme based on the scalp hair monitoring result is as follows: Figure 6 As shown, the sleep device can obtain the change in the user's hair loss degree based on the user's scalp hair monitoring results, and adjust the red light irradiation plan according to the change in the user's hair loss degree, so as to redetermine the target lighting plan, and the sleep device controls the lighting module to emit red light according to the re-determined target lighting plan to illuminate the user's head area. After a preset period of time, the sleep device repeats the above steps, obtains the user's scalp hair monitoring results again and adjusts the red light irradiation plan according to the results. This feedback mechanism enables the sleep device to dynamically adjust the target lighting plan according to the specific situation of the user's hair loss degree, which can effectively meet the user's hair growth and hair loss prevention needs.

[0121] See also Figure 7 , Figure 7 FIG. 1 is a structural block diagram of a sleep device in an embodiment. Figure 7 As shown, the sleep device may include an image acquisition module 701, a solution recommendation module 702, and a control module 703, wherein:

[0122] An image acquisition module 701 is used to acquire a head area image of the user when it is detected that the user's head contacts the sleeping device, wherein the head area image includes a scalp area and a hair area;

[0123] A solution recommendation module 702 is used to obtain a target illumination solution corresponding to the head region image of the user, wherein the illumination solution includes an illumination duration and / or illumination frequency of red light, and the target illumination solution is determined by analyzing the head region image to obtain the degree of hair loss of the user;

[0124] The control module 703 is used to control the illumination module to emit red light according to the target illumination scheme to illuminate the head area of ​​the user.

[0125] In some embodiments, the solution recommendation module 702 is further configured to:

[0126] sending the head area image of the user to a terminal device associated with the sleep device, so that the terminal device determines the target lighting scheme corresponding to the head area image of the user;

[0127] The acquiring of a target lighting scheme corresponding to the head area image of the user comprises:

[0128] The target lighting scheme is received from the terminal device.

[0129] In some embodiments, the solution recommendation module 702 is specifically used to:

[0130] Performing image analysis on the head area image of the user to obtain the degree of hair loss of the user;

[0131] The target illumination scheme is determined according to a pre-stored first mapping relationship between the degree of hair loss of the user and red light illumination parameters, where the red light illumination parameters include illumination duration and / or illumination frequency.

[0132] In some embodiments, the solution recommendation module 702 is specifically used to:

[0133] Determine the scalp region and the hair region in the head region image according to a color range or a color threshold of the scalp and the hair in the head region image, wherein the color threshold is a color critical value for distinguishing the scalp region from the hair region;

[0134] Obtaining, according to the scalp area, a percentage of the exposed scalp area in the head area image to the head area;

[0135] The degree of hair loss of the user is determined based on a pre-stored second mapping relationship between the percentage of the exposed scalp area to the head area and the degree of hair loss.

[0136] In some embodiments, before controlling the illumination module to emit red light according to the target illumination scheme to illuminate the head area of ​​the user, the scheme recommendation module 702 is further configured to:

[0137] sending the target lighting scheme to a terminal device associated with the sleeping device;

[0138] Receive confirmation information of the user on the target lighting plan from the terminal device.

[0139] In some embodiments, the image acquisition module 701 is further used to:

[0140] After a preset time period, an image of the user's head area after being irradiated with red light is obtained.

[0141] In some embodiments, the solution recommendation module 702 is further configured to:

[0142] Analyzing the head area image of the user after the red light irradiation to obtain the degree of hair loss of the user after the red light irradiation;

[0143] When the difference between the degree of hair loss of the user before the red light irradiation and the degree of hair loss of the user after the red light irradiation is less than or equal to a threshold, the value of the red light irradiation parameter in the first mapping relationship is increased.

[0144] In an embodiment of the present application, the sleep device obtains the user's hair loss degree by analyzing the acquired image of the user's head area, and obtains the corresponding target lighting plan based on the user's hair loss degree, thereby providing the user with a personalized and accurate red light irradiation plan. In addition, the sleep device can also dynamically adjust the target lighting plan based on the specific situation of the user's hair loss degree, which can effectively meet the user's needs for hair growth and hair loss prevention.

[0145] The embodiment of the present application provides a computer device, which may be a server, and its internal structure block diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.

[0146] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the methods described in the above embodiments when executed by a processor.

[0147] An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.

[0148] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.

[0149] As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and / or volatile memory. Suitable nonvolatile memory may include ROM, programmable ROM (Programmable ROM, PROM), erasable PROM (Erasable PROM, EPROM), electrically erasable PROM (Electrically Erasable PROM, EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. By way of illustration and not limitation, RAM may be in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), memory bus direct RAM (RDRAM) and direct memory bus dynamic RAM (DRDRAM).

[0150] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application. It should be noted that "multiple" in the present application includes "two or more".

[0151] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0152] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0153] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0154] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0155] The above is a detailed introduction to a red light irradiation method based on scalp hair monitoring, a sleep device and a storage medium disclosed in the embodiment of the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those of ordinary skill in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A red light irradiation method based on scalp hair monitoring, characterized in that: Applied to a sleeping device, the sleeping device includes a camera and a lighting module, and the method includes: When it is detected that the user's head contacts the sleeping device, acquiring a head area image of the user, wherein the head area image includes a scalp area and a hair area; Acquire a target illumination scheme corresponding to the head region image of the user, the illumination scheme including illumination duration and / or illumination frequency of red light, the target illumination scheme being determined after analyzing the head region image to obtain the degree of hair loss of the user; The illumination module is controlled to emit red light according to the target illumination scheme to illuminate the head area of ​​the user.

2. The method according to claim 1, characterized in that Before acquiring the target illumination scheme corresponding to the head area image of the user, the method further includes: sending the head area image of the user to a terminal device associated with the sleep device, so that the terminal device determines the target lighting scheme corresponding to the head area image of the user; The acquiring of a target lighting scheme corresponding to the head area image of the user comprises: The target lighting scheme is received from the terminal device.

3. The method according to claim 1 or 2, characterized in that: The acquiring of a target lighting scheme corresponding to the head area image of the user comprises: Performing image analysis on the head area image of the user to obtain the degree of hair loss of the user; The target illumination scheme is determined according to a pre-stored first mapping relationship between the degree of hair loss of the user and red light illumination parameters, where the red light illumination parameters include illumination duration and / or illumination frequency.

4. The method according to claim 3, characterized in that The performing image analysis on the head region image of the user to obtain the degree of hair loss of the user includes: Determine a scalp area and a hair area in the head area image according to the head area image of the user; Obtaining, according to the scalp area, a percentage of the exposed scalp area in the head area image to the head area; The degree of hair loss of the user is determined based on a pre-stored second mapping relationship between the percentage of the exposed scalp area to the head area and the degree of hair loss.

5. The method according to claim 4, characterized in that The determining the scalp area and the hair area in the head area image according to the head area image of the user comprises: The scalp region and the hair region in the head region image are determined according to a color range or a color threshold of the scalp and the hair in the head region image, wherein the color threshold is a color critical value for distinguishing the scalp region from the hair region.

6. The method according to claim 1, characterized in that Before controlling the illumination module to emit red light according to the target illumination scheme to illuminate the head area of ​​the user, the method further includes: sending the target lighting scheme to a terminal device associated with the sleeping device; Receive confirmation information of the user on the target lighting plan from the terminal device.

7. The method according to claim 1, characterized in that The method further comprises: After a preset time period, an image of the user's head area after being irradiated with red light is obtained; Analyzing the head area image of the user after the red light irradiation to obtain the degree of hair loss of the user after the red light irradiation; When the difference between the degree of hair loss of the user before the red light irradiation and the degree of hair loss of the user after the red light irradiation is less than or equal to a threshold, the value of the red light irradiation parameter in the first mapping relationship is increased.

8. A sleeping device, characterized in that: The device comprises: An image acquisition module, configured to acquire a head area image of the user when detecting that the user's head contacts the sleeping device, wherein the head area image includes a scalp area and a hair area; a scheme recommendation module, used to obtain a target illumination scheme corresponding to the head region image of the user, the illumination scheme including illumination duration and / or illumination frequency of red light, the target illumination scheme being determined after analyzing the head region image to obtain the degree of hair loss of the user; The control module is used to control the illumination module to emit red light according to the target illumination scheme to illuminate the head area of ​​the user.

9. A sleeping device, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Energy output adaptive adjustment method and device, computer equipment and storage medium

    CN121534329A