CN114938556A - Automatic adjusting method and device for light of desk lamp, electronic equipment and storage medium - Google Patents

Automatic adjusting method and device for light of desk lamp, electronic equipment and storage medium Download PDF

Info

Publication number
CN114938556A
CN114938556A CN202210473424.4A CN202210473424A CN114938556A CN 114938556 A CN114938556 A CN 114938556A CN 202210473424 A CN202210473424 A CN 202210473424A CN 114938556 A CN114938556 A CN 114938556A
Authority
CN
China
Prior art keywords
light
desk lamp
position information
attention
adjusting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210473424.4A
Other languages
Chinese (zh)
Other versions
CN114938556B (en
Inventor
李爽
宁欣
张丽萍
李智伟
李卫军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Semiconductors of CAS
Original Assignee
Institute of Semiconductors of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Semiconductors of CAS filed Critical Institute of Semiconductors of CAS
Priority to CN202210473424.4A priority Critical patent/CN114938556B/en
Publication of CN114938556A publication Critical patent/CN114938556A/en
Application granted granted Critical
Publication of CN114938556B publication Critical patent/CN114938556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a method and a device for automatically adjusting light of a desk lamp, electronic equipment and a storage medium. Meanwhile, the light parameters of the desk lamp are adjusted by collecting the parameters of the ambient light and combining the preset standard light parameters under multiple situations. The invention can accurately monitor the posture of the human body in front of the desk, and can adjust the illumination area according to the posture of the human body, so that the reading and writing area is positioned in the optimal illumination area, and better illumination effect is flexibly provided for users.

Description

Automatic adjusting method and device for light of desk lamp, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of smart homes, in particular to a method and a device for automatically adjusting light of a desk lamp, electronic equipment and a storage medium.
Background
With the development of lighting technology, the types and functions of the table lamp are more and more diversified. When reading, studying or working around the desk lamp, the light irradiation range of the desk lamp is relatively small and concentrated, and the change of the posture of a user can possibly cause light shielding, so that the reading and studying comfort level is influenced, and the eyesight is seriously influenced.
In the traditional desk lamp illumination adjustment, the height or brightness of the desk lamp is set through manual adjustment or a controller, and the methods cannot be adjusted to the most appropriate illumination range in consideration of environmental changes.
Disclosure of Invention
The invention provides a desk lamp light automatic adjusting method, a desk lamp light automatic adjusting device, electronic equipment and a storage medium, which are used for solving the defect that desk lamp illumination adjustment in the prior art is not intelligent enough and realizing desk lamp automatic adjustment adaptive to environment and human body posture.
The invention provides a method for automatically adjusting light of a desk lamp, which comprises the following steps:
acquiring a posture image of the upper half of a human body and an environment light parameter;
carrying out attitude estimation according to the attitude image of the upper half of the human body to obtain the position information of the attention center point;
and adjusting the position information of the light central point of the desk lamp according to the position information of the attention central point, and adjusting the light parameters of the desk lamp according to the ambient light parameters and preset standard light parameters.
According to the automatic adjusting method for the light of the desk lamp, the posture estimation according to the posture image of the upper half of the human body comprises the following steps: and performing key point identification according to the posture image of the upper half of the human body to obtain key point position information of the head, the elbow and the wrist, and performing posture estimation according to the key point position information of the head, the elbow and the wrist.
According to the method for automatically adjusting the light of the desk lamp, the posture estimation is carried out according to the position information of the key points of the head, the elbow and the wrist, and the method comprises the following steps:
and performing posture estimation according to the position information of the key points of the head to obtain the head orientation, and performing posture estimation according to the position information of the key points of the elbow and the wrist to obtain a writing plane, wherein the writing plane is a plane where the key points of the elbow and the wrist are jointly located.
According to the automatic adjusting method for the light of the desk lamp, the step of obtaining the position information of the attention center point comprises the following steps:
and obtaining the position information of the attention center point of the user according to the intersection point of the straight line where the head faces and the writing plane.
According to the automatic adjusting method for the desk lamp light, provided by the invention, the adjustment of the position information of the central point of the desk lamp light according to the position information of the central point of attention comprises the following steps:
obtaining an attention area according to the position information of the attention center point;
and adjusting the position of the light central point of the desk lamp to fall into the attention area.
According to the automatic adjusting method for the desk lamp light provided by the invention, the position of the central point of the desk lamp light is adjusted to fall into the attention area, and then the method further comprises the following steps:
collecting updated central point position information of attention in real time and obtaining an updated attention area;
and if the light central point of the desk lamp exceeds the updated attention area, adjusting the position of the light central point of the desk lamp to coincide with the position of the updated attention central point.
According to the automatic adjusting method for the light of the desk lamp, provided by the invention, the ambient light parameters, the standard light parameters and the light parameters of the desk lamp comprise light intensity and light chromaticity.
The invention also provides an automatic light adjusting device of the desk lamp, which comprises:
the acquisition module is used for acquiring the posture image of the upper half of the human body and the ambient light parameters;
the posture estimation module is used for carrying out posture estimation according to the posture image of the upper half of the human body to obtain the position information of the attention center point;
and the adjusting module is used for adjusting the position information of the light central point of the desk lamp according to the position information of the attention central point and adjusting the light parameters of the desk lamp according to the environmental light parameters and preset standard light parameters.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the automatic adjusting method of the light of the desk lamp is realized.
The present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the automatic adjusting method for light of a table lamp as described in any one of the above.
According to the automatic desk lamp light adjusting method and device, the electronic equipment and the storage medium, the attention center point of the head of a person is obtained through real-time acquisition of human body posture information and posture estimation, and the position of the center point of the desk lamp light is adjusted through the position of the attention center point. Meanwhile, the light parameters of the desk lamp are adjusted by collecting the parameters of the ambient light and combining the preset standard light parameters under multiple situations. The invention can accurately monitor the posture of the human body in front of the desk, and can adjust the illumination area according to the posture of the human body, so that the reading and writing area is positioned in the optimal illumination area, and better illumination effect is flexibly provided for users.
Drawings
In order to more clearly illustrate the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic flow chart of a method for automatically adjusting the light of a desk lamp according to the present invention;
FIG. 2 is a schematic view of a flow chart of adjusting the position of the light center point of the desk lamp according to the present invention;
FIG. 3 is a schematic structural diagram of an automatic light adjustment device for a desk lamp according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for automatically adjusting the light of the desk lamp of the invention is described below with reference to fig. 1, and comprises the following steps:
step 101, collecting posture images of the upper half of a human body and environmental light parameters;
in addition, in this embodiment, the camera is used to capture the picture of the upper body of the user, where the picture includes the face image and the posture image of the upper body of the user. The ambient light parameters can be collected through a photosensitive material on the desk lamp and can also be collected according to a photosensitive sensor.
102, carrying out attitude estimation according to the attitude picture of the upper half of the human body to obtain the position information of the attention center point;
in this embodiment, the attention direction refers to the direction of the head of the user when reading, writing, or working, and the attention center point refers to a point at which the head direction meets the working surface plane, and the position of the attention center point can be determined by estimating the posture of the upper body of the human body by posture information, thereby obtaining the posture of the head and the posture of the elbow bend.
And 103, adjusting the position information of the light central point of the desk lamp according to the position information of the attention central point, and adjusting the light parameters of the desk lamp according to the ambient light parameters and preset standard light parameters.
It should be noted that, because the ambient light parameters are collected in real time, the adjustment of the light parameters of the table lamp can be adjusted in real time by the method, and the purpose of accurate adjustment can be achieved by adjusting in real time according to the preset standard of the standard light parameters.
According to the automatic desk lamp light adjusting method, the human body attention information is confirmed through a human body posture estimation algorithm and a head posture estimation algorithm, and the lighting area of the desk lamp and the light parameters of the desk lamp are adjusted by combining the ambient light parameters. Let light reach the most comfortable state, the travelling comfort of the use of great improvement desk lamp provides convenience for the user, has also played fine guard action to user's eyes simultaneously, and then lets its better demand that satisfies the user.
In at least one embodiment of the present invention, the performing pose estimation based on the pose image of the upper body of the human body includes: and performing key point identification according to the posture image of the upper half of the human body to obtain key point position information of the head, the elbow and the wrist, and performing posture estimation according to the key point position information of the head, the elbow and the wrist.
It should be noted that the posture estimation method includes a head posture detection method for the head and also includes a posture detection method for the elbow and the wrist. The head posture detection method comprises two methods, one method is that a face key point is obtained through a face image, the face key point is converted into a head posture direction through solvePnP, and the head orientation is represented by an euler angle. The other method is to directly input the face image into a Convolutional Neural Network (CNN) to obtain the head posture direction. For example, the YOLOV3 detection model was chosen, which is able to learn the labeled face detection box and five key feature points: the central points of the left and right eyes, the nose, and the left and right corners of the mouth. Inputting a test image into the trained Yolov3 model to obtain a marked face frame and feature key points, converting the extracted feature points from two-dimensional coordinates into three-dimensional coordinate information by combining a PnP algorithm, obtaining a rotation matrix, and calculating the degree of freedom of the head: euler angles on yaw, pitch, roll, thereby estimating the pose of the head in the camera coordinate system.
Because three points determine a plane, in the method for detecting the postures of the elbow and the wrist, the coordinates of any three joint points in the right elbow Relbow, the right wrist RWRrist, the left elbow LElbow and the left wrist LWrist need to be acquired to obtain a writing plane.
In at least one embodiment of the invention, the pose estimation according to the key point position information of the head, the elbow and the wrist comprises the following steps:
and performing posture estimation according to the position information of the key points of the head to obtain the head orientation, and performing posture estimation according to the position information of the key points of the elbow and the wrist to obtain a writing plane, wherein the writing plane is a plane where the key points of the elbow and the wrist are jointly located.
It should be noted that, in this embodiment, the straight line where the head faces is l, the plane where the writing plane is located is α, and the position a of the attention center point of the person on the writing plane can be determined according to l and α.
In at least one embodiment of the present invention, the obtaining the attention center point location information includes:
and obtaining the position information of the attention center point of the user according to the intersection point of the straight line where the head faces and the writing plane.
The intersection of l and α is a.
As shown in fig. 2, in at least one embodiment of the present invention, the adjusting the position information of the light center point of the desk lamp according to the position information of the attention center point includes:
step 201, obtaining an attention area according to the position information of the attention center point;
step 202, adjusting the position of the light center point of the desk lamp to fall into the attention area.
It should be noted that the attention area β is an area defined by combining the position of the attention center point and the parameters of the desk lamp itself, and the light center point of the desk lamp can ensure the comfort of the user within this range. According to the embodiment of the invention, the position B of the central point of the light ray on the writing plane is within beta by adjusting the light ray irradiation range.
In at least one embodiment of the present invention, the adjusting the position of the light center point of the desk lamp falls within the attention area, and then further includes:
collecting updated attention center point position information in real time and obtaining an updated attention area;
and if the light central point of the desk lamp exceeds the updated attention area, adjusting the position of the light central point of the desk lamp to be coincident with the position of the updated attention central point.
It should be noted that the identification process of the light center point of the desk lamp is performed in real time, and if the attention center is changed, whether readjustment is needed is considered, so as to avoid visual fatigue caused by too frequent adjustment.
In at least one embodiment of the present invention, the attention area is a circular area with the center point of attention as a center and the irradiation radius of the desk lamp as a radius.
In addition, considering that the bulb of a general desk lamp is circular, the attention area is also circular, and if the shape of the illumination area changes due to the change of the shape of the bulb, the shape of the attention area changes accordingly.
In at least one embodiment of the present invention, the ambient light parameter, the standard light parameter and the desk lamp light parameter include light intensity and light chromaticity.
It should be noted that, in the embodiment of the present invention, the standard light parameter is a preset light parameter that the eyes of the user feel comfortable or a light parameter that is recognized by an expert as healthy eyes. The light intensity includes multiple levels of strong light to weak light, and the light chromaticity includes multiple levels of cold light to warm light.
In at least one embodiment of the present invention, the light intensity of the table lamp is adjusted according to the current light intensity and a preset standard light intensity range, for example, by adjusting the light intensity. Before the light intensity of the table lamp light is adjusted, the table lamp use scene selected by a user is received, the standard light intensity range associated with the table lamp use scene is obtained, the environment light parameters are collected to set the table lamp light parameters, and therefore the associated light intensity range can be obtained according to the table lamp use scene selected by the user, and the accuracy of the table lamp light adjustment is achieved. For example, the healthy eye light intensity of the user reading and the user using the computer is different, and if the user selects the "computer mode", the standard light intensity range associated with the "computer mode" is obtained to set the light parameter of the desk lamp.
When adjusting the light intensity of desk lamp light, preferably, when environment light intensity is less than standard light intensity scope minimum, progressively improve the light intensity of desk lamp, be located standard light intensity scope until environment light intensity, when environment light intensity is higher than standard light intensity scope maximum, progressively reduce desk lamp light intensity, the environment light intensity that gathers until the sensor is located standard light intensity scope, thereby progressively adjust desk lamp light to suitable light intensity, light variation in-process comfort level has been guaranteed, the intelligent degree of desk lamp has been improved.
In at least one embodiment of the invention, the standard light parameters of the invention can be customized and adjusted according to personal habits, the adjusted parameter main control module can match the type and characteristics of the reading object at that time, the watching state of the user and the ambient light to acquire data, record and learn the data, and can automatically adjust according to the record when being used next time without self-adjustment of the user.
In an embodiment of the invention, the method for adjusting the light of the desk lamp comprises the steps of firstly adjusting a lighting area of the desk lamp through a central point of attention, then collecting ambient light parameters, and adjusting the light parameters of the desk lamp according to the ambient light parameters and preset standard light parameters.
It should be noted that, in the embodiment of the present invention, the photosensitive sensor is disposed on the desk lamp, the photosensitive sensor detects light in the room, and then the light adjusting device adjusts the light parameters of the desk lamp according to the result detected by the photosensitive sensor. Because the regional adjustment back of polishing of desk lamp, can produce the error to the collection of ambient light, if consider to adjust the precision, the regional of polishing is adjusted earlier to this embodiment method, then adjusts the light parameter.
In another embodiment of the present invention, the method for adjusting the light of the desk lamp first collects the ambient light parameters, adjusts the light parameters of the desk lamp according to the ambient light parameters and the preset standard light parameters, and then adjusts the lighting area of the desk lamp by obtaining the attention center point.
It should be noted that, because the bright irradiation range of the desk lamp is relatively small and centralized, the change of the illumination angle of the desk lamp has no influence on the user compared with the light intensity and chromaticity of the desk lamp during the use process, if the comfort of the user is considered, the light parameters are adjusted first, and then the lighting area is adjusted.
The automatic adjusting device for table lamp light according to the present invention is described below, and the automatic adjusting device for table lamp light described below and the automatic adjusting method for table lamp light described above may be referred to in correspondence. As shown in fig. 3, the automatic light adjusting device of the desk lamp comprises:
the acquisition module 301 is used for acquiring posture images of the upper half of the human body and ambient light parameters;
the posture estimation module 302 is configured to perform posture estimation according to the posture image of the upper half of the human body to obtain the position information of the attention center point;
and the adjusting module 303 is configured to adjust the position information of the light center point of the desk lamp according to the position information of the attention center point, and adjust the light parameters of the desk lamp according to the ambient light parameters and preset standard light parameters.
The automatic desk lamp light adjusting device confirms the human attention information through the human body posture estimation and head posture estimation algorithm and adjusts the lighting area of the desk lamp and the desk lamp light parameters by combining the environment light parameters. Let light reach the most comfortable state, the travelling comfort of the use of great improvement desk lamp provides convenience for the user, has also played fine guard action to user's eyes simultaneously, and then lets its better demand that satisfies the user.
In an embodiment of the present invention, the device further includes a camera unit, the camera unit can include two cameras or one camera, and if the camera unit is two cameras, the two cameras are respectively disposed at two ends of the desk lamp one above the other, so as to respectively shoot the user from the upper side and the lower side. If the camera shooting unit is a camera, the camera shooting unit is arranged below a lampshade of the desk lamp and is right opposite to a user to shoot.
It should be noted that if the camera unit includes two cameras, coordinate system matching needs to be performed on the two cameras before acquisition.
In an embodiment of the present invention, the performing pose estimation according to the pose image of the upper body of the human body in the pose estimation module 302 includes: and performing key point identification according to the posture image of the upper half of the human body to obtain key point position information of the head, the elbow and the wrist, and performing posture estimation according to the key point position information of the head, the elbow and the wrist.
The device provided by the embodiment of the invention can be used for carrying out attitude estimation after extracting the key points, the key point detection algorithm is mature in the target detection method, only the information of the head, the elbow and the wrist is selected for extraction, and the key points at other positions are not extracted, so that the complexity of the detection algorithm can be reduced.
In an embodiment of the present invention, the performing pose estimation in the pose estimation module 302 according to the key point position information of the head, elbow and wrist includes:
and performing posture estimation according to the position information of the key points of the head to obtain the head orientation, and performing posture estimation according to the position information of the key points of the elbow and the wrist to obtain a writing plane, wherein the writing plane is a plane where the key points of the elbow and the wrist are jointly located.
In one embodiment of the present invention, the pose estimation module 302 obtains the attention center point location information, including:
and obtaining the position information of the attention center point of the user according to the intersection point of the straight line where the head faces and the writing plane.
The device provided by the embodiment of the invention does not need to identify environmental information such as desks, chairs, table tops and sundries, only needs to identify the human body posture to determine the intersection point of the attention direction of a person and the table top during reading as the attention point, and solves the complex identification problem through a convenient, rapid and easy-to-implement method.
In an embodiment of the present invention, the posture estimation module 302 adjusts the position information of the light center point of the desk lamp according to the position information of the attention center point, including:
obtaining an attention area according to the position information of the attention center point;
and adjusting the position of the light central point of the desk lamp to fall into the attention area.
According to the device provided by the embodiment of the invention, the attention area is arranged, the position of the light central point of the desk lamp is locked in the attention area, the light central point of the desk lamp is the point with the strongest light of the desk lamp, as long as the light central point of the desk lamp is in the attention area, the light requirement of a user can reach the set range, the arrangement of the attention area can improve the flexibility of regulation of the desk lamp, the energy-saving requirement of a bulb of the desk lamp is further considered, and the maximum utilization of a small-area light source is realized.
In an embodiment of the present invention, the adjusting module 303 adjusts a position of a central point of a light ray of the desk lamp to fall within the attention area, and then further includes:
collecting updated attention center point position information in real time and obtaining an updated attention area;
and if the light central point of the desk lamp exceeds the updated attention area, adjusting the position of the light central point of the desk lamp to be coincident with the position of the updated attention central point.
The device of the embodiment of the invention sets the attention area, ensures that frequent adjustment is not carried out when the change of the attention center point is changed but within a certain limit, but adjusts the position of the light center point of the desk lamp to coincide with the updated position of the attention center point once the change range of the attention center point exceeds the limit, reduces the redundant steps of the adjustment process and realizes simple, quick and convenient light adjustment.
In at least one embodiment of the present invention, the attention area is a circular area with the center point of attention as a center and the irradiation radius of the table lamp as a radius.
It should be noted that, compared with the existing desk lamp, the desk lamp in the embodiment of the present invention can provide lighting services following the posture and actions of a person, so that the desk lamp in the embodiment of the present invention has a smaller illumination range than the existing desk lamp, and can use a bulb with a low wattage to achieve the effect of energy saving.
In an embodiment of the invention, the ambient light parameter, the standard light parameter and the desk lamp light parameter include light intensity and light chromaticity.
It should be noted that the light parameters of the desk lamp can be set into other categories according to the requirement, such as luminous flux, illuminance, color rendering property, and the like.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform a table lamp light autotuning method comprising:
acquiring a posture image of the upper half of a human body and an environment light parameter;
carrying out attitude estimation according to the attitude image of the upper half of the human body to obtain the position information of the attention center point;
and adjusting the position information of the light central point of the desk lamp according to the position information of the attention central point, and adjusting the light parameters of the desk lamp according to the ambient light parameters and preset standard light parameters.
The electronic equipment acquires the attention center point of the head of a person through real-time acquisition of human body posture information and posture estimation, and then adjusts the position of the center point of the light of the desk lamp according to the position of the attention center point. Meanwhile, the light parameters of the desk lamp are adjusted by collecting the parameters of the ambient light and combining the preset standard light parameters under multiple situations. The invention can accurately monitor the posture of the human body in front of the desk, and can adjust the illumination area according to the posture of the human body, so that the reading and writing area is positioned in the optimal illumination area, and better illumination effect is flexibly provided for users.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention further provides a computer program product, where the computer program product includes a computer program, the computer program may be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, a computer can execute the automatic adjusting method for light of a desk lamp provided by the above methods, and the method includes:
acquiring a posture image of the upper half of a human body and an environment light parameter;
carrying out attitude estimation according to the attitude image of the upper half of the human body to obtain the position information of the attention center point;
and adjusting the position information of the light central point of the desk lamp according to the position information of the attention central point, and adjusting the light parameters of the desk lamp according to the ambient light parameters and preset standard light parameters.
The computer program product of the embodiment of the invention acquires the attention center point of the head of a person through real-time acquisition of human body posture information and posture estimation, and further adjusts the position of the center point of the light of the desk lamp through the position of the attention center point. Meanwhile, the light parameters of the desk lamp are adjusted by collecting the parameters of the ambient light and combining the preset standard light parameters under multiple situations. The invention can accurately monitor the posture of the human body in front of the desk, and can adjust the illumination area according to the posture of the human body, so that the reading and writing area is positioned in the optimal illumination area, and better illumination effect is flexibly provided for users.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the automatic adjusting method of the desk lamp light provided by the above methods, the method including:
acquiring posture images and environmental light parameters of the upper half of a human body;
carrying out attitude estimation according to the attitude image of the upper half of the human body to obtain the position information of the attention center point;
and adjusting the position information of the light central point of the desk lamp according to the position information of the attention central point, and adjusting the light parameters of the desk lamp according to the ambient light parameters and preset standard light parameters.
The storage medium of the embodiment of the invention acquires the attention center point of the head of a person through real-time acquisition of human body posture information and posture estimation, and then adjusts the position of the center point of the light of the desk lamp through the position of the attention center point. Meanwhile, the light parameters of the desk lamp are adjusted by collecting the parameters of the ambient light and combining the preset standard light parameters under multiple situations. The invention can accurately monitor the posture of a human body in front of a desk, and can adjust the illumination area according to the posture of the human body, so that the reading and writing area is positioned in the optimal illumination area, and better illumination effect is flexibly provided for a user.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An automatic adjusting method for light of a desk lamp is characterized by comprising the following steps:
acquiring a posture image of the upper half of a human body and an environment light parameter;
carrying out attitude estimation according to the attitude image of the upper half of the human body to obtain the position information of the attention center point;
and adjusting the position information of the light central point of the desk lamp according to the position information of the attention central point, and adjusting the light parameters of the desk lamp according to the ambient light parameters and preset standard light parameters.
2. The automatic adjusting method for desk lamp light according to claim 1, wherein the performing posture estimation according to the posture image of the upper half of the human body comprises: and performing key point identification according to the posture image of the upper half of the human body to obtain key point position information of the head, the elbow and the wrist, and performing posture estimation according to the key point position information of the head, the elbow and the wrist.
3. The desk lamp light automatic adjusting method as claimed in claim 2, wherein the posture estimation according to the key point position information of the head, elbow and wrist comprises:
and performing posture estimation according to the position information of the key points of the head to obtain the head orientation, and performing posture estimation according to the position information of the key points of the elbow and the wrist to obtain a writing plane, wherein the writing plane is a plane where the key points of the elbow and the wrist are jointly located.
4. The method for automatically adjusting light of a desk lamp as set forth in claim 3, wherein the obtaining the information about the position of the center point of attention comprises:
and obtaining the position information of the attention center point of the user according to the intersection point of the straight line where the head faces and the writing plane.
5. The method as claimed in any one of claims 1 to 4, wherein the adjusting the position information of the center point of the desk lamp according to the position information of the center point of attention comprises:
acquiring an attention area according to the position information of the attention center point;
and adjusting the position of the light central point of the desk lamp to fall into the attention area.
6. The method for automatically adjusting the light of a desk lamp according to claim 5, wherein the adjusting the position of the central point of the light of the desk lamp falls within the attention area further comprises:
collecting updated central point position information of attention in real time and obtaining an updated attention area;
and if the light central point of the desk lamp exceeds the updated attention area, adjusting the position of the light central point of the desk lamp to be coincident with the position of the updated attention central point.
7. The method as claimed in any one of claims 1 to 4, wherein the ambient light parameters, the standard light parameters and the table lamp light parameters include light intensity and light chromaticity.
8. The utility model provides a desk lamp light automatic regulating apparatus which characterized in that includes:
the acquisition module is used for acquiring the posture image of the upper half of the human body and the ambient light parameters;
the posture estimation module is used for carrying out posture estimation according to the posture image of the upper half of the human body to obtain the position information of the attention center point;
and the adjusting module is used for adjusting the position information of the light central point of the desk lamp according to the position information of the attention central point and adjusting the light parameters of the desk lamp according to the environmental light parameters and preset standard light parameters.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the automatic adjusting method of the light of the desk lamp as claimed in any one of claims 1 to 7.
10. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the automatic adjusting method of the light of the desk lamp according to any one of claims 1 to 7.
CN202210473424.4A 2022-04-29 2022-04-29 Automatic adjusting method and device for light of desk lamp, electronic equipment and storage medium Active CN114938556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210473424.4A CN114938556B (en) 2022-04-29 2022-04-29 Automatic adjusting method and device for light of desk lamp, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210473424.4A CN114938556B (en) 2022-04-29 2022-04-29 Automatic adjusting method and device for light of desk lamp, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114938556A true CN114938556A (en) 2022-08-23
CN114938556B CN114938556B (en) 2023-11-24

Family

ID=82864268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210473424.4A Active CN114938556B (en) 2022-04-29 2022-04-29 Automatic adjusting method and device for light of desk lamp, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114938556B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117042257A (en) * 2023-09-21 2023-11-10 永林电子股份有限公司 Multistage dimming LED lamp adjustment control method and device and electronic equipment thereof
CN117267641A (en) * 2023-11-23 2023-12-22 佛山市南海区云路灯饰电器有限公司 Intelligent desk lamp with anion generator

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140160307A1 (en) * 2012-12-10 2014-06-12 Qualcomm Incorporated Image capture device in a networked environment
CN104747970A (en) * 2015-03-23 2015-07-01 东华大学 Multifunctional intelligent table lamp
CN105953125A (en) * 2016-06-08 2016-09-21 杭州鸿雁电器有限公司 Self-tracking type desk lamp and method for supplying lighting in self-tracking mode
CN108596972A (en) * 2018-04-28 2018-09-28 上海与德科技有限公司 A kind of light adjusting method, device, intelligent desk lamp and storage medium
CN109041366A (en) * 2018-06-27 2018-12-18 广东小天才科技有限公司 Desk lamp light luminance adjusting method, device, equipment and storage medium
CN109587875A (en) * 2018-11-16 2019-04-05 厦门盈趣科技股份有限公司 A kind of intelligent desk lamp and its adjusting method
US20190188533A1 (en) * 2017-12-19 2019-06-20 Massachusetts Institute Of Technology Pose estimation
CN110502039A (en) * 2019-08-26 2019-11-26 太仓秦风广告传媒有限公司 A kind of dance & art light automatic method and its system based on limbs identification
CN111401382A (en) * 2019-12-04 2020-07-10 浙江凯耀照明有限责任公司 Method for automatically detecting camera range and desk lamp using same
CN211475595U (en) * 2019-12-06 2020-09-11 科大讯飞股份有限公司 Intelligent desk lamp
CN211875898U (en) * 2020-05-18 2020-11-06 深圳云联智能光电科技有限公司 Table lamp capable of being automatically adjusted along with reading area
CN111928136A (en) * 2020-07-16 2020-11-13 董宇青 Adjusting desk lamp and adjusting control method
CN111988894A (en) * 2019-05-21 2020-11-24 广东小天才科技有限公司 Lamplight adjusting method and device and storage medium
CN112181130A (en) * 2019-07-03 2021-01-05 广东小天才科技有限公司 Method and system for automatically controlling light source
CN112469178A (en) * 2020-12-04 2021-03-09 珠海格力电器股份有限公司 Desk lamp and control method of desk lamp light source
CN113190119A (en) * 2021-05-06 2021-07-30 Tcl通讯(宁波)有限公司 Mobile terminal screen lighting control method and device, mobile terminal and storage medium
CN114022918A (en) * 2021-07-27 2022-02-08 华东理工大学 Multi-posture-based learner excitement state label algorithm

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140160307A1 (en) * 2012-12-10 2014-06-12 Qualcomm Incorporated Image capture device in a networked environment
CN104747970A (en) * 2015-03-23 2015-07-01 东华大学 Multifunctional intelligent table lamp
CN105953125A (en) * 2016-06-08 2016-09-21 杭州鸿雁电器有限公司 Self-tracking type desk lamp and method for supplying lighting in self-tracking mode
US20190188533A1 (en) * 2017-12-19 2019-06-20 Massachusetts Institute Of Technology Pose estimation
CN108596972A (en) * 2018-04-28 2018-09-28 上海与德科技有限公司 A kind of light adjusting method, device, intelligent desk lamp and storage medium
CN109041366A (en) * 2018-06-27 2018-12-18 广东小天才科技有限公司 Desk lamp light luminance adjusting method, device, equipment and storage medium
CN109587875A (en) * 2018-11-16 2019-04-05 厦门盈趣科技股份有限公司 A kind of intelligent desk lamp and its adjusting method
CN111988894A (en) * 2019-05-21 2020-11-24 广东小天才科技有限公司 Lamplight adjusting method and device and storage medium
CN112181130A (en) * 2019-07-03 2021-01-05 广东小天才科技有限公司 Method and system for automatically controlling light source
CN110502039A (en) * 2019-08-26 2019-11-26 太仓秦风广告传媒有限公司 A kind of dance & art light automatic method and its system based on limbs identification
CN111401382A (en) * 2019-12-04 2020-07-10 浙江凯耀照明有限责任公司 Method for automatically detecting camera range and desk lamp using same
CN211475595U (en) * 2019-12-06 2020-09-11 科大讯飞股份有限公司 Intelligent desk lamp
CN211875898U (en) * 2020-05-18 2020-11-06 深圳云联智能光电科技有限公司 Table lamp capable of being automatically adjusted along with reading area
CN111928136A (en) * 2020-07-16 2020-11-13 董宇青 Adjusting desk lamp and adjusting control method
CN112469178A (en) * 2020-12-04 2021-03-09 珠海格力电器股份有限公司 Desk lamp and control method of desk lamp light source
CN113190119A (en) * 2021-05-06 2021-07-30 Tcl通讯(宁波)有限公司 Mobile terminal screen lighting control method and device, mobile terminal and storage medium
CN114022918A (en) * 2021-07-27 2022-02-08 华东理工大学 Multi-posture-based learner excitement state label algorithm

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张鸣真;: "办公室的健康盲点", 人人健康, no. 16, pages 169 - 171 *
田军委;肖清林;张波;马林;肖晨光;: "智能护眼台灯设计", 电子设计工程, no. 17, pages 40 - 41 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117042257A (en) * 2023-09-21 2023-11-10 永林电子股份有限公司 Multistage dimming LED lamp adjustment control method and device and electronic equipment thereof
CN117042257B (en) * 2023-09-21 2024-02-06 永林电子股份有限公司 Multistage dimming LED lamp adjustment control method and device and electronic equipment thereof
CN117267641A (en) * 2023-11-23 2023-12-22 佛山市南海区云路灯饰电器有限公司 Intelligent desk lamp with anion generator
CN117267641B (en) * 2023-11-23 2024-01-26 佛山市南海区云路灯饰电器有限公司 Intelligent desk lamp with anion generator

Also Published As

Publication number Publication date
CN114938556B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN105050247B (en) Light intelligent regulating system and its method based on expression Model Identification
CN114938556B (en) Automatic adjusting method and device for light of desk lamp, electronic equipment and storage medium
CN107193383B (en) Secondary sight tracking method based on face orientation constraint
CN107606512B (en) Intelligent desk lamp, and method and device for reminding user of sitting posture based on intelligent desk lamp
CN103558910B (en) A kind of intelligent display system of automatic tracking head pose
CN107392120B (en) Attention intelligent supervision method based on sight line estimation
US8708490B2 (en) Method and a device for automatically measuring at least one refractive characteristic of both eyes of an individual
CN110168562B (en) Depth-based control method, depth-based control device and electronic device
CN103908063A (en) Intelligent desk with sitting posture correcting function and correcting method implemented by intelligent desk
CN110740549A (en) system and method for automatically adjusting illumination area and illumination intensity of illumination device by artificial intelligence technology
CN112666705A (en) Eye movement tracking device and eye movement tracking method
CN109948435A (en) Sitting posture prompting method and device
CN112951138B (en) Method for adaptively adjusting brightness of flat panel display screen
CN107436681A (en) Automatically adjust the mobile terminal and its method of the display size of word
CN108234874A (en) The adjusting method and regulating device of the imaging precision of body-sensing camera
CN111447497A (en) Intelligent playing device and energy-saving control method thereof
CN110348344B (en) Special facial expression recognition method based on two-dimensional and three-dimensional fusion
CN103908066A (en) Intelligent desk with sitting posture correcting function and correcting method implemented by intelligent desk
CN115562490A (en) Cross-screen eye movement interaction method and system for aircraft cockpit based on deep learning
CN113160260B (en) Head-eye double-channel intelligent man-machine interaction system and operation method
CN107145217A (en) Intelligent interactive system and intelligent interactive method
CN112839414A (en) Lighting device and control method thereof
CN204636924U (en) A kind of teledata for visual performance Optimized Service exchanges and control system
CN112330753A (en) Target detection method of augmented reality system
CN208000731U (en) The eyeshield escope of automatic regulating lightness

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant