CN110769568A - Automatic light adjusting device and method for cosmetic mirror - Google Patents
Automatic light adjusting device and method for cosmetic mirror Download PDFInfo
- Publication number
- CN110769568A CN110769568A CN201911028935.XA CN201911028935A CN110769568A CN 110769568 A CN110769568 A CN 110769568A CN 201911028935 A CN201911028935 A CN 201911028935A CN 110769568 A CN110769568 A CN 110769568A
- Authority
- CN
- China
- Prior art keywords
- light
- controller
- floating point
- point type
- mirror
- 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.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Abstract
The invention discloses a light automatic adjusting method of a cosmetic mirror, which detects the recognition of human face and the distance through a camera, controls the light and shade change of a light filling lamp to achieve the interaction relation between a person and the mirror, and the light is turned on when the person enters a monitoring range; people get close to the mirror, and the light gradually brightens; when a person is far away from the mirror, the light gradually weakens; when the person leaves the monitoring range, the lamplight is turned off. The invention can automatically turn on and off the light, can control the light and shade change according to the distance of people, can not stimulate the eyes of people due to sudden lighting, relatively reduces the power consumption due to the light and shade change, realizes the effect of intelligently adjusting the light of the cosmetic mirror, and makes a tiny contribution to environmental protection.
Description
Technical Field
The invention relates to a device and a method for automatically adjusting light of a cosmetic mirror.
Background
The cosmetic mirror is a table mirror for makeup, also called a dressing mirror, and the cosmetic mirror and the mirror are mainly different in that the cosmetic mirror is provided with an amplifying surface with different proportions, so that a makeup user can see the fine parts of the irradiated parts clearly. However, the light automatic adjustment of the cosmetic mirror is not intelligent at present, and the user experience is poor, so that it is necessary to develop a device and a method for automatically adjusting the light of the cosmetic mirror.
Disclosure of Invention
The invention aims to overcome the technical problems and provides an automatic light adjusting device of a cosmetic mirror.
In order to achieve the purpose, the invention adopts the following technical scheme:
the automatic light adjusting device of the cosmetic mirror comprises an intelligent cosmetic mirror, wherein the intelligent cosmetic mirror comprises a base, a mirror body is arranged on the base, the mirror body sequentially comprises a mirror surface and a light supplement lamp from the back to the front, a light supplement lamp controller is arranged in the base, a camera is arranged on the mirror body, the camera is in signal connection with the light lamp controller, and the light supplement lamp controller adjusts the light supplement lamp through the PWM duty ratio to be electrically connected and used for adjusting the brightness of the light supplement lamp; the mirror surface is provided with a brightness adjusting area which is fixedly connected to the periphery of the mirror surface.
Further, the light controller employs a stm32f103 processor.
The invention also provides an automatic light adjusting method of the cosmetic mirror, which comprises the following steps:
s1: the method comprises the steps that an image head scans the surrounding environment to form a video stream, each frame of the video stream is detected, whether face information exists or not is judged, the face information is confirmed to be composed of 72 key points, and stable recognition of a face in an action state can be achieved; when the 72 key points are identified, the human face is judged to appear, and then an opening signal is sent to the controller; when the 72 key points are not identified, namely the face disappears, and a closing signal is sent to the controller at the moment;
s2: after the controller receives the starting signal, the camera judges the distance between the human face and the lighting controller by identifying the pixel size of the human face information in the picture, and when the pixel size of the human face is 60-100%, the camera sends a floating point type 1 to the lighting controller; when the size of the face pixels accounts for 40% -60%, the camera sends a floating point type of 0.75 to the light controller; when the proportion of the size of the face pixels is 20% -40%, the camera sends a floating point type of 0.5 to the light controller; when the proportion of the size of the face pixels is 5% -20%, the camera sends a floating point type of 0.25 to the light controller; when the size ratio of the face pixels is less than 5%, the camera sends a floating point type 0 to the light controller;
s3: when the light controller receives the floating point type 1, the minimum value of the resistor is controlled, and the light of the light supplement lamp is 100% in brightness; when the light controller receives the floating point type of 0.75, the proportion of the resistors is controlled to be 25%, and the light of the light supplement lamp is 75% in brightness; when the light controller receives the floating point type of 0.5, the proportion of the resistors is controlled to be 50%, and the light of the light supplement lamp is 50% in brightness; when the light controller receives a floating point type of 0.25, the proportion of the resistors is controlled to be 75%, and the light of the light supplement lamp is 25% in brightness; when the light controller receives the floating point type 0, the maximum value of the resistor is controlled, and the light of the light supplement lamp is in a non-brightness state and is in an off state.
The invention has the beneficial effects that:
the cosmetic mirror can automatically turn on and off the light, can control the light and shade change according to the distance of a person, does not stimulate the eyes of the person due to sudden lightening, relatively reduces the power consumption due to the light and shade change, realizes the effect of intelligently adjusting the light of the cosmetic mirror, and makes a tiny contribution to environmental protection.
Drawings
FIG. 1: the work flow of the invention is shown schematically.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and examples.
The utility model provides a light automatic regulating apparatus of vanity mirror, includes intelligent vanity mirror, intelligence vanity mirror includes the base, be equipped with the mirror body on the base, the mirror body is by the back to openly including mirror surface, light filling lamp in proper order, the inside light filling lamp controller that is provided with of base, light filling lamp controller adopt stm32f103 treater. The lens body is provided with a camera which is in signal connection with the light controller, and the light supplement lamp controller adjusts the electrical connection of the light supplement lamp through the PWM duty ratio to adjust the brightness of the light supplement lamp; the mirror surface is provided with a brightness adjusting area which is fixedly connected to the periphery of the mirror surface. The camera is used for detecting the dynamic tracking of the surrounding human face and calculating and processing the face state and the position information parameters. The light supplement lamp performs brightness light supplement operation according to the protocol information content
The main working principle is as follows:
sending the proportion requirement of the floating point type numerical range (0-1) according to the upper computer serial port protocol, converting to the ttl level through the serial port circuit 232, transmitting to the stm32f103 processor for data packet content analysis, comparing the analyzed data according to a table lookup mode, and finishing the corresponding light supplement brightness proportion (5 kinds of brightness adjustment in total) if the comparison is successful.
As shown in fig. 1, the present invention also provides a light automatic adjusting method of a cosmetic mirror, comprising the following steps:
s1: the method comprises the steps that an image head scans the surrounding environment to form a video stream, each frame of the video stream is detected, whether face information exists or not is judged, the face information is confirmed to be composed of 72 key points, and stable recognition of a face in an action state can be achieved; when the 72 key points are identified, the human face is judged to appear, and then an opening signal is sent to the controller; when the 72 key points are not identified, namely the face disappears, and a closing signal is sent to the controller at the moment;
s2: after the controller receives the starting signal, the camera judges the distance between the human face and the lighting controller by identifying the pixel size of the human face information in the picture, and when the pixel size of the human face is 60-100%, the camera sends a floating point type 1 to the lighting controller; when the size of the face pixels accounts for 40% -60%, the camera sends a floating point type of 0.75 to the light controller; when the proportion of the size of the face pixels is 20% -40%, the camera sends a floating point type of 0.5 to the light controller; when the proportion of the size of the face pixels is 5% -20%, the camera sends a floating point type of 0.25 to the light controller; when the size ratio of the face pixels is less than 5%, the camera sends a floating point type 0 to the light controller;
s3: when the light controller receives the floating point type 1, the minimum value of the resistor is controlled, and the light of the light supplement lamp is 100% in brightness; when the light controller receives the floating point type of 0.75, the proportion of the resistors is controlled to be 25%, and the light of the light supplement lamp is 75% in brightness; when the light controller receives the floating point type of 0.5, the proportion of the resistors is controlled to be 50%, and the light of the light supplement lamp is 50% in brightness; when the light controller receives a floating point type of 0.25, the proportion of the resistors is controlled to be 75%, and the light of the light supplement lamp is 25% in brightness; when the light controller receives the floating point type 0, the maximum value of the resistor is controlled, and the light of the light supplement lamp is in a non-brightness state and is in an off state.
Finally, it should be noted that: the above embodiments are only used to illustrate the present invention and do not limit the technical solutions described in the present invention; thus, while the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted; all such modifications and variations are intended to be included herein within the scope of this disclosure and the present invention and protected by the following claims.
Claims (3)
1. The utility model provides a light automatically regulated device of vanity mirror which characterized in that: the intelligent cosmetic mirror comprises a base, wherein a mirror body is arranged on the base, the mirror body sequentially comprises a mirror surface and a light supplement lamp from the back side to the front side, a light supplement lamp controller is arranged in the base, a camera is arranged on the mirror body and is in signal connection with the light controller, and the light supplement lamp controller adjusts the light supplement lamp to be electrically connected through the PWM duty ratio for adjusting the brightness of the light supplement lamp; the mirror surface is provided with a brightness adjusting area which is fixedly connected to the periphery of the mirror surface.
2. An automatic light adjusting device for cosmetic mirrors according to claim 1, characterized in that: the light controller adopts a stm32f103 processor.
3. An automatic light adjusting method for a cosmetic mirror is characterized by comprising the following steps:
s1: the method comprises the steps that an image head scans the surrounding environment to form a video stream, each frame of the video stream is detected, whether face information exists or not is judged, the face information is confirmed to be composed of 72 key points, and stable recognition of a face in an action state can be achieved; when the 72 key points are identified, the human face is judged to appear, and then an opening signal is sent to the controller; when the 72 key points are not identified, namely the face disappears, and a closing signal is sent to the controller at the moment;
s2: after the controller receives the starting signal, the camera judges the distance between the human face and the lighting controller by identifying the pixel size of the human face information in the picture, and when the pixel size of the human face is 60-100%, the camera sends a floating point type 1 to the lighting controller; when the size of the face pixels accounts for 40% -60%, the camera sends a floating point type of 0.75 to the light controller; when the proportion of the size of the face pixels is 20% -40%, the camera sends a floating point type of 0.5 to the light controller; when the proportion of the size of the face pixels is 5% -20%, the camera sends a floating point type of 0.25 to the light controller; when the size ratio of the face pixels is less than 5%, the camera sends a floating point type 0 to the light controller;
s3: when the light controller receives the floating point type 1, the minimum value of the resistor is controlled, and the light of the light supplement lamp is 100% in brightness; when the light controller receives the floating point type of 0.75, the proportion of the resistors is controlled to be 25%, and the light of the light supplement lamp is 75% in brightness; when the light controller receives the floating point type of 0.5, the proportion of the resistors is controlled to be 50%, and the light of the light supplement lamp is 50% in brightness; when the light controller receives a floating point type of 0.25, the proportion of the resistors is controlled to be 75%, and the light of the light supplement lamp is 25% in brightness; when the light controller receives the floating point type 0, the maximum value of the resistor is controlled, and the light of the light supplement lamp is in a non-brightness state and is in an off state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911028935.XA CN110769568A (en) | 2019-10-28 | 2019-10-28 | Automatic light adjusting device and method for cosmetic mirror |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911028935.XA CN110769568A (en) | 2019-10-28 | 2019-10-28 | Automatic light adjusting device and method for cosmetic mirror |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110769568A true CN110769568A (en) | 2020-02-07 |
Family
ID=69334116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911028935.XA Pending CN110769568A (en) | 2019-10-28 | 2019-10-28 | Automatic light adjusting device and method for cosmetic mirror |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110769568A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111401153A (en) * | 2020-02-28 | 2020-07-10 | 中国建设银行股份有限公司 | Method and device for controlling access of closed self-service equipment |
CN112650073A (en) * | 2020-12-28 | 2021-04-13 | 广东思万奇科技有限公司 | Intelligent control system of human behavior energy-saving algorithm |
WO2021233462A1 (en) * | 2020-11-10 | 2021-11-25 | 青岛海尔空调电子有限公司 | Air conditioner and illumination control method therefor, storage medium, and control device |
CN113729455A (en) * | 2020-05-28 | 2021-12-03 | 和成欣业股份有限公司 | Intelligent bathroom mirror and using method thereof |
WO2022161348A1 (en) * | 2021-02-01 | 2022-08-04 | 厦门松霖科技股份有限公司 | Method for automatically adjusting surface of mirror, and cosmetic mirror |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203573608U (en) * | 2013-09-30 | 2014-04-30 | 陕西金合泰克信息科技发展有限公司 | Human body induction mirror surface advertisement system |
CN205402304U (en) * | 2016-03-07 | 2016-07-27 | 海南新城光电科技有限公司 | Energy -saving illuminating lamp's installation device |
CN106022209A (en) * | 2016-04-29 | 2016-10-12 | 杭州华橙网络科技有限公司 | Distance estimation and processing method based on face detection and device based on face detection |
CN107071272A (en) * | 2017-02-17 | 2017-08-18 | 奇酷互联网络科技(深圳)有限公司 | Control method, device and the terminal of camera light compensating lamp brightness |
WO2017162504A1 (en) * | 2016-03-21 | 2017-09-28 | Koninklijke Philips N.V. | An adaptive lighting system for a mirror component and a method of controlling an adaptive lighting system |
CN207599449U (en) * | 2017-11-09 | 2018-07-10 | 宁波亿佳电子照明有限公司 | Mirror front lamp with automatic sensing function |
CN108937072A (en) * | 2018-07-10 | 2018-12-07 | 苏州韵之秋智能科技有限公司 | A kind of light Automatic adjustment method of vanity mirror |
CN109842979A (en) * | 2017-11-29 | 2019-06-04 | 富泰华工业(深圳)有限公司 | Light regulating system and method |
-
2019
- 2019-10-28 CN CN201911028935.XA patent/CN110769568A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203573608U (en) * | 2013-09-30 | 2014-04-30 | 陕西金合泰克信息科技发展有限公司 | Human body induction mirror surface advertisement system |
CN205402304U (en) * | 2016-03-07 | 2016-07-27 | 海南新城光电科技有限公司 | Energy -saving illuminating lamp's installation device |
WO2017162504A1 (en) * | 2016-03-21 | 2017-09-28 | Koninklijke Philips N.V. | An adaptive lighting system for a mirror component and a method of controlling an adaptive lighting system |
CN109076662A (en) * | 2016-03-21 | 2018-12-21 | 皇家飞利浦有限公司 | The method of adaptive lighting system and the adaptive lighting system of control for mirror part |
CN106022209A (en) * | 2016-04-29 | 2016-10-12 | 杭州华橙网络科技有限公司 | Distance estimation and processing method based on face detection and device based on face detection |
CN107071272A (en) * | 2017-02-17 | 2017-08-18 | 奇酷互联网络科技(深圳)有限公司 | Control method, device and the terminal of camera light compensating lamp brightness |
CN207599449U (en) * | 2017-11-09 | 2018-07-10 | 宁波亿佳电子照明有限公司 | Mirror front lamp with automatic sensing function |
CN109842979A (en) * | 2017-11-29 | 2019-06-04 | 富泰华工业(深圳)有限公司 | Light regulating system and method |
CN108937072A (en) * | 2018-07-10 | 2018-12-07 | 苏州韵之秋智能科技有限公司 | A kind of light Automatic adjustment method of vanity mirror |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111401153A (en) * | 2020-02-28 | 2020-07-10 | 中国建设银行股份有限公司 | Method and device for controlling access of closed self-service equipment |
CN113729455A (en) * | 2020-05-28 | 2021-12-03 | 和成欣业股份有限公司 | Intelligent bathroom mirror and using method thereof |
WO2021233462A1 (en) * | 2020-11-10 | 2021-11-25 | 青岛海尔空调电子有限公司 | Air conditioner and illumination control method therefor, storage medium, and control device |
CN112650073A (en) * | 2020-12-28 | 2021-04-13 | 广东思万奇科技有限公司 | Intelligent control system of human behavior energy-saving algorithm |
WO2022161348A1 (en) * | 2021-02-01 | 2022-08-04 | 厦门松霖科技股份有限公司 | Method for automatically adjusting surface of mirror, and cosmetic mirror |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110769568A (en) | Automatic light adjusting device and method for cosmetic mirror | |
KR101355279B1 (en) | Face image detection apparatus | |
CN108112126B (en) | LED lamp illumination system and method | |
CN104797036B (en) | A kind of office building LED lamp illumination induction control system | |
CN103327148A (en) | Screen backlight brightness adjusting implementation method based on mobile terminal and mobile terminal | |
CN103247282A (en) | Method for controlling screen luminance of display terminal and display terminal of method | |
CN104867478B (en) | A kind of method and smart machine for controlling smart machine brightness | |
JP2014064321A (en) | Power saving transmissive display | |
CN108112116A (en) | Automatically adjust the method and device of lamp brightness | |
CN106657676A (en) | Screen brightness adjusting method and device | |
CN107883236A (en) | A kind of desk lamp with gesture induction and Intelligent touch dimming function | |
CN107094346A (en) | The brightness of flash lamp adjusting method and brightness control system of a kind of intelligent terminal | |
CN107517532A (en) | A kind of eyeshield intelligent illuminating system and its implementation | |
US20180304815A1 (en) | Intelligent light reflection adjusting device, adjusting method thereof and anti-dazzle rearview mirror | |
CN117015100B (en) | LED system for lamp mirror | |
CN210666316U (en) | Automatic dimming system and projector with same | |
WO2020228603A1 (en) | Intelligent table lamp system | |
CN109099333A (en) | A kind of LED desk lamp of height-adjustable brightness adaptive change | |
CN210721056U (en) | Street lamp energy-saving control system based on NB-IoT | |
CN209911810U (en) | Intelligent control device of landscape lamp based on NBIOT | |
CN107645811A (en) | With the intelligent lamp and its adjusting method for reducing pupil light visual impact function | |
CN213207379U (en) | Intelligent desk lamp | |
CN110730372A (en) | Intelligent LED television | |
CN217936031U (en) | Photosensitive dimming circuit and remote controller | |
CN105137886B (en) | A kind of human-machine interface control device and control method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200207 |
|
RJ01 | Rejection of invention patent application after publication |