CN-121985448-A - Lamp control method, control device, lamp and storage medium
Abstract
The application relates to the technical field of data processing and provides a lamp control method, a control device, a lamp and a storage medium, wherein the method comprises the steps of obtaining distance information between a target lamp and a body area to be irradiated of a user, and obtaining a body image of the user, wherein the body image comprises a target image area corresponding to the body area to be irradiated; the method comprises the steps of obtaining body posture information of a user by identifying the body posture of the user based on a body image, identifying a target image area in the body image to obtain skin characteristic information of the body area to be irradiated, and controlling a target lamp to irradiate the body area to be irradiated based on distance information, the body posture information and the skin characteristic information. The application can perform more accurate and intelligent regulation and control on the lamp, and better meets the actual requirements of users in different states.
Inventors
- Liu Senhua
Assignees
- 深圳市华亚光电科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251231
Claims (10)
- 1. A method of controlling a luminaire, comprising: Acquiring distance information between a target lamp and a body area to be irradiated of a user, and acquiring a body image of the user, wherein the body image comprises a target image area corresponding to the body area to be irradiated; identifying the body posture of the user based on the body image to obtain the body posture information of the user, and Identifying the target image area in the body image to acquire skin characteristic information of the body area to be irradiated; And controlling the target lamp to irradiate the body area to be irradiated based on the distance information, the body posture information and the skin characteristic information.
- 2. The light fixture control method of claim 1, wherein the controlling the target light fixture to illuminate the body area to be illuminated based on the distance information, the body posture information, and the skin characteristic information comprises: comparing the distance information, the body posture information and the skin characteristic information with corresponding preset numerical intervals respectively; if the distance information, the body posture information or the skin characteristic information are all in the corresponding preset numerical value interval, determining that the body area to be irradiated is in a normal state, and controlling the target lamp to irradiate the body area to be irradiated according to a preset first parameter; If any one of the distance information, the body posture information or the skin characteristic information is not in the corresponding preset numerical value interval, determining that the body area to be irradiated is in an abnormal state, and And adjusting the first parameter based on the distance information, the body posture information or the skin characteristic information representing the abnormal state and the corresponding preset numerical value interval, and controlling the target lamp to irradiate the body region to be irradiated according to the adjusted first parameter.
- 3. The luminaire control method of claim 2, wherein said adjusting said first parameter based on distance information, body posture information or skin characteristic information characterizing said abnormal state comprises: If the distance information is smaller than the lower limit value of the corresponding preset numerical value interval and/or the skin characteristic information is larger than the lower limit value of the corresponding preset numerical value interval, reducing the irradiation power in the first parameter according to a preset first proportion; If the distance information is larger than the corresponding upper limit value of the preset numerical value interval, the irradiation power in the first parameter is increased according to a preset second proportion; And if the body posture information is larger than the lower limit value of the corresponding preset value interval, stopping the target lamp from irradiating the body area to be irradiated until the body posture information is smaller than the lower limit value of the corresponding preset value interval, and controlling the target lamp to resume irradiating the body area to be irradiated according to the first parameter.
- 4. The light fixture control method of claim 1, wherein the controlling the target light fixture to illuminate the body area to be illuminated based on the distance information, the body posture information, and the skin characteristic information comprises: performing information fusion processing on the distance information, the body posture information and the skin characteristic information to obtain current state information of the body area to be irradiated; Determining a target light parameter matched with the current state information based on a preset mapping relation table, wherein the mapping relation table records mapping relations between different state information and corresponding light parameters; and controlling the target lamp to irradiate the body area to be irradiated based on the target light parameters.
- 5. The method of claim 4, wherein the performing information fusion processing on the distance information, the body posture information, and the skin feature information to obtain the current state information of the body area to be irradiated includes: respectively carrying out data conversion processing on the distance information, the body posture information and the skin characteristic information to obtain distance scoring data, posture scoring data and skin scoring data; weighting and summing the distance scoring data, the gesture scoring data and the skin scoring data based on preset weight values respectively corresponding to the distance scoring data, the gesture scoring data and the skin scoring data to obtain a target state score; Based on the target state score, current state information of the body region to be irradiated is determined.
- 6. The luminaire control method of claim 1, wherein said identifying the target image area in the body image to obtain skin feature information of the body area to be irradiated comprises: identifying the target image area in the body image to acquire skin complexion characteristic information of the body area to be irradiated; detecting the target image area in the body image to acquire skin texture feature information of the body area to be irradiated; and determining the skin characteristic information of the body area to be irradiated based on the skin complexion characteristic information and the skin texture characteristic information.
- 7. The luminaire control method of claim 1, wherein the body image comprises a plurality of frames of body images, wherein the identifying the body pose of the user based on the body images to obtain the body pose information of the user comprises: respectively detecting skeleton key points in a plurality of frames of body images to obtain position coordinates of a plurality of skeleton key points corresponding to each frame of body images; calculating the stability of a plurality of bone key points based on the position coordinates of the bone key points corresponding to the body images of each frame; And determining body posture information of the user according to the stability of the skeletal key points.
- 8. A control apparatus comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the luminaire control method of any one of claims 1 to 7.
- 9. A luminaire, characterized in that it comprises: the lamp body is used for emitting light; The shooting device is used for acquiring a body image of a user; The control device according to claim 8, wherein the control device is connected to the lamp body and the photographing device.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program, wherein the computer program, when executed by a processor, implements the luminaire control method of any one of claims 1 to 7.
Description
Lamp control method, control device, lamp and storage medium Technical Field The application relates to the technical field of intelligent decision making, in particular to a lamp control method, a lamp control device, a lamp and a storage medium. Background The red physiotherapy lamp is equipment utilizing red light or near infrared light with specific wavelength, and can promote blood circulation mainly through photo-biological regulation effect, so as to achieve the effects of relieving muscle fatigue and the like. The traditional red light physiotherapy lamp is similar to a conventional lamp, and in the use process, a user manually adjusts the irradiation parameters of the red light physiotherapy lamp according to the self requirements. At present, part of red light physiotherapy lamps are integrated with intelligent sensors, so that the physical condition of a user can be monitored and identified in real time, and the lamps are intelligently regulated and controlled according to detection results. However, the recognition accuracy of the product on the physical state is low, so that the regulation and control result of the lamp is often deviated from the actual requirement of the user, the physiotherapy effect is affected, and even the skin of the user is possibly damaged. Disclosure of Invention The application mainly aims to provide a lamp control method, a control device, a lamp and a storage medium, which can regulate and control the lamp more accurately and intelligently, and can better meet the actual demands of users in different states. In a first aspect, the present application provides a lamp control method, including: Acquiring distance information between a target lamp and a body area to be irradiated of a user, and acquiring a body image of the user, wherein the body image comprises a target image area corresponding to the body area to be irradiated; identifying the body posture of the user based on the body image to obtain the body posture information of the user, and Identifying the target image area in the body image to acquire skin characteristic information of the body area to be irradiated; And controlling the target lamp to irradiate the body area to be irradiated based on the distance information, the body posture information and the skin characteristic information. In a second aspect, the present application also provides a control device comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements a luminaire control method as described above. In a third aspect, the present application also provides a luminaire comprising: the lamp body is used for emitting light; The shooting device is used for acquiring a body image of a user; the control device is connected with the lamp body and the shooting device. In a fourth aspect, the present application also provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of a luminaire control method as described above. The application provides a lamp control method, a control device, a lamp and a storage medium, wherein distance information between a target lamp and a body area to be irradiated of a user is acquired, and a body image of the user is acquired; the method comprises the steps of obtaining body posture information of a user by identifying the body posture of the user based on a body image, identifying a target image area in the body image to obtain skin characteristic information of the body area to be irradiated, and controlling a target lamp to irradiate the body area to be irradiated based on the distance information, the body posture information and the skin characteristic information. According to the embodiment of the application, the combination of the distance information, the body posture information and the skin characteristic information can more comprehensively and accurately identify the body state of the user, so that the lamp can be regulated and controlled more accurately and intelligently, and the actual requirements of the user in different states can be better met. Drawings In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. Fig. 1 is a schematic flow chart of steps of a lamp control method according to an embodiment of the present application; Fig. 2 is a schematic diagram of a scenario in which the lamp control method according to the present embodiment is implemented; FIG. 3 is a flow chart illustrating