CN112235912B - Illumination adjusting method and system based on user picture - Google Patents

Illumination adjusting method and system based on user picture Download PDF

Info

Publication number
CN112235912B
CN112235912B CN201910570166.XA CN201910570166A CN112235912B CN 112235912 B CN112235912 B CN 112235912B CN 201910570166 A CN201910570166 A CN 201910570166A CN 112235912 B CN112235912 B CN 112235912B
Authority
CN
China
Prior art keywords
shadow
picture
lamp source
user
auxiliary lamp
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.)
Active
Application number
CN201910570166.XA
Other languages
Chinese (zh)
Other versions
CN112235912A (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910570166.XA priority Critical patent/CN112235912B/en
Publication of CN112235912A publication Critical patent/CN112235912A/en
Application granted granted Critical
Publication of CN112235912B publication Critical patent/CN112235912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21VFUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
    • F21V23/00Arrangement of electric circuit elements in or on lighting devices
    • F21V23/04Arrangement of electric circuit elements in or on lighting devices the elements being switches
    • F21V23/0442Arrangement of electric circuit elements in or on lighting devices the elements being switches activated by means of a sensor, e.g. motion or photodetectors
    • F21V23/0471Arrangement of electric circuit elements in or on lighting devices the elements being switches activated by means of a sensor, e.g. motion or photodetectors the sensor detecting the proximity, the presence or the movement of an object or a person
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a lighting adjusting method and system based on user pictures, wherein the method comprises the following steps: acquiring a starting instruction, and starting a lamp source according to the starting instruction; after the light source is turned on, acquiring a learning picture; when the shadow exists in the learning picture, analyzing the position height of the shadow according to the learning picture; analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height; calculating the shadow angle of the shadow according to the learning picture; calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle; and starting the target auxiliary lamp source light bead, and adjusting the target auxiliary lamp source light bead according to the brightness level. The invention analyzes the position and height of the shadow based on the learning picture, selects the corresponding target auxiliary lamp source light bead, and then calculates the brightness grade of the target auxiliary lamp source light bead, thereby achieving targeted light supplement and eliminating the lighting shadow.

Description

Illumination adjusting method and system based on user picture
Technical Field
The invention relates to the field of intelligent devices, in particular to a lighting adjusting method and system based on user pictures.
Background
The desk lamp is a necessity for a user to learn a scene, but due to the fact that the body of the user or other objects are shielded, shadow exists more or less when the desk lamp is used, and therefore the user often tends to lie low to see, and the eyesight of the user is affected.
The current solution is to detect the brightness information of the environment, and then adjust the brightness information, such as enhancing the illumination intensity, so as to reduce the existence of the shadow to some extent. However, on the one hand, the brightness of only one lamp bead or all the lamp beads of a general desk lamp is uniformly adjusted, so that the brightness of an area which does not generate a shadow originally is too high when the shadow is eliminated by enhancing the illumination intensity, and the bad influence on the eyesight of a user is also caused. On the other hand, part of the table lamps are only provided with the main lamp sources, and no good light supplementing measures are provided for shadow areas where light rays emitted by the main lamp sources are blocked.
Therefore, a lighting adjustment method and system based on user pictures are needed to eliminate shadows in user learning areas and improve user experience.
Disclosure of Invention
The invention aims to provide a lighting adjusting method and system based on a user picture, which can be used for analyzing the position and height of a shadow based on a learning picture, selecting a corresponding target auxiliary lamp source light bead and then calculating the brightness level of the target auxiliary lamp source light bead, thereby achieving targeted light supplement and eliminating the lighting shadow.
The technical scheme provided by the invention is as follows:
the invention provides a lighting adjusting method based on a user picture, which comprises the following steps:
acquiring a starting instruction, and starting a lamp source according to the starting instruction;
after the light source is turned on, acquiring a learning picture;
when the shadow exists in the learning picture, analyzing the position height of the shadow according to the learning picture;
analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height;
calculating the shadow angle of the shadow according to the learning picture;
calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle;
and starting the target auxiliary lamp source light bead, and adjusting the target auxiliary lamp source light bead according to the brightness level.
Further, obtaining a turn-on command, before turning on the light source according to the turn-on command, includes:
obtaining ambient brightness information;
when the ambient brightness information is less than or equal to the preset brightness information, acquiring human body induction information;
analyzing the human body induction information;
and when the distance between the user and the user is analyzed to be smaller than or equal to the preset distance, sending an opening instruction.
Further, when there is a shadow in the learning picture, analyzing the position height of the shadow according to the learning picture specifically includes:
when the shadow exists in the learning picture, obtaining a user picture;
identifying an effective shadow of the shadows according to the user picture;
analyzing the position height of the effective shadow;
calculating the shadow angle of the shadow according to the learning picture specifically comprises:
and calculating the shadow angle of the effective shadow according to the learning picture.
Further, analyzing the position height of the effective shadow specifically includes:
acquiring the sight direction and the environmental information of the user according to the user picture;
identifying a learning plane of the user according to the sight line direction and the environment information, wherein the learning plane is a position viewed by the current sight line of the user;
and determining the position height of the effective shadow according to the learning plane.
Further, calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle specifically includes:
when only one target auxiliary lamp source light bead exists, calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle;
when a plurality of target auxiliary lamp source light beads exist, analyzing target shadows corresponding to the target auxiliary lamp source light beads;
and respectively calculating the brightness level of each target auxiliary lamp source light bead according to the shadow angle corresponding to the target shadow.
The invention also provides a lighting adjustment system based on the user picture, which comprises:
the starting module is used for acquiring a starting instruction and starting the light source according to the starting instruction;
the picture acquisition module acquires a learning picture after the starting module starts the light source;
the position analysis module is used for analyzing the position height of the shadow according to the learning picture acquired by the picture acquisition module when the shadow exists in the learning picture acquired by the picture acquisition module;
the processing module is used for analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height obtained by the position analysis module;
the angle analysis module is used for calculating the shadow angle of the shadow according to the learning picture acquired by the picture acquisition module;
the brightness analysis module is used for calculating the brightness level of the target auxiliary lamp source light bead determined by the processing module according to the shadow angle obtained by the angle analysis module;
and the adjusting module is used for starting the target auxiliary lamp source light bead and adjusting the target auxiliary lamp source light bead according to the brightness grade obtained by the brightness analyzing module.
Further, the method also comprises the following steps:
the brightness information acquisition module is used for acquiring the ambient brightness information;
the sensing information acquisition module is used for acquiring human body sensing information when the ambient brightness information acquired by the brightness information acquisition module is less than or equal to preset brightness information;
the induction information analysis module is used for analyzing the human body induction information acquired by the induction information acquisition module;
and the instruction sending module is used for sending a starting instruction when the sensing information analysis module analyzes that the distance between the user and the instruction sending module is smaller than or equal to a preset distance.
Further, the location analysis module specifically includes:
the picture acquisition unit is used for acquiring a user picture when the shadow exists in the learning picture acquired by the picture acquisition module;
a shadow identification unit which identifies effective shadows in the shadows according to the user pictures acquired by the picture acquisition unit;
a position analyzing unit that analyzes a position height of the effective shadow recognized by the shadow recognizing unit;
the angle analysis module specifically comprises:
and the angle analysis unit is used for calculating the shadow angle of the effective shadow according to the learning picture acquired by the picture acquisition module.
Further, the position analyzing unit specifically includes:
the information acquisition subunit is used for acquiring the sight direction and the environmental information of the user according to the user picture acquired by the picture acquisition module;
the identification subunit identifies a learning plane of the user according to the sight line direction and the environment information acquired by the information acquisition subunit, wherein the learning plane is a position viewed by the current sight line of the user;
a position analyzing subunit that determines a position height of the effective shadow according to the learning plane identified by the identifying subunit.
Further, the brightness analysis module specifically includes:
the brightness analysis unit is used for calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle when only one target auxiliary lamp source light bead is determined by the processing module;
the brightness analysis unit is used for analyzing the target shadow corresponding to each target auxiliary lamp source light bead when the processing module determines that a plurality of target auxiliary lamp source light beads exist;
and the calculating unit is used for respectively calculating the brightness grade of each target auxiliary lamp source light bead according to the shadow angle corresponding to the target shadow obtained by the brightness analyzing unit.
The lighting adjustment method and system based on the user picture can bring at least one of the following beneficial effects:
1. in the invention, the position height of the shadow is analyzed based on the learning picture, the corresponding target auxiliary lamp source light bead is selected, and then the brightness grade of the target auxiliary lamp source light bead is calculated, thereby achieving targeted light supplement and eliminating the lighting shadow.
2. According to the intelligent device and the control method thereof, whether the intelligent device needs to be started or not is analyzed by detecting the ambient brightness information of the current environment and the human body induction information, so that the intelligent device is intelligently started, a user can conveniently use the intelligent device under the condition that hands are inconvenient, and the convenience of the user in using the intelligent device is improved.
3. According to the invention, the position height of the effective shadow is determined by combining the sight direction of the user and the environmental information, so that a target auxiliary lamp source light bead for light supplement is conveniently determined subsequently, then the light supplement is performed on the shadow area in a targeted manner, and the illumination shadow is eliminated.
4. In the invention, the brightness levels of the target auxiliary lamp source light beads are calculated according to the target shadows of the determined target auxiliary lamp source light beads with different quantities according to the respective corresponding supplementary lighting, so that the supplementary lighting is performed pertinently according to respective situations.
Drawings
The above features, technical features, advantages and implementations of a method and system for adjusting illumination based on a user's picture will be further described in the following preferred embodiments in a clearly understandable manner with reference to the accompanying drawings.
FIG. 1 is a flow chart of one embodiment of a method for user picture based illumination adjustment of the present invention;
FIG. 2 is a schematic diagram of a smart device smart table lamp;
FIG. 3 is a flow chart of another embodiment of a method for user picture based illumination adjustment of the present invention;
FIG. 4 is a flow chart of another embodiment of a method for user picture based illumination adjustment of the present invention;
FIG. 5 is a flow chart of another embodiment of a method for user picture based illumination adjustment of the present invention;
FIG. 6 is a schematic diagram of an embodiment of a user picture based lighting adjustment system of the present invention;
fig. 7 is a schematic structural diagram of another embodiment of the lighting adjustment system based on user pictures according to the present invention.
The reference numbers illustrate:
1 lighting device 2 connecting rod 3 base
1000 illumination adjustment system based on user pictures
0100 brightness information acquisition module 0200 induction information acquisition module 0300 induction information analysis module
0400 instruction sending module 1100 start module
1200 picture acquisition module
1300-position analyzing module 1310 picture-taking unit 1320 shadow-identifying unit 1330 position-analyzing unit 1331 information-taking subunit 1332 identifying subunit 1333 position-analyzing subunit
1400 processing module
1500 angle analysis module 1510 angle analysis unit
1600 luminance analysis module 1610 luminance analysis unit 1620
1700 adjusting module
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically depicted, or only one of them is labeled. In this document, "one" means not only "only one" but also a case of "more than one".
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
In particular implementations, the terminal devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, family computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments the terminal device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal device that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal device may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal device supports various applications, such as one or more of the following: a drawing application, a presentation application, a network creation application, a word processing application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a digital video camera application, a Web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal device may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present application, the terms "first," "second," and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
One embodiment of the present invention, as shown in fig. 1, is a method for intelligently adjusting illumination based on a user picture, comprising:
s100, acquiring a starting instruction, and starting a light source according to the starting instruction;
specifically, when the user learns that the ambient light is darker, or when the user needs to open the intelligent device and throw light on, open the main lamp source of intelligent device, provide the light source for the user study. The main light source of the intelligent device is a light source arranged in a lampshade above the intelligent device.
The intelligent device is a device similar to an intelligent desk lamp and used for providing illumination for a user, and comprises a base, a connecting rod and an illuminating device, wherein the connecting rod is connected with the base and the illuminating device, the illuminating device comprises a main lamp source, an auxiliary lamp source is a series of light beads arranged along the connecting rod, the light beads cannot move on the connecting rod, but all the light beads are respectively controlled and can be independently started and respectively controlled in brightness. As shown in fig. 2, a schematic diagram of an intelligent desk lamp (an auxiliary light source is not shown) of an intelligent device includes a lighting device 1, a connecting rod 2 and a base 3, which are only for facilitating understanding of the structure of the intelligent device, but are not limited to the intelligent desk lamp in the schematic diagram.
Because the current light intensity of the learning environment where the external user is located is different, the corresponding light intensity levels of the main light source which needs to be turned on are also different. The intelligent device externally arranged on the body and used for controlling the mechanical device for turning on and off the main lamp source can be used for setting light intensity levels of different gears corresponding to different main lamp sources, and a user can manually adjust the intelligent device. The light intensity sensor can be configured on the intelligent device, and the proper light intensity of the lamp source is selected by combining the mapping table corresponding to the light intensity of the lamp source and the light intensity of the external environment according to the sensed light intensity of the external environment.
S200, after the light source is turned on, acquiring a learning picture;
specifically, after a main light source of the intelligent device is turned on, a camera is synchronously turned on to obtain a learning picture of the user, wherein the learning picture comprises all positions where shadows are likely to be generated in a learning area of the user. The positions and the number of the cameras are also not particularly limited.
The camera can be set up in the optional part of intelligent device, can be close with the position of main lamp source, for example, place the camera near main lamp source. Or the camera is placed at any position of the connecting rod of the intelligent device, or the camera is arranged on a flexible support with an extensible adjustable position, and the position of the camera can be automatically adjusted by the intelligent device or manually adjusted by a user.
S300, when the shadow exists in the learning picture, analyzing the position height of the shadow according to the learning picture;
specifically, when the shadow exists in the obtained learning picture, it is shown that the region is shielded by the user or other objects, and enough light is not provided for the user to check and learn, so that the user needs to adjust the sitting posture to look down, on one hand, the sitting posture is incorrect, the spine is affected, and on the other hand, the eyes are too close to the desktop, and the influence on the eyesight is bad. Therefore, light needs to be supplemented to the shadow area.
And analyzing the position height of the shadow according to the learning picture, namely the height of the shadow relative to the intelligent device. For example, when a user draws on a desk, if there is a shadow, there is a drawing on the desk, but when the user turns over a material such as a dictionary, if there is a shadow, there is a shade of the material, and due to the thickness of the material itself, if both are studying on the desk, the latter is located higher than the former with respect to the smart device.
S400, analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height;
specifically, the target auxiliary lamp source light beads with corresponding heights in the auxiliary lamp source are analyzed according to the position height of the shadow, the auxiliary lamp source is a series of light beads arranged along the connecting rod, the light beads cannot move on the connecting rod, but the light beads are controlled respectively and can be independently started and respectively control the brightness.
S500, calculating the shadow angle of the shadow according to the learning picture;
specifically, the shadow angle of the shadow is calculated from the learning picture. The position relation of the main light source, the camera and the shielding object is combined, the shadow angle of the shadow in the learning picture is calculated, and therefore the light intensity of the shielded part is judged.
For example, when the main light source is above the head of the user, the head of the user may block part of the light emitted from the light source light bead, and the rest of the main light source light is less irradiated, so as to form a shadow area, and the user is the blocking object. And judging a shadow angle formed by combining the position of each point in the shadow area with the position of the camera and the edge of the shielding object according to the position of the main light source and the light irradiation direction and combining the edge of the shielding object.
S600, calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle;
specifically, the calculated different shadow angles correspond to different luminances, and if light supplement is required, the light supplement requirement is higher for a region with lower luminance corresponding to the shadow angle than for a region with higher luminance. For the brightness levels, even if all the shadow areas are shaded, the shading depth degree between the shadow areas has influence on light supplement, the brightness level of the area with the darker shade needing light supplement is higher, and the brightness level of the area with the lighter shade needing light supplement is lower. Therefore, the brightness level of the target auxiliary lamp source light bead is calculated according to the shadow angle.
The corresponding mapping table of the shadow angle and the brightness level of the corresponding target auxiliary lamp source light bead can be preset, and then the brightness level of the corresponding target auxiliary lamp source light bead is determined according to the shadow angle by combining the mapping table. The establishing mode of the mapping table can be obtained according to the analysis of big data, and a proper mapping relation can be selected according to the use feeling of a user.
S700, starting the target auxiliary lamp source light bead, and adjusting the target auxiliary lamp source light bead according to the brightness level.
Specifically, the target auxiliary light source light bead is turned on, and the target auxiliary light source light bead is adjusted according to the determined brightness level, so that light rays emitted by the target auxiliary light source light bead can eliminate shadows on a learning desktop of a user. And after the light beads of the target auxiliary lamp source are adjusted, acquiring a new learning picture again, and judging whether shadows still exist in the new learning picture. If the target auxiliary light source light bead does not exist, the target auxiliary light source light bead adjusting scheme is suitable, and no adjustment is needed. If there is any shadow, it indicates that the target auxiliary lamp source light-bead adjustment scheme is not suitable, the brightness level of the target auxiliary lamp source light-bead can be adjusted until there is no shadow, and the brightness level of the target auxiliary lamp source light-bead in the final adjustment scheme is saved as the preferred adjustment scheme for the subsequent occurrence of the same situation.
In this embodiment, the position and height of the shadow are analyzed based on the learning picture, the corresponding target auxiliary light source light bead is selected, and then the brightness level of the target auxiliary light source light bead is calculated, so that the light is supplemented in a targeted manner, and the illumination shadow is eliminated
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 3, including:
s010 obtains the environment brightness information;
s020 obtaining human body induction information when the environment brightness information is less than or equal to the preset brightness information;
specifically, the intelligent device obtains the ambient brightness information of the current ambient environment, compares the ambient brightness information with the preset brightness, and when the ambient brightness information is less than or equal to the preset brightness, it indicates that the current ambient environment is too dark, and if the user continues to learn under such a condition, adverse effects are caused to the eyesight. However, it is necessary to further analyze whether there is a user learning in the current environment, and if there is a user learning, the smart device needs to be turned on. Thus, the human body sensing information is acquired.
The preset brightness is obtained based on analysis statistics, and the user learns in an environment lower than the preset brightness, which results in the pupils of the eyes. The abnormal contraction of ciliary muscle and other parts can cause eye fatigue and myopia and other adverse consequences. In addition, the intelligent device does not acquire the ambient brightness information of the current surrounding environment all the time, and the ambient brightness information can be acquired at regular intervals in consideration of energy saving and other factors.
S030 analyzing the human body induction information;
s040 sends an opening instruction when the distance between the user and the user is analyzed to be smaller than or equal to the preset distance;
specifically, the obtained human body sensing information is analyzed, the intelligent device can sense whether a user exists through an infrared sensor, a human body sensor and the like, if yes, the distance between the existing user and the intelligent device and the stay time of the user are further judged, and only if the distance between the user and the intelligent device is smaller than or equal to the preset distance, the situation that the user is near the intelligent device currently is shown, and the situation that the user stays in the range for the preset time length, the situation that the user is learning or working currently is shown, and then a starting instruction is sent. Therefore, the situation that the intelligent device is started to waste resources when the user only stops for a short time or is not near the intelligent device is avoided.
S100, acquiring a starting instruction, and starting a light source according to the starting instruction;
s200, after the lamp source is turned on, acquiring a learning picture;
s300, when the shadow exists in the learning picture, analyzing the position height of the shadow according to the learning picture;
s400, analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height;
s500, calculating the shadow angle of the shadow according to the learning picture;
s600, calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle;
s700, starting the target auxiliary lamp source light bead, and adjusting the target auxiliary lamp source light bead according to the brightness level.
In this embodiment, whether the intelligent device needs to be opened through the ambient brightness information and the human response information analysis that detect current environment, thereby intelligent device is opened to the intelligence more, and the user of being convenient for uses intelligent device under the inconvenient condition of hand, thereby increases the convenience that the user used intelligent device.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 4, including:
s100, acquiring a starting instruction, and starting a light source according to the starting instruction;
s200, after the lamp source is turned on, acquiring a learning picture;
s300, when the shadow exists in the learning picture, analyzing the position height of the shadow according to the learning picture;
s310, when the shadow exists in the learning picture, obtaining a user picture;
specifically, if there is a shadow in the learning picture, it is necessary to further analyze whether the shadow is an effective shadow, that is, whether the shadow will affect the learning of the user, and if there is no effect, it is not necessary to increase the light intensity for light supplement.
Thus, a picture of the user is taken by the camera, which mainly takes the user's position, including the user's position relative to the smart device, relative to the learning area and the rest of the items.
S320, identifying effective shadows in the shadows according to the user pictures;
specifically, an effective shadow in the shadow is identified by combining a user picture, and the effective shadow is a shadow which can affect the learning behavior of the user. For example, if the shadow's position appears directly below the user's head, the shadow is a valid shadow.
For example, a part of books are stacked in a place far away from a user learning area, and the books form a shadow under the irradiation of a light source light bead, but the analysis of the user picture can make the shadow completely unrelated to the user learning area and does not affect the learning of the user, so that the shadow is not an effective shadow area, and the shadow is not required to be supplemented with light.
S330, analyzing the position height of the effective shadow;
specifically, the user picture includes the position of the user relative to the smart device, relative to the learning area, and the rest of the items, and therefore the position height of the effective shadow is analyzed according to the user picture.
S331, acquiring the sight direction and the environmental information of the user according to the user picture;
specifically, the sight direction and the environment information of the user are acquired according to the user picture, the sight direction of the user in the user picture is firstly analyzed, and then the environment information in the sight direction of the user is acquired. For example, when it is analyzed that the sight line direction of the user is looking at the lower right side, the environment information under the lower right side is obtained, and the environment information is the articles, such as books, desktops, and the like, which are being viewed by the user.
S332, identifying a learning plane of the user according to the sight line direction and the environment information, wherein the learning plane is a position viewed by the current sight line of the user;
s333, determining the position height of the effective shadow according to the learning plane;
specifically, a learning plane of the user is identified according to the sight line direction and the environment information, and the learning plane is a position viewed by the current sight line of the user, so that the environment information firstly acquired along the sight line direction of the user is an article currently being viewed by the user. The height of the position of the effective shadow is then determined from the learning plane.
S400, analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height;
s500, calculating the shadow angle of the shadow according to the learning picture;
s600, calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle;
s700, starting the target auxiliary lamp source light bead, and adjusting the target auxiliary lamp source light bead according to the brightness level.
In this embodiment, the effective shadow which may affect the learning of the user is identified by combining the user picture, then the shadow angle of the effective shadow is calculated, and finally, light supplement is performed for the shadow. On one hand, the area of the shadow angle needing to be calculated is reduced, the calculation amount is reduced, the processing speed is improved, on the other hand, the adjustment is avoided while the unnecessary shadow is considered, the adjustment difficulty is increased, and meanwhile, the effect obtained after the adjustment is possibly poor.
Secondly, the position height of the effective shadow is determined by combining the sight direction of the user and the environmental information, so that a target auxiliary lamp source light bead for light supplement is conveniently determined subsequently, then the shadow area is supplemented with light in a targeted manner, and the lighting shadow is eliminated.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 5, including:
s100, acquiring a starting instruction, and starting a light source according to the starting instruction;
s200, after the lamp source is turned on, acquiring a learning picture;
s300, when the shadow exists in the learning picture, analyzing the position height of the shadow according to the learning picture;
s400, analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height;
s500, calculating the shadow angle of the shadow according to the learning picture;
s600, calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle;
s610, when only one target auxiliary lamp source light bead exists, calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle;
specifically, if only one target auxiliary lamp source light bead is determined, that is, only one auxiliary lamp source light bead is needed to complete light supplement for the shadow area, the brightness level corresponding to the determined target auxiliary lamp source light bead is calculated according to the shadow angle.
S620, when a plurality of target auxiliary lamp source light beads exist, analyzing target shadows corresponding to the target auxiliary lamp source light beads;
specifically, when a plurality of target auxiliary lamp source light beads are provided, the light irradiation direction of each target auxiliary lamp source is different, and the corresponding shadow area is also different, so that the shadow angle of the shadow area corresponding to each target auxiliary lamp source affects the respective brightness level, and the shadow area corresponding to each target auxiliary lamp source light bead is analyzed, that is, the target shadow.
S630, respectively calculating the brightness level of each target auxiliary lamp source light bead according to the shadow angle corresponding to the target shadow;
s700, starting the target auxiliary lamp source light bead, and adjusting the target auxiliary lamp source light bead according to the brightness level.
Specifically, the brightness level of each target auxiliary lamp source light bead is calculated according to the shadow angle corresponding to the target shadow, then all the target auxiliary lamp source light beads are started, and the corresponding target auxiliary lamp source light beads are adjusted according to the determined respective brightness levels.
In this embodiment, for the determined target auxiliary lamp source light beads with different numbers, the brightness levels of the target auxiliary lamp source light beads are calculated according to the target shadows of the respective supplementary lights, so that the supplementary lights are performed in a targeted manner according to respective situations.
One embodiment of the present invention, as shown in fig. 6, is an intelligent user picture based lighting adjustment system, comprising:
the starting module 1100 is used for acquiring a starting instruction and starting a lamp source according to the starting instruction;
the picture acquisition module 1200 acquires a learning picture after the starting module 1100 starts the light source;
a position analyzing module 1300 configured to, when a shadow exists in the learning picture acquired by the picture acquiring module 1200, analyze a position height of the shadow according to the learning picture acquired by the picture acquiring module 1200;
the processing module 1400 is used for analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height obtained by the position analyzing module 1300;
an angle analysis module 1500, which calculates a shadow angle of the shadow according to the learning picture acquired by the picture acquisition module 1200;
the brightness analysis module 1600, which calculates the brightness level of the target auxiliary lamp source light bead determined by the processing module 1400 according to the shadow angle obtained by the angle analysis module 1500;
the adjusting module 1700 starts the target auxiliary light source light bead, and adjusts the target auxiliary light source light bead according to the brightness level obtained by the brightness analyzing module 1600.
The specific operation modes of the modules in this embodiment have been described in detail in the corresponding method embodiments, and thus are not described in detail again.
Another embodiment of the present invention is a preferable embodiment of the above-mentioned embodiment, as shown in fig. 7, including:
a brightness information obtaining module 0100, which obtains ambient brightness information;
the sensing information acquisition module 0200 is used for acquiring human body sensing information when the environment brightness information acquired by the brightness information acquisition module 0100 is less than or equal to preset brightness information;
the induction information analysis module 0300 is used for analyzing the human body induction information acquired by the induction information acquisition module 0200;
the instruction sending module 0400 sends a starting instruction when the sensing information analysis module 0300 analyzes that the distance between the user and the user is smaller than or equal to a preset distance;
the starting module 1100 is configured to obtain a starting instruction sent by the instruction sending module 0400, and start the light source according to the starting instruction;
the picture acquisition module 1200 acquires a learning picture after the starting module 1100 starts the light source;
a position analyzing module 1300 configured to, when a shadow exists in the learning picture acquired by the picture acquiring module 1200, analyze a position height of the shadow according to the learning picture acquired by the picture acquiring module 1200;
the position analysis module 1300 specifically includes:
a picture obtaining unit 1310 configured to obtain a user picture when the shadow exists in the learning picture obtained by the picture obtaining module 1200;
a shadow identification unit 1320, identifying an effective shadow among the shadows according to the user picture acquired by the picture acquisition unit 1310;
a position analyzing unit 1330 that analyzes the position height of the effective shadow recognized by the shadow recognition unit 1320;
the position analyzing unit 1330 specifically includes:
an information obtaining subunit 1331, configured to obtain a user's gaze direction and environment information according to the user picture obtained by the picture obtaining module 1200;
an identifying subunit 1332, configured to identify a learning plane of the user according to the gaze direction and the environmental information acquired by the information acquiring subunit 1331, where the learning plane is a position viewed by the current gaze of the user;
a position analyzing subunit 1333 that determines a position height of the effective shadow according to the learning plane identified by the identifying subunit 1332;
the angle analysis module 1500 specifically includes:
an angle analysis unit 1510 that calculates a shadow angle of the effective shadow from the learning picture acquired by the picture acquisition module 1200;
the angle analysis module 1500 specifically includes:
an angle analysis unit 1510 that calculates a shadow angle of the effective shadow from the learning picture acquired by the picture acquisition module 1200;
the processing module 1400 is used for analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height obtained by the position analyzing module 1300;
an angle analysis module 1500, which calculates a shadow angle of the shadow according to the learning picture acquired by the picture acquisition module 1200;
the brightness analysis module 1600, which calculates the brightness level of the target auxiliary lamp source light bead determined by the processing module 1400 according to the shadow angle obtained by the angle analysis module 1500;
the brightness analysis module 1600 specifically includes:
a brightness analyzing unit 1610, configured to calculate a brightness level of the target auxiliary lamp source light bead according to the shadow angle when only one target auxiliary lamp source light bead is determined by the processing module 1400;
the brightness analysis unit 1610, when there are multiple target auxiliary lamp source light beads determined by the processing module 1400, analyzes a target shadow corresponding to each target auxiliary lamp source light bead;
a calculating unit 1620, for calculating the brightness level of each target auxiliary lamp source light bead according to the shadow angle corresponding to the target shadow obtained by the brightness analyzing unit 1610
The adjusting module 1700 starts the target auxiliary light source light bead, and adjusts the target auxiliary light source light bead according to the brightness level obtained by the brightness analyzing module 1600.
The specific operation modes of the modules in this embodiment have been described in detail in the corresponding method embodiments, and thus are not described in detail again.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and amendments can be made without departing from the principle of the present invention, and these modifications and amendments should also be considered as the protection scope of the present invention.

Claims (10)

1. The utility model provides a lighting adjustment method based on user's picture, its characterized in that is applied to intelligent device, includes base, connecting rod and lighting device, and base and lighting device are connected to the connecting rod, and lighting device includes main lamp source and auxiliary lamp source, and auxiliary lamp source is a series of light beads that set up along the connecting rod, includes:
acquiring a starting instruction, and starting a lamp source according to the starting instruction;
after the light source is turned on, acquiring a learning picture;
when the shadow exists in the learning picture, analyzing the position height of the shadow according to the learning picture;
analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height;
calculating the shadow angle of the shadow according to the learning picture;
calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle; the luminance level of the light to be supplemented is higher in the area with the darker shadow, and the luminance level of the light to be supplemented is lower in the area with the lighter shadow;
and starting the target auxiliary lamp source light bead, and adjusting the target auxiliary lamp source light bead according to the brightness level.
2. The method of claim 1, wherein obtaining a turn-on command, and before turning on a light source according to the turn-on command, comprises:
acquiring ambient brightness information;
when the ambient brightness information is less than or equal to the preset brightness information, acquiring human body induction information;
analyzing the human body induction information;
and when the distance between the user and the user is analyzed to be smaller than or equal to the preset distance, sending an opening instruction.
3. The method according to claim 1, wherein when a shadow exists in the learning picture, analyzing a position height of the shadow according to the learning picture specifically comprises:
when the shadow exists in the learning picture, obtaining a user picture;
identifying an effective shadow of the shadows according to the user picture;
analyzing the position height of the effective shadow;
calculating the shadow angle of the shadow according to the learning picture specifically comprises:
and calculating the shadow angle of the effective shadow according to the learning picture.
4. The method of claim 3, wherein analyzing the positional height of the effective shadow specifically comprises:
acquiring the sight direction and the environmental information of the user according to the user picture;
identifying a learning plane of the user according to the sight line direction and the environment information, wherein the learning plane is a position viewed by the current sight line of the user;
and determining the position height of the effective shadow according to the learning plane.
5. The method of claim 1, wherein calculating the brightness level of the target auxiliary light source light bead according to the shadow angle specifically comprises:
when only one target auxiliary lamp source light bead is arranged, calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle;
when a plurality of target auxiliary lamp source light beads exist, analyzing target shadows corresponding to the target auxiliary lamp source light beads;
and respectively calculating the brightness level of each target auxiliary lamp source light bead according to the shadow angle corresponding to the target shadow.
6. The utility model provides an illumination governing system based on user's picture, its characterized in that is applied to intelligent device, includes base, connecting rod and lighting device, and base and lighting device are connected to the connecting rod, and lighting device includes main lamp source and auxiliary lamp source, and auxiliary lamp source is a series of light pearls that set up along the connecting rod, includes:
the starting module is used for acquiring a starting instruction and starting the light source according to the starting instruction;
the picture acquisition module acquires a learning picture after the starting module starts the light source;
the position analysis module is used for analyzing the position height of the shadow according to the learning picture acquired by the picture acquisition module when the shadow exists in the learning picture acquired by the picture acquisition module;
the processing module is used for analyzing a target auxiliary lamp source light bead in the auxiliary lamp source according to the position height obtained by the position analysis module;
the angle analysis module is used for calculating the shadow angle of the shadow according to the learning picture acquired by the picture acquisition module;
the brightness analysis module is used for calculating the brightness level of the target auxiliary lamp source light bead determined by the processing module according to the shadow angle obtained by the angle analysis module; the luminance level of the light to be supplemented is higher in the area with the darker shadow, and the luminance level of the light to be supplemented is lower in the area with the lighter shadow;
and the adjusting module is used for starting the target auxiliary lamp source light bead and adjusting the target auxiliary lamp source light bead according to the brightness grade obtained by the brightness analyzing module.
7. The user picture based lighting adjustment system of claim 6, further comprising:
the brightness information acquisition module is used for acquiring the ambient brightness information;
the sensing information acquisition module is used for acquiring human body sensing information when the ambient brightness information acquired by the brightness information acquisition module is less than or equal to preset brightness information;
the induction information analysis module is used for analyzing the human body induction information acquired by the induction information acquisition module;
and the instruction sending module is used for sending a starting instruction when the sensing information analysis module analyzes that the distance between the user and the instruction sending module is smaller than or equal to a preset distance.
8. The user-picture-based lighting adjustment system of claim 6, wherein the position analysis module specifically comprises:
the picture acquisition unit is used for acquiring a user picture when the shadow exists in the learning picture acquired by the picture acquisition module;
a shadow identification unit which identifies effective shadows in the shadows according to the user pictures acquired by the picture acquisition unit;
a position analyzing unit that analyzes a position height of the effective shadow recognized by the shadow recognizing unit;
the angle analysis module specifically comprises:
and the angle analysis unit is used for calculating the shadow angle of the effective shadow according to the learning picture acquired by the picture acquisition module.
9. The system of claim 8, wherein the location analysis unit comprises:
the information acquisition subunit is used for acquiring the sight direction and the environmental information of the user according to the user picture acquired by the picture acquisition module;
the identification subunit identifies a learning plane of the user according to the sight line direction and the environment information acquired by the information acquisition subunit, wherein the learning plane is a position viewed by the current sight line of the user;
a position analyzing subunit that determines a position height of the effective shadow according to the learning plane identified by the identifying subunit.
10. The user-picture-based lighting adjustment system of claim 6, wherein the brightness analysis module specifically comprises:
the brightness analysis unit is used for calculating the brightness level of the target auxiliary lamp source light bead according to the shadow angle when only one target auxiliary lamp source light bead is determined by the processing module;
the brightness analysis unit is used for analyzing the target shadow corresponding to each target auxiliary lamp source light bead when the processing module determines that a plurality of target auxiliary lamp source light beads exist;
and the calculating unit is used for respectively calculating the brightness grade of each target auxiliary lamp source light bead according to the shadow angle corresponding to the target shadow obtained by the brightness analyzing unit.
CN201910570166.XA 2019-06-28 2019-06-28 Illumination adjusting method and system based on user picture Active CN112235912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910570166.XA CN112235912B (en) 2019-06-28 2019-06-28 Illumination adjusting method and system based on user picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910570166.XA CN112235912B (en) 2019-06-28 2019-06-28 Illumination adjusting method and system based on user picture

Publications (2)

Publication Number Publication Date
CN112235912A CN112235912A (en) 2021-01-15
CN112235912B true CN112235912B (en) 2022-10-21

Family

ID=74111028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910570166.XA Active CN112235912B (en) 2019-06-28 2019-06-28 Illumination adjusting method and system based on user picture

Country Status (1)

Country Link
CN (1) CN112235912B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115076663B (en) * 2022-06-30 2024-08-06 深圳市沃特沃德信息有限公司 Method, device, equipment and medium for reducing illumination shadow of desk lamp

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208058767U (en) * 2018-04-29 2018-11-06 周坤 A kind of novel smooth pearl harden structure

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235521B (en) * 2018-02-09 2019-11-05 闵泳鑫 Intelligent lamp and its control method
CN108596972A (en) * 2018-04-28 2018-09-28 上海与德科技有限公司 A kind of light adjusting method, device, intelligent desk lamp and storage medium
CN108811271A (en) * 2018-04-28 2018-11-13 上海与德科技有限公司 A kind of light adjusting method, device, intelligent desk lamp and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208058767U (en) * 2018-04-29 2018-11-06 周坤 A kind of novel smooth pearl harden structure

Also Published As

Publication number Publication date
CN112235912A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN112118659B (en) Light adjusting method and intelligent device
US20200272234A1 (en) Method for controlling device on the basis of eyeball motion, and device therefor
US8670632B2 (en) System for reducing effects of undesired signals in an infrared imaging system
EP3048949B1 (en) Gaze tracking variations using dynamic lighting position
CN103871377B (en) The display packing of tool high light visuality and the electronic installation using this method
US10783835B2 (en) Automatic control of display brightness
CN104202865B (en) A kind of Intelligent lightening device
WO2016085212A1 (en) Electronic device and method for controlling display
CN105895057B (en) A kind of backlight adjusting method, device and terminal device
CN107731201B (en) Screen brightness adjusting method and device
CN112087845A (en) Light supplementing method and system based on detection lamp source
CN112153788A (en) Illumination adjusting method and system
CN105679253A (en) Terminal backlight adjustment method and device
CN112333900B (en) Intelligent light supplementing and shadow eliminating method and system
CN112235912B (en) Illumination adjusting method and system based on user picture
CN110275296A (en) Head-mounted display and its control method
CN114567952A (en) Method for realizing automatic dimming of lighting equipment and related product
CN112347294A (en) Method and system for eliminating lighting shadow
CN112153780B (en) Method and system for eliminating lighting shadow based on user picture
CN112235922B (en) Method and system for eliminating lighting shadows based on auxiliary light source
CN102737611A (en) Method for automatically adjusting brightness of display and portable electronic device
CN112040614B (en) Auxiliary light source-based light supplementing method and intelligent desk lamp
CN110751919B (en) Transparent display system and method of operating the same
CN108153563B (en) A kind of screen control method and device
CN112150369B (en) Method and system for eliminating illumination shadow

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