CN110572906B - Brightness adjusting method for mirror, mirror and storage medium - Google Patents

Brightness adjusting method for mirror, mirror and storage medium Download PDF

Info

Publication number
CN110572906B
CN110572906B CN201910845576.0A CN201910845576A CN110572906B CN 110572906 B CN110572906 B CN 110572906B CN 201910845576 A CN201910845576 A CN 201910845576A CN 110572906 B CN110572906 B CN 110572906B
Authority
CN
China
Prior art keywords
mirror
brightness
led lamp
voltage
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.)
Active
Application number
CN201910845576.0A
Other languages
Chinese (zh)
Other versions
CN110572906A (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.)
Touchbeauty Beauty & Health Shenzhen Co ltd
Original Assignee
Touchbeauty Beauty & Health Shenzhen 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 Touchbeauty Beauty & Health Shenzhen Co ltd filed Critical Touchbeauty Beauty & Health Shenzhen Co ltd
Priority to CN201910845576.0A priority Critical patent/CN110572906B/en
Publication of CN110572906A publication Critical patent/CN110572906A/en
Application granted granted Critical
Publication of CN110572906B publication Critical patent/CN110572906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a brightness adjusting method of a mirror, the mirror and a storage medium, wherein the brightness adjusting method of the mirror comprises the following steps: controlling the acquisition device to acquire environmental parameters; determining a first adjusting voltage according to the environment parameter, and adjusting the display brightness of the LED lamp according to the first adjusting voltage; after the LED lamp displays according to the display brightness corresponding to the first adjusting voltage, acquiring image information displayed by the lens; and determining a second adjusting voltage according to the image information, and adjusting the display brightness of the LED lamp according to the second adjusting voltage. According to the technical scheme, the brightness of the LED lamp of the mirror can be automatically adjusted according to the collected environmental parameters and the image information displayed in the lens, and the user experience is good.

Description

Brightness adjusting method for mirror, mirror and storage medium
Technical Field
The invention relates to the technical field of display, in particular to a brightness adjusting method of a mirror, the mirror and a storage medium.
Background
The mirror is visible everywhere in people's daily life, and traditional mirror generally does not have the function of illumination, and along with people's living standard improves day by day, the design of mirror is also making progress gradually, has appeared the mirror lamp that has the LED lamp gradually, however, is equipped with the mirror of LED lamp at present, and the luminance of LED lamp often is through user switch manual regulation, can not be according to the demonstration luminance of the LED lamp of environmental parameter automatically regulated mirror, leads to user experience poor.
Disclosure of Invention
The embodiment of the invention provides a brightness adjusting method of a mirror, the mirror and a storage medium, and aims to automatically adjust the brightness of an LED lamp of the mirror according to acquired environmental parameters and image information displayed in a lens and improve user experience.
In order to achieve the purpose, the invention provides a brightness adjusting method of a mirror, wherein the mirror comprises a mounting shell, a lens, an LED lamp, a collecting device and a circuit board;
the mounting shell is provided with a mounting space and a mounting opening communicated with the mounting space, the lens covers the mounting opening, and the LED lamp is arranged around the mounting opening; the circuit board is arranged in the mounting space, and the acquisition device is arranged on the surface of the mounting shell; the acquisition device is electrically connected with the circuit board, and the LED lamp is electrically connected with the circuit board; the brightness adjusting method of the mirror comprises the following steps:
controlling the acquisition device to acquire environmental parameters;
determining a first adjusting voltage according to the environment parameter, and adjusting the display brightness of the LED lamp according to the first adjusting voltage;
after the LED lamp displays according to the display brightness corresponding to the first adjusting voltage, acquiring image information displayed by the lens;
and determining a second adjusting voltage according to the image information, and adjusting the display brightness of the LED lamp according to the second adjusting voltage.
Optionally, the step of determining a first regulation voltage according to the environmental parameter includes:
determining a voltage regulation gear corresponding to the environmental parameter;
and controlling the circuit board to generate a first regulating voltage corresponding to the voltage regulating gear.
Optionally, the step of determining the voltage adjustment range corresponding to the environmental parameter includes:
determining a preset brightness range in which the value of the brightness parameter of the environment parameter is located;
and determining a voltage regulating gear corresponding to the preset brightness range according to the corresponding relation between the preset brightness range and the voltage regulating gear.
Optionally, the step of determining a second adjustment voltage according to the image information includes:
and acquiring preset characteristic information from the image information, and determining a second regulating voltage according to the preset characteristic information.
Optionally, the step of obtaining preset feature information from the image information and determining a second adjustment voltage according to the preset feature information includes:
acquiring face characteristic information and wearing characteristic information of a user from the image information;
calculating the gray value of the face feature information and the gray value of the wearing feature information;
calculating the gray value of the image information according to the gray value of the face feature information and the gray value of the wearing feature information;
and determining a second regulating voltage according to the gray value of the image information.
Optionally, the step of determining the second adjustment voltage according to the gray-scale value of the image information includes:
performing difference calculation on the gray value of the image information and a reference gray value to obtain a gray difference value;
and controlling the circuit board to generate a second regulating voltage corresponding to the gray difference value.
Optionally, after the step of acquiring the image information displayed by the lens after the LED lamp is displayed according to the display brightness corresponding to the first adjustment voltage, the method further includes:
judging whether the image information contains the face feature information of the user or not;
when the image information contains face feature information of a user, determining a second regulating voltage according to the image information;
and when the image information does not contain the face feature information of the user, reducing the display brightness of the LED lamp.
The present invention also provides a mirror comprising a memory, a processor and a mirror brightness adjustment program stored in the memory and executable on the processor, the brightness adjustment program of the mirror when executed by the processor implementing the steps of the mirror brightness adjustment method as described above.
Optionally, the mirror includes a mounting case, a lens, an LED lamp, a collecting device, and a circuit board;
the mounting shell is provided with a mounting space and a mounting opening communicated with the mounting space, the lens covers the mounting opening, and the LED lamp is arranged around the mounting opening; the circuit board is arranged in the mounting space, and the acquisition device is arranged on the surface of the mounting shell; the acquisition device is electrically connected with the circuit board, and the LED lamp is electrically connected with the circuit board; the LED lamp is electrically connected with the circuit board.
In order to achieve the above object, the present invention further provides a storage medium storing a brightness adjustment program of a mirror, which when executed by a processor implements the steps of the brightness adjustment method of a mirror as described above.
According to the technical scheme, the environment parameters are collected through the collecting device, the brightness of the LED of the mirror is preliminarily adjusted according to the environment parameters, the image information displayed in the lens is obtained after the brightness of the LED lamp of the mirror is preliminarily adjusted, and the brightness of the LED lamp of the mirror is readjusted according to the image information displayed in the lens, so that the brightness of the LED lamp of the mirror is close to the actual requirement of a user, and the user experience is good.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a method for adjusting brightness of a mirror according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a detailed process of step S41 in an embodiment of the method for adjusting brightness of a mirror according to the present invention;
FIG. 4 is a flowchart illustrating a brightness adjusting method for a mirror according to another embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: controlling the acquisition device to acquire environmental parameters; determining a first adjusting voltage according to the environment parameter, and adjusting the display brightness of the LED lamp according to the first adjusting voltage; after the LED lamp displays according to the display brightness corresponding to the first adjusting voltage, acquiring image information displayed by the lens; and determining a second adjusting voltage according to the image information, and adjusting the display brightness of the LED lamp according to the second adjusting voltage.
According to the technical scheme, the environment parameters are collected through the collecting device, the brightness of the LED of the mirror is preliminarily adjusted according to the environment parameters, the image information displayed in the lens is obtained after the brightness of the LED lamp of the mirror is preliminarily adjusted, and the brightness of the LED lamp of the mirror is readjusted according to the image information displayed in the lens, so that the brightness of the LED lamp of the mirror is close to the actual requirement of a user, and the user experience is good.
As an embodiment, the hardware structure of the mirror may be as shown in fig. 1.
An embodiment of the present invention relates to a mirror, including: a processor 1001, such as a CPU, a communication bus 1002, and a memory 1003. Wherein a communication bus 1002 is used to enable connective communication between these components.
The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). As shown in fig. 1, a brightness adjustment program of the mirror may be included in the memory 1003 as a kind of computer storage medium; and the processor 1001 may be configured to invoke the brightness adjustment program for the mirror stored in the memory 1003 and perform the following operations:
controlling the acquisition device to acquire environmental parameters;
determining a first adjusting voltage according to the environment parameter, and adjusting the display brightness of the LED lamp according to the first adjusting voltage;
after the LED lamp displays according to the display brightness corresponding to the first adjusting voltage, acquiring image information displayed by the lens;
and determining a second adjusting voltage according to the image information, and adjusting the display brightness of the LED lamp according to the second adjusting voltage.
Alternatively, the processor 1001 may be configured to call up a brightness adjustment program for the mirror stored in the memory 1003, and perform the following operations:
determining a voltage regulation gear corresponding to the environmental parameter;
and controlling the circuit board to generate a first regulating voltage corresponding to the voltage regulating gear.
Alternatively, the processor 1001 may be configured to call up a brightness adjustment program for the mirror stored in the memory 1003, and perform the following operations:
determining a preset brightness range in which the value of the brightness parameter of the environment parameter is located;
and determining a voltage regulating gear corresponding to the preset brightness range according to the corresponding relation between the preset brightness range and the voltage regulating gear.
Alternatively, the processor 1001 may be configured to call up a brightness adjustment program for the mirror stored in the memory 1003, and perform the following operations:
and acquiring preset characteristic information from the image information, and determining a second regulating voltage according to the preset characteristic information.
Alternatively, the processor 1001 may be configured to call up a brightness adjustment program for the mirror stored in the memory 1003, and perform the following operations:
acquiring face characteristic information and wearing characteristic information of a user from the image information;
calculating the gray value of the face feature information and the gray value of the wearing feature information;
calculating the gray value of the image information according to the gray value of the face feature information and the gray value of the wearing feature information;
and determining a second regulating voltage according to the gray value of the image information.
Alternatively, the processor 1001 may be configured to call up a brightness adjustment program for the mirror stored in the memory 1003, and perform the following operations:
performing difference calculation on the gray value of the image information and a reference gray value to obtain a gray difference value;
and controlling the circuit board to generate a second regulating voltage corresponding to the gray difference value.
Alternatively, the processor 1001 may be configured to call up a brightness adjustment program for the mirror stored in the memory 1003, and perform the following operations:
judging whether the image information contains the face feature information of the user or not;
when the image information contains face feature information of a user, determining a second regulating voltage according to the image information;
and when the image information does not contain the face feature information of the user, reducing the display brightness of the LED lamp.
Fig. 2 is a flowchart illustrating a brightness adjusting method of a mirror according to an embodiment of the present invention.
In this embodiment, the brightness adjusting method of the mirror is applied to a mirror, the mounting shell is provided with a mounting space and a mounting opening communicated with the mounting space, the lens covers the mounting opening, and the LED lamp is arranged around the mounting opening; the circuit board is arranged in the mounting space, and the acquisition device is arranged on the surface of the mounting shell; the collecting device is electrically connected with the circuit board, and the LED lamp is electrically connected with the circuit board.
The brightness adjusting method of the mirror comprises the following steps:
step S1, controlling the acquisition device to acquire environmental parameters;
the acquisition device is used for acquiring surrounding environment parameters, such as brightness parameters, color parameters and the like. The acquisition device may be composed of a single sensor or may be composed of a plurality of sensors, such as a brightness sensor, a color sensor, and the like. When the LED lamp of the mirror is powered on, the display brightness of the LED lamp of the mirror is displayed when the LED lamp is powered off for the last time, meanwhile, the acquisition device acquires the environmental parameters in real time and transmits the acquired environmental parameters to the circuit board of the mirror so as to be analyzed and processed by the processor in the circuit board.
Step S2, determining a first adjusting voltage according to the environmental parameter, and adjusting the display brightness of the LED lamp according to the first adjusting voltage;
the first adjusting voltage is used for being output to the LED lamp so as to adjust the brightness of the LED lamp. The processor analyzes and processes the received environment parameters and generates first adjusting voltage corresponding to the received environment parameters, for example, the value of the color parameter in the environment parameters is obtained, and then the first adjusting voltage corresponding to the value of the color parameter is determined according to the corresponding relation between the value of the color parameter and the first adjusting voltage; or acquiring the value of the brightness parameter in the environmental parameter, and determining the first adjusting voltage corresponding to the value of the brightness parameter according to the corresponding relation between the value of the brightness parameter and the first adjusting voltage. The circuit board outputs the first adjusting voltage to the LED lamp so as to adjust the display brightness of the LED lamp. The processor can generate the corresponding first regulating voltage by changing the duty ratio of the output pulse signal.
Specifically, in an embodiment, step S2 includes:
step S21, determining a voltage regulation gear corresponding to the environmental parameter;
in this embodiment, a plurality of voltage adjustment gears are set in the circuit in advance, and if the voltage adjustment gears are different, the voltages output to the LED lamp are different, for example, the voltage adjustment gears are divided into a high gear, a medium gear, and a low gear; if the voltage regulating gear is high, the voltage output to the LED lamp is 5V; if the voltage adjusting gear is a middle gear, the voltage output to the LED lamp is 4.5V; if the voltage adjusting gear is low, the voltage output to the LED lamp is 4V, and the like. And after the environmental parameters are obtained, determining the corresponding voltage regulating gear according to the environmental parameters. For example, taking an environmental parameter as an example of the brightness parameter, storing a corresponding relationship between the brightness parameter and the voltage adjustment gear in a storage device of the circuit board in advance, extracting the brightness parameter from the environmental parameter after obtaining the environmental parameter, calculating a value of the brightness parameter, and determining the voltage adjustment gear corresponding to the brightness parameter of the environmental parameter according to the corresponding relationship between the value of the brightness parameter and the voltage adjustment gear.
Specifically, step S21 includes:
step S211, determining a preset brightness range in which the brightness parameter value of the environment parameter is located;
in this embodiment, after obtaining the environmental parameter, the brightness parameter in the environmental parameter is extracted, and a preset brightness range in which the value of the extracted brightness parameter is located is determined, where the preset brightness range may be preset and stored in the storage device.
Step S212, according to the corresponding relation between the preset brightness range and the voltage adjusting gear, determining the voltage adjusting gear corresponding to the preset brightness range.
And after the preset brightness range in which the extracted brightness parameter value is positioned is determined, determining a voltage regulating gear corresponding to the preset brightness range according to the corresponding relation between the preset brightness range and the voltage regulating gear. For example, if the preset brightness range is a to B, the voltage regulation gear is high, if the preset brightness range is B to C, the voltage regulation gear is medium, and if the preset brightness range is C to D, the voltage regulation gear is low.
And step S22, controlling the circuit board to generate a first regulating voltage corresponding to the voltage regulating gear.
After the voltage regulating gear is determined, a first regulating voltage corresponding to the voltage regulating gear is determined according to the corresponding relation between the voltage regulating gear and the first regulating voltage. For example, if the voltage adjustment gear is high, the first adjustment voltage output to the LED lamp is 5V; if the voltage adjusting gear is a middle gear, the first adjusting voltage output to the LED lamp is 4.5V; if the voltage adjustment gear is low, the first adjustment voltage output to the LED lamp is 4V, and the like.
Step S3, after the LED lamp displays according to the display brightness corresponding to the first adjusting voltage, collecting the image information displayed by the lens;
in this embodiment, can be at indoor installation image acquisition device, for example camera, and image acquisition device can be connected with the circuit board communication through communication module, for example 4G module, WIFI module or bluetooth module etc.. After the LED lamp displays with the display brightness corresponding to the first adjusting voltage, the processor further controls the image acquisition device to acquire the image information displayed in the lens, namely controls the camera or the camera to shoot the image currently displayed in the lens, and acquires the image information acquired by the image acquisition device. By collecting the image information displayed in the lens, whether the user state displayed in the lens is the best display state after the brightness of the LED lamp is adjusted is judged, namely, whether the overall effect of the user in the mirror, such as skin color, brightness and the like, is the best display state after the brightness of the LED lamp is adjusted is judged.
And step S4, determining a second adjusting voltage according to the image information, and adjusting the display brightness of the LED lamp according to the second adjusting voltage.
After the image information acquired by the image acquisition device is obtained, the processor determines a second adjustment voltage according to the acquired image information, for example, the gray value of the image is calculated according to the acquired image information, then the second adjustment voltage is determined according to the gray value of the image, and then the brightness of the LED lamp is adjusted again according to the second adjustment voltage, so that the brightness of the LED lamp is closest to the actual requirement of a user, and the user looks into a mirror at the brightness, so that the display effect is optimal.
Optionally, in an embodiment, step S4 includes:
step S41, obtaining preset feature information from the image information, and determining a second adjustment voltage according to the preset feature information.
The preset feature information may be face feature information of a user in the image information, wearing feature information of the user, and may also be environmental feature information around the user. In this embodiment, the preset feature information may be obtained from the image information according to actual needs, and the second adjustment voltage may be determined according to the obtained preset feature information. For example, if the mirror is mainly used for making up by a user, the preset feature information may be face feature information in an image, and the second adjustment voltage is determined according to the face feature information, so that after the LED lamp is displayed at the display brightness corresponding to the second adjustment voltage, the making-up effect of the user in the mirror is optimal.
Optionally, in an embodiment, referring to fig. 3, step S41 includes:
step S411, obtaining face feature information and wearing feature information of a user from the image information;
in this embodiment, the preset feature information is face feature information of a user in the image and wearing feature information of the user. After the image information acquired by the image acquisition device is obtained, the face characteristic information and the wearing characteristic information of the user are extracted from the image.
Step S412, calculating the gray value of the face feature information and the gray value of the wearing feature information;
the gray value refers to the color depth of a pixel point in an image, namely the RGB value of the image, and each pixel point of the image has a corresponding RGB value. In this embodiment, after the image information acquired by the image acquisition device is obtained, a part of the image about the facial features of the user and a part of the image about the wearing features of the user in the image are determined, and then the average gray value of the part of the image about the facial features of the user and the average gray value of the part of the image about the wearing features of the user are calculated. Specifically, the RGB values of each pixel point in the partial image of the user face feature may be calculated first, then the calculated RGB values of each pixel point are accumulated to obtain the total RGB value of the partial image of the user face feature, and then the ratio between the total RGB value and the total number of pixels of the partial image of the user face feature is calculated to obtain the average gray value of the partial image of the user face feature. The average gray value of the portion of the image of the user wearing feature in the image is calculated in the same manner.
Step S413, calculating a gray value of the image information according to the gray value of the face feature information and the gray value of the wearing feature information;
after obtaining the average gray value of the part of the image related to the human face feature and the average gray value of the part of the image related to the wearing feature of the user in the image, calculating the gray value of the whole image according to the average gray value of the human face feature and the average gray value of the wearing feature, for example, taking 70% of the average gray value of the human face feature and 30% of the average gray value of the wearing feature to be added as the gray value of the image; or, taking the sum of 50% of the average gray value of the human face features and 50% of the average gray value of the wearing features as the gray value of the image, wherein the gray value can be set according to actual needs. In other embodiments, the RGB values of each pixel point in the acquired image may be calculated, the RGB values of each pixel point are added to obtain a total RGB value, and then the ratio of the total RGB value to the total number of pixels is calculated to obtain the gray value of the image information. The gray value of the image is calculated according to the gray value of the part of the image with the human face characteristics and the gray value of the part of the image with the wearing characteristics in the image information, and the brightness of the LED lamp is adjusted according to the gray value, so that the user looks like the mirror under the brightness, the makeup and wearing effects of the user are best seen, and the display brightness of the mirror is most close to the real requirements of the user.
Step S414, determining a second adjustment voltage according to the gray-level value of the image information.
After the gray value of the image information is obtained, the second regulating voltage is determined according to the gray value of the image.
Specifically, step S414 includes:
step S4141 performs a difference calculation on the gray value of the image information and a reference gray value to obtain a gray difference value;
the reference gray value is an ideal gray value of the image. After the gray value of the acquired image is obtained, the gray difference value between the gray value of the image and the ideal gray value is further calculated, so that a second adjusting voltage is determined according to the gray difference value, and the display brightness of the LED lamp is adjusted again through the second adjusting voltage, so that the display brightness of the LED lamp is closest to the real requirement of a user.
And step S4142, controlling the circuit board to generate a second regulating voltage corresponding to the gray difference value.
After obtaining the gray scale difference value, calculating a second adjustment voltage according to the gray scale difference value, for example, the second adjustment voltage corresponding to the gray scale difference value may be determined according to a correspondence relationship between the gray scale difference value and the second adjustment voltage; or, determining a preset gray scale range in which the gray scale difference value is located, and then determining a second adjusting voltage corresponding to the gray scale difference value according to the corresponding relation between the preset gray scale range and the second adjusting voltage.
According to the technical scheme of the embodiment, the first adjusting voltage is determined according to the environmental parameters, so that the brightness of the LED lamp is adjusted according to the first adjusting voltage, then the image information displayed in the lens under the display brightness is collected, the second adjusting voltage is determined according to the image information displayed in the lens, the display brightness of the LED lamp is adjusted again, the display brightness of the LED lamp is enabled to be closest to the real requirement of a user, the user looks into the mirror under the display brightness, and the overall effect of dressing and wearing is optimal.
In one implementation, referring to fig. 4, after step S3, the method further includes:
step S31, judging whether the image information contains the face feature information of the user;
after the LED lamp displays the image information by the first adjusting voltage, the image information displayed by the lens is obtained, and the processor further judges whether the collected image information contains human face characteristic information, namely whether a user looks into the mirror is judged.
Step S32, when the image information contains the face feature information of the user, determining a second regulating voltage according to the image information is executed;
the processor performs the step of determining a second adjustment voltage based on the image information when a user is looking into the mirror.
And step S33, when the image information does not contain the face feature information of the user, reducing the display brightness of the LED lamp.
When the image information does not contain the face feature information of the user, namely when no user uses the mirror, the processor outputs a control signal, for example, the duty ratio of the pulse signal is reduced to reduce the brightness of the LED lamp, or the LED lamp is turned off, so that the purpose of saving power consumption is achieved.
In this embodiment, after the display brightness of the LED lamp is adjusted according to the ambient brightness, the processor controls the image acquisition device to acquire image information displayed in the lens at this time, so as to determine whether a user is looking into the mirror currently, and if no user is looking into the mirror currently, the processor controls the LED lamp to display at a lower brightness, so as to achieve the purpose of saving power consumption.
The present invention also provides a mirror including a processor, a memory, and a mirror brightness adjustment program stored on the memory and executable on the processor, the mirror brightness adjustment program, when executed by the processor, implementing the steps of the mirror brightness adjustment method as described in the above embodiments.
The mirror comprises a mounting shell, a lens, an LED lamp, a collecting device and a circuit board; the mounting shell is provided with a mounting space and a mounting opening communicated with the mounting space, the lens covers the mounting opening, and the LED lamp is arranged around the mounting opening; the circuit board is arranged in the mounting space; the collecting device is in communication connection with the circuit board, and the LED lamp is electrically connected with the circuit board.
The present invention also provides a storage medium storing a brightness adjustment program for a mirror, which when executed by the processor implements the steps of the brightness adjustment method for a mirror as described in the above embodiments.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. The brightness adjusting method of the mirror is characterized in that the mirror comprises a mounting shell, a lens, an LED lamp, a collecting device and a circuit board;
the mounting shell is provided with a mounting space and a mounting opening communicated with the mounting space, the lens covers the mounting opening, and the LED lamp is arranged around the mounting opening; the circuit board is arranged in the mounting space, and the acquisition device is arranged on the surface of the mounting shell; the acquisition device is electrically connected with the circuit board, and the LED lamp is electrically connected with the circuit board; the brightness adjusting method of the mirror comprises the following steps:
when the LED lamp is powered on, displaying the display brightness of the LED lamp when the LED lamp is powered off for the last time;
controlling the acquisition device to acquire environmental parameters;
determining a first adjusting voltage according to the environment parameter, and adjusting the display brightness of the LED lamp according to the first adjusting voltage; specifically, the step of determining the first adjustment voltage according to the environmental parameter includes: determining a preset brightness range in which the value of the brightness parameter of the environment parameter is located; determining a voltage regulating gear corresponding to a preset brightness range according to the corresponding relation between the preset brightness range and the voltage regulating gear; controlling the circuit board to generate a first regulating voltage corresponding to the voltage regulating gear;
after the LED lamp displays according to the display brightness corresponding to the first adjusting voltage, controlling an image acquisition device to acquire image information displayed by the lens;
judging whether the image information contains the face feature information of the user or not;
when the image information contains face feature information of a user, determining second adjusting voltage according to the image information, and adjusting the display brightness of the LED lamp according to the second adjusting voltage;
and when the image information does not contain the face feature information of the user, reducing the display brightness of the LED lamp.
2. A method of adjusting brightness of a mirror as claimed in claim 1, characterized in that said step of determining a second adjustment voltage based on said image information comprises:
and acquiring preset characteristic information from the image information, and determining a second regulating voltage according to the preset characteristic information.
3. A method for adjusting brightness of mirror according to claim 2, wherein said step of obtaining preset characteristic information from said image information and determining a second adjustment voltage based on said preset characteristic information comprises:
acquiring face characteristic information and wearing characteristic information of a user from the image information;
calculating the gray value of the face feature information and the gray value of the wearing feature information;
calculating the gray value of the image information according to the gray value of the face feature information and the gray value of the wearing feature information;
and determining a second regulating voltage according to the gray value of the image information.
4. A method of adjusting brightness of a mirror according to claim 3, characterized in that said step of determining a second adjustment voltage based on a gray value of said image information comprises:
performing difference calculation on the gray value of the image information and a reference gray value to obtain a gray difference value;
and controlling the circuit board to generate a second regulating voltage corresponding to the gray difference value.
5. A mirror, characterized in that the mirror comprises a memory, a processor and a mirror brightness adjustment program stored in the memory and executable on the processor, which when executed by the processor implements the steps of the mirror brightness adjustment method according to any one of claims 1-4.
6. The mirror as claimed in claim 5, wherein said mirror includes a mounting housing, a lens, an LED lamp, a collection device, and a circuit board;
the mounting shell is provided with a mounting space and a mounting opening communicated with the mounting space, the lens covers the mounting opening, and the LED lamp is arranged around the mounting opening; the circuit board is arranged in the mounting space, and the acquisition device is arranged on the surface of the mounting shell; the collecting device is electrically connected with the circuit board, and the LED lamp is electrically connected with the circuit board.
7. A storage medium, characterized in that the storage medium stores a mirror brightness adjustment program, which when executed by a processor implements the steps of the mirror brightness adjustment method according to any one of claims 1 to 4.
CN201910845576.0A 2019-09-06 2019-09-06 Brightness adjusting method for mirror, mirror and storage medium Active CN110572906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910845576.0A CN110572906B (en) 2019-09-06 2019-09-06 Brightness adjusting method for mirror, mirror and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910845576.0A CN110572906B (en) 2019-09-06 2019-09-06 Brightness adjusting method for mirror, mirror and storage medium

Publications (2)

Publication Number Publication Date
CN110572906A CN110572906A (en) 2019-12-13
CN110572906B true CN110572906B (en) 2022-04-29

Family

ID=68778344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910845576.0A Active CN110572906B (en) 2019-09-06 2019-09-06 Brightness adjusting method for mirror, mirror and storage medium

Country Status (1)

Country Link
CN (1) CN110572906B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394972A (en) * 2011-10-24 2012-03-28 惠州Tcl移动通信有限公司 Mobile phone and method for adjusting brightness of display based on mobile phone
CN103313475A (en) * 2013-05-30 2013-09-18 天津大学 Ambient brightness regulation and control system
CN106068048B (en) * 2016-05-25 2018-05-22 中国地质大学(武汉) A kind of light adaptive regulation method and system based on face brightness identification
CN106681609B (en) * 2016-12-15 2019-01-18 珠海格力电器股份有限公司 A kind of terminal device screen luminance adjustment method, device and terminal device
CN107734796B (en) * 2017-10-09 2019-10-29 广州视源电子科技股份有限公司 Mirror surface shows product lamp bar brightness adjusting method, device, equipment and storage medium
CN107832745B (en) * 2017-11-30 2020-10-23 深圳云天励飞技术有限公司 Face authentication method, intelligent mirror and storage medium
CN108875545B (en) * 2018-04-12 2022-02-08 北京旷视科技有限公司 Method, device and system for determining light state of face image and storage medium
CN109640482A (en) * 2018-12-24 2019-04-16 嘉兴市大树镜业有限公司 Lamp mirror and dimming controlling method based on lamp mirror

Also Published As

Publication number Publication date
CN110572906A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
US11211030B2 (en) Electronic device with adaptive display
CN100409299C (en) Liquid crystal display picture brightness automatic regulating device and its method
CN110609722A (en) Dark mode display interface processing method, electronic equipment and storage medium
JP4903577B2 (en) Video signal converter, video display device
CN108281125B (en) Method, device and equipment for adjusting backlight brightness according to human eye characteristics
CN107749289B (en) Brightness adjusting method and device, brightness adjusting system and augmented reality equipment
WO2019165934A1 (en) Method for adjusting display brightness level, and electronic device
EP1143326A2 (en) Computer display optimizer
CN109064966B (en) Driving method and driving chip of display panel and display device
CN107945766A (en) Display device
WO2016065053A2 (en) Automatic display image enhancement based on user's visual perception model
EP2212880B1 (en) Power saving transmissive display
CN105472174A (en) Intelligent eye protecting method achieved by controlling distance between mobile terminal and eyes
CN113240112A (en) Screen display adjusting method and device, electronic equipment and storage medium
CN104200794A (en) Image adjusting method and display
CN102164239A (en) Image display device, brightness control method and brightness control program
CN105702230A (en) Method and device for adjusting backlight brightness of display screen of terminal and terminal
CN102169683A (en) Image display device, brightness control method and brightness control program
CN110572906B (en) Brightness adjusting method for mirror, mirror and storage medium
CN102164240B (en) Image display device and brightness control method
CN112233631B (en) Automatic screen brightness adjusting device and method for all-solid tablet personal computer
CN107968939B (en) Display screen processing method and device, storage medium and electronic device
WO2016078440A1 (en) Method and apparatus for controlling screen of mobile terminal
US20130286057A1 (en) Method of driving 3d shutter glasseses (spectacles), a shutter spectacles apparatus for performing the method and display apparatus having the shutter spectacles apparatus
CN113531822B (en) Control method and device for air conditioner, air conditioner and storage medium

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