CN108784174B - Bathroom mirror and control method thereof - Google Patents

Bathroom mirror and control method thereof Download PDF

Info

Publication number
CN108784174B
CN108784174B CN201710289333.4A CN201710289333A CN108784174B CN 108784174 B CN108784174 B CN 108784174B CN 201710289333 A CN201710289333 A CN 201710289333A CN 108784174 B CN108784174 B CN 108784174B
Authority
CN
China
Prior art keywords
beard
user
bathroom mirror
display
face
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
CN201710289333.4A
Other languages
Chinese (zh)
Other versions
CN108784174A (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.)
Midea Group Co Ltd
Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Wuhu Midea Kitchen and Bath Appliances Manufacturing 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 Midea Group Co Ltd, Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201710289333.4A priority Critical patent/CN108784174B/en
Publication of CN108784174A publication Critical patent/CN108784174A/en
Application granted granted Critical
Publication of CN108784174B publication Critical patent/CN108784174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47GHOUSEHOLD OR TABLE EQUIPMENT
    • A47G1/00Mirrors; Picture frames or the like, e.g. provided with heating, lighting or ventilating means
    • A47G1/02Mirrors used as equipment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships

Abstract

The invention discloses a bathroom mirror and a control method thereof, wherein the bathroom mirror comprises: the camera shooting assembly is used for scanning the face of the user after being started so as to acquire a face image of the user; the beard recognition component is used for recognizing beard in the facial image of the user according to a pre-stored recognition algorithm to generate beard recognition data; a display assembly; the control chip is respectively connected with the camera shooting assembly, the beard identification assembly and the display assembly, and is used for judging whether the beard is left on the face of the user according to the beard identification data and controlling the display assembly to display and remind according to the left beard when judging that the beard is left on the face of the user, so that whether the beard is left on the face of the user can be identified, and the satisfaction degree of the user is improved.

Description

Bathroom mirror and control method thereof
Technical Field
The invention relates to the technical field of water heaters, in particular to a bathroom mirror and a control method of the bathroom mirror.
Background
At present, bathrooms have become an important part of life, and people are more and more concerned about the intellectualization of bathrooms, especially the intellectualization of bathroom mirrors in bathrooms. In the related art, when a user shaves the face in a bathroom, the user needs to closely check whether the beard of the face is shaved or not very close to the mirror end, so that partial beard is possibly missed, the personal image of the user is affected to a certain extent, and the user satisfaction is low.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, an object of the present invention is to provide a bathroom mirror capable of recognizing whether the user's face has beard, and improving user satisfaction.
Another object of the present invention is to provide a method for controlling a bathroom mirror.
To achieve the above object, according to one aspect of the present invention, there is provided a bathroom mirror comprising: the camera shooting assembly is used for scanning the face of the user after being started so as to acquire a face image of the user; the beard recognition component is used for recognizing beard in the facial image of the user according to a pre-stored recognition algorithm to generate beard recognition data; a display assembly; the control chip is respectively connected with the camera shooting assembly, the beard identification assembly and the display assembly, and is used for judging whether the beard remains on the face of the user according to the beard identification data and controlling the display assembly to display and remind according to the remaining beard when judging that the beard remains on the face of the user.
According to the bathroom mirror provided by the embodiment of the invention, the control chip controls the camera assembly to scan the face of the user after the camera assembly is started so as to acquire the face image of the user, and then the beard recognition assembly is used for recognizing the beard in the face image of the user according to the prestored recognition algorithm so as to generate beard recognition data, judging whether the beard remains on the face of the user according to the beard recognition data, and controlling the display assembly to display reminding according to the remaining beard when judging that the beard remains on the face of the user, so that the user can timely know whether the beard remains on the face of the user or not, and prompts the user to remind the user to shave the remaining beard under the condition that the beard remains, so that the bathroom mirror is more intelligent and humanized, provides convenience for the user to shave the beard, and improves the satisfaction of the user.
According to one embodiment of the invention, the bathroom mirror further comprises: the shaving action recognition unit is connected with the control chip and is used for recognizing the shaving action of a user, and the control chip controls the beard recognition component to recognize beard in the facial image of the user when the shaving action recognition unit recognizes the shaving action.
According to one embodiment of the present invention, the beard recognition data includes beard length data, wherein the beard recognition component is further configured to recognize a facial image of the user to recognize a shaving area and a reference area corresponding to the beard area, and to recognize beard in the shaving area and the reference area according to the pre-stored recognition algorithm to generate a first beard length and a second beard length, respectively; the control chip judges whether the user's face remains beard according to the first beard length and the second beard length, and judges that the user's face remains beard when the difference between the first beard length and the second beard length is greater than a preset threshold value.
According to one embodiment of the invention, the control chip marks the beard left on the face image according to a preset mark, and displays the marked face image through the display component.
According to one embodiment of the invention, the bathroom mirror further comprises: the receiving component is connected with the control chip and is used for receiving a trigger instruction of a user so that the control chip controls the camera shooting component to be started according to the trigger instruction.
According to one embodiment of the present invention, the receiving component is further configured to receive an enlarged display instruction of a user; the control chip is also used for determining an amplifying region of the facial image according to the amplifying display instruction and amplifying and displaying the amplifying region through the display component.
According to one embodiment of the invention, the bathroom mirror further comprises: the wireless communication module is connected with the control chip, the wireless communication module is in wireless communication with the server, and the control chip receives the identification algorithm sent by the server through the wireless communication module and updates the pre-stored identification algorithm according to the identification algorithm sent by the server.
According to one embodiment of the invention, the bathroom mirror further comprises: the storage unit is connected with the control chip and used for storing the beard identification data of each shaving process, and the control chip is used for controlling the display assembly to play back and display each shaving process according to the beard identification data stored by the storage unit.
In order to achieve the above object, another embodiment of the present invention provides a method for controlling a bathroom mirror, including the following steps: scanning the face of the user through the camera shooting assembly after the camera shooting assembly of the bathroom mirror is started so as to acquire a face image of the user; identifying beards in the facial images of the users according to a pre-stored identification algorithm to generate beards identification data; judging whether the beard remains on the face of the user according to the beard identification data; and when judging that the beard remains on the face of the user, controlling the bathroom mirror to display reminding according to the remaining beard.
According to the control method of the bathroom mirror, firstly, after the camera component of the bathroom mirror is started, the face of the user is scanned through the camera component to acquire the face image of the user, then, the beard in the face image of the user is identified according to the prestored identification algorithm to generate beard identification data, whether the beard remains on the face of the user is judged according to the beard identification data, and then, the bathroom mirror is controlled to display and remind according to the remaining beard when the face of the user is judged to remain, so that the user can timely know whether the beard remains on the face of the user or not, and prompt is carried out on the user under the condition that the beard remains is shaved to remind the user of removing the remaining beard, so that the bathroom mirror is more intelligent and humanized, convenience is provided for the user to shave the beard, and the satisfaction of the user is improved.
According to one embodiment of the invention, the control method of the bathroom mirror further comprises: identifying a shaving action of the user; the beard in the facial image of the user is identified upon identification of the shaving action.
According to one embodiment of the invention, the beard identification data comprises beard length data, the method further comprising: identifying the facial image of the user to identify a shaving area and a reference area corresponding to the beard area; identifying the beard in the shaving area and the reference area according to the pre-stored identification algorithm respectively to correspondingly generate a first beard length and a second beard length; judging whether the facial hair of the user remains according to the first hair length and the second hair length, and judging that the facial hair of the user remains when the difference between the first hair length and the second hair length is larger than a preset threshold value.
According to one embodiment of the present invention, the controlling the bathroom mirror to display the reminder according to the remaining beards includes: and marking the beard left on the face image according to a preset mark, and displaying the marked face image.
According to one embodiment of the invention, the control method of the bathroom mirror further comprises: receiving a triggering instruction of a user; and controlling the camera shooting assembly to be started according to the trigger instruction.
According to one embodiment of the invention, the control method of the bathroom mirror further comprises: receiving an amplified display instruction of a user; and determining an enlarged area of the face image according to the enlarged display instruction, and carrying out enlarged display on the enlarged area.
According to one embodiment of the invention, the control method of the bathroom mirror further comprises: the wireless communication module of the bathroom mirror is communicated with a server to receive an identification algorithm sent by the server; and updating the pre-stored recognition algorithm according to the recognition algorithm sent by the server.
According to one embodiment of the invention, the control method of the bathroom mirror further comprises: storing beard identification data for each shaving session; and controlling the bathroom mirror to play back and display each shaving process according to the stored beard identification data.
Drawings
FIG. 1 is a block schematic diagram of a bathroom mirror according to an embodiment of the invention;
FIG. 2 is a block schematic diagram of a bathroom mirror according to one embodiment of the invention;
FIG. 3 is a schematic plan view of a display assembly in a bathroom mirror according to one embodiment of the invention;
FIG. 4 is a block schematic diagram of a bathroom mirror according to another embodiment of the invention;
FIG. 5 is a block schematic diagram of a bathroom mirror according to yet another embodiment of the invention;
FIG. 6 is a block schematic diagram of a bathroom mirror according to yet another embodiment of the invention;
FIG. 7 is a flow chart of a method of controlling a bathroom mirror according to an embodiment of the invention; and
FIG. 8 is a flow chart of a method of controlling a bathroom mirror according to one embodiment of the invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The bathroom mirror and the control method thereof according to the embodiment of the present invention are described below with reference to the accompanying drawings.
FIG. 1 is a block schematic diagram of a bathroom mirror according to an embodiment of the invention. As shown in fig. 1, the bathroom mirror 100 includes: the device comprises a camera assembly 10, a beard recognition assembly 20, a display assembly 30 and a control chip 40.
Wherein, the camera assembly 10 is used for scanning the face of the user after being started to acquire the face image of the user; the beard recognition component 20 is used for recognizing beard in the facial image of the user according to a pre-stored recognition algorithm to generate beard recognition data; the control chip 40 is respectively connected with the camera module 10, the beard recognition module 20 and the display module 30, and the control chip 40 is used for judging whether the beard remains on the face of the user according to the beard recognition data and controlling the display module to display and remind according to the remaining beard when judging that the beard remains on the face of the user.
According to one specific example of the invention, the camera assembly 10 may include a camera head disposed on the bathroom mirror 100, and more specifically, the camera assembly 10 is disposed above the bathroom mirror 100.
Specifically, after the control chip 40 controls the image capturing assembly 10 to be turned on, the image capturing assembly 10 scans the face of the user to acquire a face image of the user, that is, the image capturing assembly 10 may capture the face image of the user. After the camera assembly 10 collects the facial image of the user, the beard recognition assembly 20 recognizes beards in the facial image of the user according to a pre-stored recognition algorithm to generate beard recognition data, and the control chip 40 judges whether the beards are left on the face of the user according to the beards recognition data, and controls the display assembly 30 to display a reminder according to the left beards when judging that the beards are left on the face of the user, so that the user is informed of the fact that the left beards are shaved when judging that the beards are left on the face of the user.
Wherein, as shown in fig. 2, the bathroom mirror 100 further comprises: the shaving action recognition unit 50, the shaving action recognition unit 50 is connected to the control chip 40, the shaving action recognition unit 50 is used for recognizing the shaving action of the user, and the control chip 40 controls the beard recognition assembly 20 to recognize beard in the facial image of the user when the shaving action recognition unit 50 recognizes the shaving action.
That is, when the shaving action recognition unit 50 recognizes the shaving action of the user, the control chip 40 controls the beard recognition assembly 20 to recognize the beard in the facial image of the user according to a pre-stored recognition algorithm. In other words, when the control chip 40 controls the camera module 10 to turn on and collect the facial image of the user, the beard recognition module 20 may not recognize the beard in the facial image of the user, but after the shaving action recognition unit 50 recognizes that the user starts the shaving action, the control chip 40 controls the beard recognition module 20 to recognize the beard in the facial image of the user to generate the beard recognition data.
Further, according to an embodiment of the present invention, the beard recognition data includes beard length data, wherein the beard recognition component 20 is further configured to recognize facial images of a user to recognize a shaving area and a reference area corresponding to the beard area, and recognize beard in the shaving area and the reference area according to a pre-stored recognition algorithm to generate a first beard length and a second beard length, respectively; the control chip 40 judges whether the user's face remains beard according to the first and second beard lengths, and judges that the user's face remains beard when the difference between the first and second beard lengths is greater than a preset threshold value.
The preset threshold may be calibrated according to different requirements of the user, for example, may be 1mm, and may be pre-stored in the control chip 40.
It should be understood that the shaving area may refer to an area where shaving is desired, and the reference area may refer to an area where shaving is already performed and no longer is desired, i.e. the shaving area is longer than the length of the hairs of the reference area.
That is, after the shaving action recognition unit 50 recognizes the shaving action of the user, the shaving-hair recognition assembly 20 recognizes the facial image of the user to recognize the shaving area and the reference area corresponding to the shaving area. And, when the beard recognition assembly 20 recognizes that the difference between the first beard length corresponding to the shaving area and the second beard length corresponding to the reference area is greater than a preset threshold value, for example, 1mm, the control chip 40 judges that the user's face has the remaining beard. In other words, a beard is considered to be a legacy beard during shaving when the first beard length of the shaving area and the surrounding second beard length have a length difference of more than 1 mm. The length difference, i.e., the preset threshold, can be freely set by the bathroom mirror 100 to meet the shaving needs of different users.
According to one embodiment of the present invention, the control chip 40 performs identification of the beard left on the face image according to a preset identification, and displays the identified face image through the display assembly 30.
The preset mark may be a red circle.
That is, when the beard recognition assembly 20 recognizes that there is a remaining beard in the facial image of the user, the control chip 40 may circle the portion where there is a remaining beard using a red circle and display it through the display assembly 30.
It should be noted that, the display assembly 30 may be a display screen of the bathroom mirror 100, as shown in fig. 3, the display assembly 30 is divided into a left portion and a right portion, the left portion is an image display area a, and the right portion is a menu bar B. After the bathroom mirror 100 is powered up, the functions of the various portions of the control chip 40 are initialized. After the initialization is completed, the display assembly 30 of the bathroom mirror 100, i.e., the display screen, is in a closed state, and when it is detected that the user presses down any point of the display assembly 30 on the bathroom mirror 100 to wake up it, the display screen of the bathroom mirror 100 is lighted and displays a home screen.
According to one embodiment of the present invention, as shown in FIG. 4, bathroom mirror 100 further comprises: the receiving component 60, the receiving component 60 is connected with the control chip 40, and the receiving component 60 is used for receiving a trigger instruction of a user, so that the control chip 40 controls the camera shooting component 10 to be started according to the trigger instruction.
That is, the camera module 10 is normally in an off state to protect the privacy security of the user, and the control chip 40 controls the camera module 10 to be turned on when the receiving module 60 receives the trigger instruction of the user.
The triggering command may be a command triggered by clicking a shaving legacy key in the menu bar B displayed on the display component 30, in other words, when the user clicks the shaving legacy key, the receiving component 60 may receive the triggering command of the user and send the triggering command to the control chip 40, and then the control chip 40 controls the camera component 10 to be turned on according to the triggering command.
It should be understood that, after the display screen of the bathroom mirror 100 is lighted, if the receiving component 60 receives a trigger instruction from the user, the control chip 40 controls the image display area a of the display component 30 to display an animation of shaving to prompt the user to currently prepare to enter the operation mode of shaving recognition, and after the animation prompts for a preset time, for example, 5 seconds, the control chip 40 controls the camera component 10 to be turned on. The camera assembly 10 then captures an image of the user's face while the control chip 40 controls the display assembly 30 to display the image of the user's face so that the user views the image of the face prior to shaving. After the shaving recognition unit 50 recognizes the shaving action of the user, the beard recognition unit 20 recognizes the beard in the facial image of the user, and when the beard recognition unit 20 recognizes that the user's face has the remaining beard according to the shaving process of the user, the control chip 40 recognizes the portion of the remaining beard and controls the display unit 30 to display the recognized facial image.
The receiving component 60 is further configured to receive a magnified display instruction of a user according to an embodiment of the present invention; the control chip 40 is also used for determining an enlarged region of the face image according to the enlarged display instruction, and performing enlarged display on the enlarged region through the display assembly 30.
That is, while the control chip 40 controls the display assembly 30 to display the red circled portion, the user may click the red circled portion through the image display area a of the display assembly 30 to zoom in, and after the receiving assembly 60 receives the zoom-in display instruction of the user, the control chip 40 determines the zoom-in area of the facial image according to the zoom-in display instruction of the user and zooms in on the zoom-in area through the display assembly 30, so that the user further views the details left by the beard.
According to one embodiment of the present invention, as shown in FIG. 5, bathroom mirror 100 further comprises: the wireless communication module 70, the wireless communication module 70 is connected with the control chip 40, the wireless communication module 70 performs wireless communication with the server 80, the control chip 40 receives the identification algorithm sent by the server 80 through the wireless communication module 70, and updates the pre-stored identification algorithm according to the identification algorithm sent by the server 80.
The wireless communication module 70 may be a WIFI module.
That is, the beard recognition component 20 pre-stores the recognition algorithm, and the server 80 can constantly analyze, refine, and update the pre-stored recognition algorithm. After the server 80 updates the pre-stored recognition algorithm, the server 80 sends the updated recognition algorithm to the control chip 40 through the wireless communication module 70, and the beard recognition component 20 automatically downloads the latest recognition algorithm through the control chip 40 and replaces the pre-stored recognition algorithm, so that the accuracy of the beard recognition component in recognizing the facial image of the user is maintained, and the aim of continuously improving the recognition accuracy is fulfilled.
Further, according to one embodiment of the present invention, the wireless communication module 70 may communicate wirelessly with the server 80 through a router.
According to one embodiment of the invention, as shown in FIG. 6, bathroom mirror 100 further comprises: the storage unit 90, the storage unit 90 is connected with the control chip 40, and the storage unit 90 is used for storing the beard identification data of each shaving process, and the control chip 40 is used for controlling the display assembly 30 to play back and display each shaving process according to the beard identification data stored in the storage unit 90.
That is, each time the user performs a shave, the beard recognition assembly 20 recognizes that beard in the facial image of the user generates beard recognition data, the storage unit 90 stores the beard recognition data of one shave, the control chip 40 extracts the corresponding beard recognition data from the storage unit 90 according to the user's selection, and controls the display assembly 30 to display the playback of each shave according to the corresponding beard recognition data to provide the user with a view.
More specifically, the bathroom mirror 100 is powered up to a standby state, and if the user clicks the bathroom mirror switch, the control chip 40 controls the bathroom mirror 100 to wake up, lighting the display screen of the bathroom mirror 100. Then, if the receiving module 60 receives the click of the beard leaving button from the user, the control chip 40 controls the display module 30 to display the shaving animation 5s, and then the control chip 40 controls the camera module 10 to be turned on and collect the facial image of the user. And if the shaving action recognition unit 50 recognizes that the user starts the shaving action, the control chip 40 controls the beard recognition component 20 to perform beard recognition on the facial image according to a pre-stored recognition algorithm to generate beard recognition data, and further the control chip 40 determines whether the facial image of the user has beard left according to the beard recognition data, if yes, the control chip 40 marks the portion of the face with the beard left according to a preset mark, and controls the display component 30 to display the facial image with the preset mark. If the receiving module 60 receives the enlarged display instruction at this time, the control chip 40 enlarges the portion of the preset mark so that the user shaves the remaining beard.
In summary, according to the bathroom mirror provided by the embodiment of the invention, the control chip controls the camera assembly to scan the face of the user to acquire the face image of the user after the camera assembly is started, and then the beard recognition assembly is used for recognizing the beard in the face image of the user according to the pre-stored recognition algorithm to generate beard recognition data, judging whether the face of the user remains beard according to the beard recognition data, and controlling the display assembly to display reminding according to the remaining beard when judging that the face of the user remains the beard, so that the user can know whether the face of the user remains the beard in time, and prompt the user to shave the remaining beard under the condition that the beard remains, so that the bathroom mirror is more intelligent and humanized, provides convenience for the user to shave the beard, and improves the satisfaction of the user.
Fig. 7 is a flowchart of a control method of a bathroom mirror according to an embodiment of the present invention. As shown in fig. 7, the control method of the bathroom mirror comprises the following steps:
s1: after the camera shooting component of the bathroom mirror is started, the face of the user is scanned through the camera shooting component so as to acquire the face image of the user.
According to one specific example of the invention, the camera assembly may include a camera head disposed on the bathroom mirror, and more particularly, the camera assembly is disposed above the bathroom mirror.
According to one embodiment of the invention, before performing step S1, the method further comprises: receiving a triggering instruction of a user; and controlling the camera shooting assembly to be started according to the trigger instruction.
It should be noted that, the display component may be a display screen of a bathroom mirror, as shown in fig. 3, the display component is divided into a left part and a right part, the left part is an image display area a, and the right part is a menu bar B. The triggering instruction may be a shaving legacy key in menu bar B of the display assembly by clicking. After the bathroom mirror is powered on, the functions of all parts of the bathroom mirror are initialized. After initialization is completed, the display component of the bathroom mirror, namely the display screen, is in a closed state, and when the user is detected to press any point of the display component on the bathroom mirror, the display screen of the bathroom mirror is lightened and displays a homepage picture.
The bathroom mirror is used for controlling the camera shooting assembly to be opened when the receiving assembly receives a trigger instruction of a user. In other words, when the user clicks the shaving legacy button, the receiving component may receive the trigger instruction of the user and send the trigger instruction to the bathroom mirror, and then the bathroom mirror controls the camera component to be turned on.
It should be appreciated that after the display screen of the bathroom mirror is lit, if the receiving assembly receives a trigger instruction from the user, the image display area a of the bathroom mirror control display assembly displays an animation of shaving to prompt the user to currently prepare to enter a shaving-identified operating mode, and after a preset time, e.g., 5 seconds, the bathroom mirror control camera assembly is turned on. The camera assembly then scans the user's face to acquire an image of the user's face, while the bathroom mirror control display assembly displays the image of the user's face so that the user views the image of the face prior to shaving.
S2: the beard in the facial image of the user is identified according to a pre-stored identification algorithm to generate beard identification data.
According to one embodiment of the present invention, before performing step S2, the control method of the bathroom mirror further includes: identifying a shaving action of the user; the beard in the facial image of the user is identified when the shaving action is identified.
That is, when the shaving action recognition unit recognizes the shaving action of the user, the bathroom mirror controls the beard recognition component to recognize the beard in the facial image of the user according to a pre-stored recognition algorithm. In other words, when the bathroom mirror controls the camera component to turn on and collect the facial image of the user, the beard recognition component can not recognize the beard in the facial image of the user, but only control the beard recognition component to recognize the beard in the facial image of the user to generate the beard recognition data after the shaving action recognition unit recognizes that the user starts the shaving action.
S3: and judging whether the beard remains on the face of the user according to the beard identification data.
According to one embodiment of the invention, the beard identification data comprises beard length data, wherein the control method of the bathroom mirror further comprises: identifying facial images of the user to identify shaving areas and reference areas corresponding to beard areas; identifying the beard in the shaving area and the reference area according to a pre-stored identification algorithm to correspondingly generate a first beard length and a second beard length; judging whether the face of the user remains beard according to the first beard length and the second beard length, and judging that the face of the user remains beard when the difference between the first beard length and the second beard length is larger than a preset threshold value.
The preset threshold value can be calibrated according to different requirements of users, for example, can be 1mm and can be pre-stored in the bathroom mirror.
It should be understood that the shaving area may refer to an area where shaving is desired, and the reference area may refer to an area where shaving is already performed and no longer is desired, i.e. the shaving area is longer than the length of the hairs of the reference area.
That is, after the shaving action recognition unit recognizes the shaving action of the user, the shaving-hair recognition component recognizes the facial image of the user to recognize the shaving area and the reference area corresponding to the shaving area. And, when the beard recognition component recognizes that the difference between the first beard length corresponding to the shaving area and the second beard length corresponding to the reference area is greater than a preset threshold value, for example, 1mm, the bathroom mirror judges that the user's face has the remaining beard. In other words, a beard is considered to be a legacy beard during shaving when the first beard length of the shaving area and the surrounding second beard length have a length difference of more than 1 mm. The length difference, namely the preset threshold value, can be freely set through the bathroom mirror so as to meet the shaving requirements of different users.
S4: and controlling the bathroom mirror to display reminding according to the remained beard when judging that the face of the user remains the beard.
According to one embodiment of the invention, the bathroom mirror is controlled to display a reminder according to a legacy beard, comprising: and marking the beard left on the face image according to the preset mark, and displaying the marked face image.
The preset mark may be a red circle. That is, when the beard recognition assembly recognizes that the facial image of the user has the remaining beard, the bathroom mirror may circle the portion where the remaining beard exists using the red circle and display it through the display assembly.
According to one embodiment of the invention, the control method of the bathroom mirror further comprises the following steps: receiving an amplified display instruction of a user; and determining an enlarged area of the face image according to the enlarged display instruction, and carrying out enlarged display on the enlarged area.
That is, while the bathroom mirror controls the display assembly to display the red circled portion, the user may click the red circled portion through the image display area a of the display assembly to zoom in, and after the receiving assembly receives the user's zoom-in display instruction, the bathroom mirror determines the zoom-in area of the facial image according to the user's zoom-in display instruction, and zooms in and displays the zoom-in area through the display assembly, so that the user further views the details of the beard.
Therefore, in the embodiment of the invention, the bathroom mirror can judge whether the user has the beard left on the face, and the bathroom mirror control display component prompts the user to remind the user to shave the beard left under the condition that the beard left on the face exists, so that the bathroom mirror is more humanized and more intelligent, convenience is provided for the user to shave the beard, and the satisfaction degree of the user is improved.
According to one embodiment of the invention, the control method of the bathroom mirror further comprises the following steps: the wireless communication module of the bathroom mirror is communicated with the server to receive an identification algorithm sent by the server; and updating the pre-stored recognition algorithm according to the recognition algorithm sent by the server.
The wireless communication module may be a WIFI module.
That is, the beard recognition component pre-stores recognition algorithms, and the server can constantly analyze, perfect and update the pre-stored recognition algorithms. After the server updates the pre-stored recognition algorithm, the server sends the updated recognition algorithm to the bathroom mirror through the wireless communication module, and the beard recognition component automatically downloads the latest recognition algorithm through the bathroom mirror and replaces the pre-stored recognition algorithm, so that the accuracy of the beard recognition component in recognizing the facial image of the user is maintained, and the aim of continuously improving the recognition accuracy is fulfilled.
According to one embodiment of the invention, the control method of the bathroom mirror further comprises the following steps: storing beard identification data for each shaving session; and controlling the bathroom mirror to play back and display each shaving process according to the stored beard identification data.
That is, for each shaving by the user, the beard recognition component recognizes that beard in the facial image of the user generates beard recognition data, the storage unit stores the beard recognition data of one shaving process, the bathroom mirror extracts the corresponding beard recognition data from the storage unit according to the selection of the user, and controls the display component to play back and display each shaving process according to the corresponding beard recognition data so as to provide the user with a view.
According to an embodiment of the present invention, as shown in fig. 8, the control method of the bathroom mirror includes the steps of:
s101: initially, the bathroom mirror is powered up into a standby state.
S102: it is determined whether a user click on the bathroom mirror switch is detected.
If yes, step S103 is performed; if not, step S102 is performed.
S103: and controlling the bathroom mirror to wake up, and lighting the display screen of the bathroom mirror.
S104: it is determined whether a user click of a beard left button is detected.
If yes, step S105 is performed; if not, step S104 is performed.
S105: the control display unit displays the shaving animation 5s.
S106: the camera shooting assembly is controlled to be started and the facial image of the user is acquired.
S107: it is determined whether a user has been detected to initiate a shaving action.
If yes, go to step S108; if not, step S107 is performed.
S108: the beard recognition component is controlled to perform beard recognition on the facial image according to a pre-stored recognition algorithm to generate beard recognition data.
S109: it is determined whether or not the user's facial image has whiskers left.
If yes, go to step S110; if not, ending.
S110: and marking the part of the face with the beard left according to a preset mark.
S111: and controlling the display screen to display the facial image with the preset mark.
S112: and judging whether an amplified display instruction is received.
If yes, step S113 is performed; if not, step S114 is performed.
S113: and amplifying the part of the preset mark.
S114: the shaving is finished for the remaining beard.
In summary, according to the control method of the bathroom mirror provided by the embodiment of the invention, the image capturing component of the bathroom mirror is firstly started, then the face of the user is scanned through the image capturing component to acquire the face image of the user, then the beard in the face image of the user is identified according to the pre-stored identification algorithm to generate beard identification data, and whether the beard remains on the face of the user is judged according to the beard identification data, and then the bathroom mirror is controlled to display and remind according to the remaining beard when judging that the beard remains on the face of the user, so that the user can know whether the beard remains on the face of the user in time, and prompt the user to shave the remaining beard under the condition that the beard remains, so that the bathroom mirror is more intelligent and humanized, provides convenience for shaving the beard by the user, and improves the satisfaction of the user.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (12)

1. A bathroom mirror, comprising:
the camera shooting assembly is used for scanning the face of the user after being started so as to acquire a face image of the user;
the beard recognition component is used for recognizing beard in the facial image of the user according to a pre-stored recognition algorithm to generate beard recognition data;
a display assembly;
the control chip is respectively connected with the camera assembly, the beard identification assembly and the display assembly, and is used for judging whether the beard is left on the face of the user according to the beard identification data and controlling the display assembly to display and remind according to the left beard when judging that the beard is left on the face of the user;
the beard identification data includes beard length data, wherein,
the beard identification component is further used for identifying facial images of the user to identify a shaving area and a reference area corresponding to the shaving area, and identifying beard in the shaving area and the reference area according to the pre-stored identification algorithm to correspondingly generate a first beard length and a second beard length;
the control chip judges whether the face of the user remains beard according to the first beard length and the second beard length, and judges that the face of the user remains beard when the difference between the first beard length and the second beard length is larger than a preset threshold value;
the control chip marks the beard left on the face image according to a preset mark, and the marked face image is displayed through the display component.
2. The bathroom mirror according to claim 1, further comprising:
the shaving action recognition unit is connected with the control chip and is used for recognizing the shaving action of a user, and the control chip controls the beard recognition component to recognize beard in the facial image of the user when the shaving action recognition unit recognizes the shaving action.
3. The bathroom mirror according to claim 1, further comprising:
the receiving component is connected with the control chip and is used for receiving a trigger instruction of a user so that the control chip controls the camera shooting component to be started according to the trigger instruction.
4. A bathroom mirror according to claim 3, characterized in that,
the receiving component is also used for receiving an amplified display instruction of a user;
the control chip is also used for determining an amplifying region of the facial image according to the amplifying display instruction and amplifying and displaying the amplifying region through the display component.
5. The bathroom mirror according to claim 1, further comprising:
the wireless communication module is connected with the control chip, the wireless communication module is in wireless communication with the server, and the control chip receives the identification algorithm sent by the server through the wireless communication module and updates the pre-stored identification algorithm according to the identification algorithm sent by the server.
6. The bathroom mirror according to claim 1, further comprising:
the storage unit is connected with the control chip and used for storing the beard identification data of each shaving process, and the control chip is used for controlling the display assembly to play back and display each shaving process according to the beard identification data stored by the storage unit.
7. The control method of the bathroom mirror is characterized by comprising the following steps of:
scanning the face of the user through the camera shooting assembly after the camera shooting assembly of the bathroom mirror is started so as to acquire a face image of the user;
identifying beards in the facial images of the users according to a pre-stored identification algorithm to generate beards identification data;
judging whether the beard remains on the face of the user according to the beard identification data;
when judging that the beard remains on the face of the user, controlling the bathroom mirror to display and remind according to the remaining beard;
the beard identification data comprises beard length data, the method further comprising:
identifying a facial image of the user to identify a shaving area and a reference area corresponding to the shaving area;
identifying the beard in the shaving area and the reference area according to the pre-stored identification algorithm respectively to correspondingly generate a first beard length and a second beard length;
judging whether the face of the user remains beard according to the first beard length and the second beard length, and judging that the face of the user remains beard when the difference between the first beard length and the second beard length is larger than a preset threshold value;
the controlling the bathroom mirror to display and remind according to the remained beards comprises the following steps:
and marking the beard left on the face image according to a preset mark, and displaying the marked face image.
8. The method of controlling a bathroom mirror according to claim 7, further comprising:
identifying a shaving action of the user;
the beard in the facial image of the user is identified upon identification of the shaving action.
9. The method of controlling a bathroom mirror according to claim 7, further comprising:
receiving a triggering instruction of a user;
and controlling the camera shooting assembly to be started according to the trigger instruction.
10. The method of controlling a bathroom mirror according to claim 9, further comprising:
receiving an amplified display instruction of a user;
and determining an enlarged area of the face image according to the enlarged display instruction, and carrying out enlarged display on the enlarged area.
11. The method of controlling a bathroom mirror according to claim 7, further comprising:
the wireless communication module of the bathroom mirror is communicated with a server to receive an identification algorithm sent by the server;
and updating the pre-stored recognition algorithm according to the recognition algorithm sent by the server.
12. The method of controlling a bathroom mirror according to claim 7, further comprising:
storing beard identification data for each shaving session;
and controlling the bathroom mirror to play back and display each shaving process according to the stored beard identification data.
CN201710289333.4A 2017-04-27 2017-04-27 Bathroom mirror and control method thereof Active CN108784174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710289333.4A CN108784174B (en) 2017-04-27 2017-04-27 Bathroom mirror and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710289333.4A CN108784174B (en) 2017-04-27 2017-04-27 Bathroom mirror and control method thereof

Publications (2)

Publication Number Publication Date
CN108784174A CN108784174A (en) 2018-11-13
CN108784174B true CN108784174B (en) 2024-01-16

Family

ID=64069098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710289333.4A Active CN108784174B (en) 2017-04-27 2017-04-27 Bathroom mirror and control method thereof

Country Status (1)

Country Link
CN (1) CN108784174B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010094163A1 (en) * 2009-02-18 2010-08-26 Shih Shan-Le Reflecting display device having multiple lenses
CN105455522A (en) * 2015-11-30 2016-04-06 深圳市欧蒙设计有限公司 Intelligent cosmetic mirror
CN105500412A (en) * 2015-11-30 2016-04-20 青岛海尔智能家电科技有限公司 Shaving reminding method, shaving information pushing method, shaving equipment, server and terminal
CN105574484A (en) * 2014-11-04 2016-05-11 三星电子株式会社 Electronic device, and method for analyzing face information in electronic device
CN105899336A (en) * 2013-11-06 2016-08-24 皇家飞利浦有限公司 A system and a method for treating a part of a body
CN106095221A (en) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 Shave based reminding method and system
CN207428859U (en) * 2017-04-27 2018-06-01 芜湖美的厨卫电器制造有限公司 Bathroom mirror

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8928747B2 (en) * 2011-07-20 2015-01-06 Romello J. Burdoucci Interactive hair grooming apparatus, system, and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010094163A1 (en) * 2009-02-18 2010-08-26 Shih Shan-Le Reflecting display device having multiple lenses
CN105899336A (en) * 2013-11-06 2016-08-24 皇家飞利浦有限公司 A system and a method for treating a part of a body
CN105574484A (en) * 2014-11-04 2016-05-11 三星电子株式会社 Electronic device, and method for analyzing face information in electronic device
CN105455522A (en) * 2015-11-30 2016-04-06 深圳市欧蒙设计有限公司 Intelligent cosmetic mirror
CN105500412A (en) * 2015-11-30 2016-04-20 青岛海尔智能家电科技有限公司 Shaving reminding method, shaving information pushing method, shaving equipment, server and terminal
CN106095221A (en) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 Shave based reminding method and system
CN207428859U (en) * 2017-04-27 2018-06-01 芜湖美的厨卫电器制造有限公司 Bathroom mirror

Also Published As

Publication number Publication date
CN108784174A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
KR101846752B1 (en) Method and device for turning on air conditioner
CN107894128B (en) Refrigerator water dispenser and water outlet control method and device thereof
CN104537365B (en) Touch key-press and fingerprint recognition implementation method, device and terminal device
CN107883539B (en) Air conditioner controller, air conditioner, control method thereof and storage medium
KR102172945B1 (en) Control method and apparatus for hair care device, hair care device
CN110726210A (en) Air conditioner control method and device, air conditioner and air conditioning system
CN104932276B (en) The control method and device of home intelligent power supply
CN109191776A (en) A kind of calling method, device, terminal, wearable device and storage medium
CN103929788A (en) Communication control method and device and terminal
CN108810866A (en) Connect the method, apparatus and storage medium of smart machine
CN113064683B (en) Display method and system for control interface of electric control equipment, terminal and electric control equipment
CN108784174B (en) Bathroom mirror and control method thereof
CN108171165A (en) Fingerprint identification method, device and computer readable storage medium
CN109844764A (en) The verification method and terminal of fingerprint sensor function
CN110811115A (en) Electronic cosmetic mirror device and script operation method thereof
CN111692418A (en) Water outlet device and control method thereof
CN110620705A (en) Control terminal and control method of intelligent bathroom and electronic equipment
CN114743239A (en) Control method, device and system of intelligent equipment and electronic equipment
CN108933891A (en) Photographic method, terminal and system
JP2006301973A (en) Entrance system
CN207428859U (en) Bathroom mirror
CN107613124B (en) Unlocking method of intelligent device, intelligent device and storage medium
CN107247535A (en) Intelligent mirror adjusting method, device and computer-readable recording medium
CN107756459B (en) Shaver control method and device
CN113096272A (en) Door lock control method, intelligent door lock and computer readable 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