Specific embodiment
The embodiment of the utility model is described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning
Same or similar element is represented to same or similar label eventually or there is same or like element.Below by ginseng
The embodiment for examining attached drawing description is exemplary, it is intended to for explaining the utility model, and it is not intended that the utility model
Limitation.
The bathroom mirror of the utility model embodiment and its control method described below in conjunction with the accompanying drawings.
Fig. 1 is the block diagram according to the bathroom mirror of the utility model embodiment.As shown in Figure 1, the bathroom mirror 100 wraps
It includes:Camera assembly 10, beard recognizer component 20, display module 30 and control chip 40.
Wherein, camera assembly 10 is used to that the face of user to be scanned after unlatching to gather the face-image of user;
Beard recognizer component 20 is used to that the beard in the face-image of user to be identified to generate recklessly according to the recognizer to prestore
It must identification data;Control chip 40 is connected respectively with camera assembly 10, beard recognizer component 20 and display module 30, controls chip
40 are used to identify that data judge whether the face of user leaves beard according to beard, and when the face for judging user leaves beard
Display alarm is carried out according to the beard Control Items left.
A specific example according to the present utility model, camera assembly 10 may include the camera shooting being arranged on bathroom mirror 100
Head, more specifically, camera assembly 10 is arranged on the top of bathroom mirror 100.
Specifically, after control chip 40 controls camera assembly 10 to open, camera assembly 10 carries out the face of user
Scanning is sayed, camera assembly 10 can capture the face-image of user with gathering the face-image of user.It is gathered in camera assembly 10
To after the face-image of user, beard recognizer component 20 is according to the recognizer to prestore to the beard in the face-image of user
It is identified to generate beard identification data, control chip 40 identifies that data judge whether the face of user is left recklessly according to beard
Must, and display alarm is carried out according to the beard Control Items 30 left when the face for judging user leaves beard, so as to
User is informed when judging that user's face leaves beard, so that user shaves to leaving beard.
Wherein, one embodiment according to the present utility model, as shown in Fig. 2, bathroom mirror 100 further includes:Shaving motions are known
Other unit 50, shaving motions recognition unit 50 are connected with control chip 40, and shaving motions recognition unit 50 is used to identify user's
Shaving motions, control chip 40 controlled when shaving motions recognition unit 50 recognizes shaving motions beard recognizer component 20 to
Beard in the face-image at family is identified.
That is, when shaving motions recognition unit 50 recognizes the shaving motions of user, control chip 40 just controls
Beard recognizer component 20 is identified the beard in the face-image of user according to the recognizer to prestore.In other words, control
When the control camera assembly 10 of chip 40 is opened and gathers the face-image of user, beard recognizer component 20 can not be to the face of user
Beard in image is identified, but is recognized in shaving motions recognition unit 50 after user starts shaving motions, control
Chip 40 just controls beard recognizer component 20 that the beard in the face-image of user is identified to generate beard identification data.
Further, one embodiment according to the present utility model, beard identification data include beard length data,
In, beard recognizer component 20 is further used for, and the face-image of user is identified to identify shaving area and and beard
The corresponding reference zone in region, and the beard in shaving area and reference zone is known respectively according to the recognizer to prestore
Not with the first beard length of corresponding generation and the second beard length;Control chip 40 long according to the first beard length and the second beard
Degree judges whether the face of user leaves beard, and the difference between the first beard length and the second beard length is more than default
Judge that the face of user leaves beard during threshold value.
Wherein, predetermined threshold value can be demarcated according to the different demands of user, be may be, for example, 1mm, and can be pre-stored in control
In chip 40.
It should be appreciated that shaving area can refer to need the region for shaving beard, reference zone can refer to shave beard
And the region that need not be shaved again, that is to say, that shaving area will be grown compared with the beard length of reference zone.
That is, after shaving motions recognition unit 50 recognizes the shaving motions of user, beard recognizer component 20 is right
The face-image of user is identified to identify shaving area and reference zone corresponding with beard region.Also, work as beard
Recognizer component 20 is recognized between the corresponding first beard length in shaving area the second beard length corresponding with reference zone
When difference is more than predetermined threshold value such as 1mm, control chip 40 judges that the face of user exists and leaves beard.In other words, when shaving
The first beard length in region and the second beard length of surrounding are considered as the beard to shave when having the length difference of more than 1mm
Beard is left in journey.Length difference, that is, the predetermined threshold value can carry out free setting by bathroom mirror 100, to meet different user
Shave demand.
One embodiment according to the present utility model, control chip 40 is according to the default Hu for identifying and being left on face-image
It must be identified, and pass through the face-image after the display mark of display module 30.
Wherein, default mark can be red circle.
That is, when beard recognizer component 20 identifies that the face-image of user leaves beard, control chip 40 can
Using red circle there will be there is the part for leaving beard to iris out, and shown by display module 30.
It should be noted that display module 30 can be the display screen of bathroom mirror 100, as shown in figure 3, display module 30 divides is
Left and right two parts, the left side are image display area A, and the right is menu bar B.Bathroom mirror 100 after the power is turned on, starts initialization control core
The functions of piece 40.After the completion of initialization, the display module 30 of bathroom mirror 100 is that display screen is closed, when
Detect that user presses any point of display module 30 on bathroom mirror 100 and can be waken up, the display screen of bathroom mirror 100 is lighted
And show homepage picture.
One embodiment according to the present utility model, as shown in figure 4, bathroom mirror 100 further includes:Receiving unit 60 receives
Component 60 is connected with control chip 40, and receiving unit 60 is used to receive the triggering command of user, so that control chip 40 is according to tactile
The control camera assembly 10 that sends instructions is opened.
That is, camera assembly 10 is closed usually, to protect the personal secrets of user, when receiving unit 60
When receiving the triggering command of user, control chip 40 just controls camera assembly 10 to open.
Wherein, triggering command can be that shaving in the menu bar B shown by clicking on display module 30 leaves button triggering
Instruction, in other words, when user click on shave leave button when, receiving unit 60 can receive the triggering command of user and will touch
Send instructions and be sent to control chip 40, afterwards, control chip 40 controls camera assembly 10 to open according to triggering command.
It should be appreciated that after the display screen of bathroom mirror 100 is lighted, if receiving unit 60 receives the triggering of user
Instruction, then control the image display area A of 40 Control Items 30 of chip to show the animation to shave, to prompt user currently accurate
The standby operating mode into identification of shaving, and after animation prompting preset time such as 5 seconds, the control control camera shooting of chip 40
Component 10 is opened.Then camera assembly 10 gathers the face-image of user, while 40 Control Items 30 of chip is controlled to show
The face-image of user, so that user checks face image before shaving.Shaving, recognition unit 50 recognizes shaving for user
After must acting, the beard in the face-image of user is identified in beard recognizer component 20, and in beard recognizer component 20
When recognizing user's face according to the shaving session of user and leaving beard, control chip 40 is to leaving the part of beard into rower
Know, and Control Items 30 show the face-image of mark.
One embodiment according to the present utility model, receiving unit 60 are additionally operable to receive the amplification idsplay order of user;Control
Coremaking piece 40 is additionally operable to determine the magnification region of face-image according to amplification idsplay order, and passes through display module 30 to amplification region
Domain is amplified display.
That is, while 40 Control Items 30 of chip is controlled to show the part that red circle is irised out, user
The part irised out of red circle can be clicked on by the image display area A of display module 30 to be amplified to it, receiving unit
After 60 receive the amplification idsplay order of user, control chip 40 determines face-image according to the amplification idsplay order of user
Magnification region, and pass through display module 30 and display is amplified to magnification region, so that user further checks what beard was left
Details.
One embodiment according to the present utility model, as shown in figure 5, bathroom mirror 100 further includes:Wireless communication module 70,
Wireless communication module 70 is connected with control chip 40, and wireless communication module 70 is communicated wirelessly with server 80, controls chip
40 receive the recognizer of the transmission of server 80, and the recognizer pair sent according to server 80 by wireless communication module 70
The recognizer to prestore is updated.
Wherein, wireless communication module 70 can be WIFI module.
That is, beard recognizer component 20 prestores recognizer, server 80 can constantly calculate the identification to prestore
Method is analyzed, improved and updated.After server 80 has update to the recognizer to prestore, server 80 passes through wireless telecommunications
Updated recognizer is sent to control chip 40 by module 70, and beard recognizer component 20 is by controlling chip 40 to download automatically
Newest recognizer and the recognizer to prestore before replacing it, so as to which beard recognizer component be kept to know the face-image of user
Other accuracy achievees the purpose that recognition accuracy is continuously improved.
Further, one embodiment according to the present utility model, wireless communication module 70 can by router with clothes
Business device 80 communicates wirelessly.
One embodiment according to the present utility model, as shown in fig. 6, bathroom mirror 100 further includes:Storage unit 90, storage
Unit 90 is connected with control chip 40, and storage unit 90 is used to store the beard identification data of each shaving session, controls chip
40, which are used for the beard stored according to storage unit 90, identifies that data Control Items 30 carry out each shaving session playback and show
Show.
That is, user is often once shaved, beard recognizer component 20 is identified in the face-image of a user
Beard generation beard identification data, storage unit 90 just store the beard identification data of a shaving session, control chip 40
Corresponding beard identification data are extracted from storage unit 90 according to the selection of user, and identify that data control is aobvious according to corresponding beard
Show that component 30 carries out playback to each shaving session and shows, user to be supplied to check.
More specifically, bathroom mirror 100 is powered on into holding state, if user clicks on bathroom mirror switch, chip is controlled
40 control bathroom mirrors 100 wake up, and light 100 display screen of bathroom mirror.Then if receiving unit 60 receives user and clicks on beard
Button is left, then 40 Control Items 30 of chip is controlled to show the animation 5s that shaves, then chip 40 is controlled to control camera assembly
10 open and gather the face-image of user.And if shaving motions recognition unit 50 identifies that user starts shaving motions,
Control chip 40 controls beard recognizer component 20 to carry out beard identification to face-image according to the recognizer to prestore to generate recklessly
It must identify data, and then chip 40 is controlled to identify that data judge whether user's face image has beard to leave according to beard, if
There is beard to leave, then chip 40 is controlled to be identified face according to default mark there are the part that beard is left, and is controlled aobvious
Show that component 30 shows the face-image of the default mark of band.If receiving unit 60 receives amplification idsplay order at this time,
Chip 40 is then controlled to be amplified the part of default mark, so that user shaves the beard left.
In conclusion according to the bathroom mirror that the utility model embodiment proposes, control chip is controlled after camera assembly unlatching
Camera assembly processed is scanned the face of user to gather the face-image of user, and then beard recognizer component is used for according to pre-
The recognizer deposited is identified the beard in the face-image of user to generate beard identification data, and is identified according to beard
Data judge whether the face of user leaves beard, and are controlled when the face for judging user leaves beard according to the beard left
Display module carries out display alarm, so that user understands whether oneself face leaves beard in time, and is leaving the feelings of beard
User is prompted under condition user is reminded to shave and leave beard so that bathroom mirror is more intelligent, more humane, is shaved for user
Except beard offer is convenient, the satisfaction of user is promoted.
Fig. 7 is the flow chart according to the control method of the bathroom mirror of the utility model embodiment.As shown in fig. 7, the bathroom
The control method of mirror comprises the following steps:
S1:By camera assembly the face of user is scanned to gather user after the camera assembly of bathroom mirror is opened
Face-image.
A specific example according to the present utility model, camera assembly may include to be arranged on the camera on bathroom mirror, more
Specifically, camera assembly is arranged on the top of bathroom mirror.
One embodiment according to the present utility model, before step S1 is performed, this method further includes:Receive touching for user
Send instructions;According to triggering command camera assembly is controlled to open.
It should be noted that display module can be the display screen of bathroom mirror, as shown in figure 3, display module is divided into left and right two
Part, the left side are image display area A, and the right is menu bar B.Triggering command can be the menu bar B by clicking on display module
In shave and leave button.Bathroom mirror after the power is turned on, starts to initialize the functions of bathroom mirror.After the completion of initialization, bath
Display module, that is, display screen of room mirror is closed, when any point for detecting user and pressing display module on bathroom mirror
It can be waken up, the display screen of bathroom mirror is lighted and shows homepage picture.
Wherein, camera assembly is closed usually, to protect the personal secrets of user, when receiving unit receives use
During the triggering command at family, bathroom mirror just controls camera assembly to open.In other words, when user's click, which is shaved, leaves button, receive
Component can receive the triggering command of user and triggering command is sent to bathroom mirror, and afterwards, bathroom mirror control camera assembly is opened
It opens.
It should be appreciated that after the display screen of bathroom mirror is lighted, if receiving unit receives the triggering command of user,
Then the image display area A of bathroom mirror Control Items shows the animation to shave, is shaved so that user is prompted currently to be prepared to enter into
The operating mode of identification, and after animation prompting preset time such as 5 seconds, bathroom mirror control camera assembly is opened.Then
Camera assembly is scanned the face of user to gather the face-image of user, while the display of bathroom mirror Control Items is used
The face-image at family, so that user checks face image before shaving.
S2:The beard in the face-image of user is identified according to the recognizer to prestore to generate beard identification number
According to.
One embodiment according to the present utility model, before performing step S2, the control method of the bathroom mirror further includes:Know
The shaving motions of other user;The beard in the face-image of user is identified when recognizing shaving motions.
That is, when shaving motions recognition unit recognizes the shaving motions of user, bathroom mirror just controls beard to know
Other component is identified the beard in the face-image of user according to the recognizer to prestore.In other words, bathroom mirror control is taken the photograph
As component is opened and when gathering the face-image of user, beard recognizer component can not carry out the beard in the face-image of user
Identification, but recognized in shaving motions recognition unit after user starts shaving motions, bathroom mirror just controls beard identification group
Part is identified the beard in the face-image of user to generate beard identification data.
S3:Identify that data judge whether the face of user leaves beard according to beard.
One embodiment according to the present utility model, beard identification data include beard length data, wherein, the bathroom mirror
Control method further comprise:It is identified to identify shaving area and corresponding with beard region to the face-image of user
Reference zone;The beard in shaving area and reference zone is identified respectively according to the recognizer to prestore and is given birth to corresponding
Into the first beard length and the second beard length;According to the first beard length and the second beard length judge user face whether
Leave beard, and when difference between the first beard length and the second beard length is more than predetermined threshold value judges the face of user
Leave beard.
Wherein, predetermined threshold value can be demarcated according to the different demands of user, be may be, for example, 1mm, and can be pre-stored in bathroom
In mirror.
It should be appreciated that shaving area can refer to need the region for shaving beard, reference zone can refer to shave beard
And the region that need not be shaved again, that is to say, that shaving area will be grown compared with the beard length of reference zone.
That is, after shaving motions recognition unit recognizes the shaving motions of user, beard recognizer component is to user
Face-image be identified to identify shaving area and reference zone corresponding with beard region.Also, when beard identifies
Component recognition is big to the difference between the corresponding first beard length in shaving area the second beard length corresponding with reference zone
When predetermined threshold value such as 1mm, bathroom mirror judges that the face of user exists and leaves beard.In other words, when the first of shaving area
Second beard length of beard length and surrounding is considered as the beard as leaving in shaving session when having the length difference of more than 1mm
Beard.Length difference, that is, the predetermined threshold value can carry out free setting by bathroom mirror, to meet the demand that shaves of different user.
S4:Display alarm is carried out according to the beard control bathroom mirror left when the face for judging user leaves beard.
One embodiment according to the present utility model controls the bathroom mirror to carry out display alarm according to the beard left,
Including:It is identified according to the beard that default mark is left on face-image, and shows the face-image after mark.
Wherein, default mark can be red circle.That is, in the face-image of beard recognizer component identification user
When leaving beard, red circle can be used there will be there is the part for leaving beard to iris out in bathroom mirror, and passes through display module
It is shown.
One embodiment according to the present utility model, the control method of the bathroom mirror further include:The amplification for receiving user is shown
Show instruction;The magnification region of the face-image is determined according to the amplification idsplay order, and the magnification region is put
Big display.
That is, while bathroom mirror Control Items show the part that red circle is irised out, user can pass through
To be amplified to it, receiving unit receives use for the part that the image display area A clicks red circle of display module is irised out
After the amplification idsplay order at family, bathroom mirror determines the magnification region of face-image according to the amplification idsplay order of user, and leads to
It crosses display module and display is amplified to magnification region, so that user further checks the details that beard is left.
As a result, in the embodiment of the utility model, bathroom mirror can determine whether user's face leaves beard, and
In the case of leaving beard, bathroom mirror Control Items, which prompt user user is reminded to shave, to be left beard, makes
It is more humane, more intelligent to obtain bathroom mirror, shaving beard for user provides convenience, promotes the satisfaction of user.
One embodiment according to the present utility model, the control method of the bathroom mirror further include:Pass through the wireless of bathroom mirror
Communication module communicates to receive the recognizer of server transmission with server;The recognizer pair sent according to server
The recognizer to prestore is updated.
Wherein, wireless communication module can be WIFI module.
That is, beard recognizer component prestores recognizer, server can constantly to the recognizer that prestores into
Row analysis is improved and updated.After server has update to the recognizer to prestore, server will more by wireless communication module
Recognizer after new is sent to bathroom mirror, and beard recognizer component is downloaded newest recognizer by bathroom mirror and replaced automatically
The recognizer to prestore before so as to keep the accuracy that beard recognizer component identifies the face-image of user, reaches continuous
Improve the purpose of recognition accuracy.
One embodiment according to the present utility model, the control method of the bathroom mirror further include:Store each shaving session
Beard identification data;Identify that data control bathroom mirror carries out playback to each shaving session and shows according to the beard of storage.
That is, user is often once shaved, beard recognizer component identifies the Hu in the face-image of a user
One of the main divisions of the male role in traditional opera identifies data into beard, and storage unit just stores the beard identification data of a shaving session, and bathroom mirror is according to user's
Selection extracts corresponding beard identification data from storage unit, and identifies data Control Items to every according to corresponding beard
Secondary shaving session carries out playback and shows, user to be supplied to check.
A specific embodiment according to the present utility model, as shown in figure 8, the control method of the bathroom mirror includes following step
Suddenly:
S101:Start, bathroom mirror is powered on into holding state.
S102:Judge whether to detect that user clicks on bathroom mirror switch.
If it is, perform step S103;If it is not, then perform step S102.
S103:Bathroom mirror is controlled to wake up, lights bathroom mirror display screen.
S104:Judge whether to detect that user clicks on beard and leaves button.
If it is, perform step S105;If it is not, then perform step S104.
S105:Control Items show the animation 5s that shaves.
S106:Control camera assembly is opened and gathers the face-image of user.
S107:Judge whether to detect that user starts shaving motions.
If it is, perform step S108;If it is not, then perform step S107.
S108:Control beard recognizer component carries out face-image according to the recognizer to prestore beard identification to generate recklessly
It must identification data.
S109:Judge whether user's face image has beard to leave.
If it is, perform step S110;If it is not, then terminate.
S110:Face is identified there are the part that beard is left according to default mark.
S111:Control display screen shows the face-image of the default mark of band.
S112:Judge whether to receive amplification idsplay order.
If it is, perform step S113;If it is not, then perform step S114.
S113:The part of default mark is amplified.
S114:The beard left is shaved, is terminated.
In conclusion the control method of the bathroom mirror proposed according to the utility model embodiment, first taking the photograph in bathroom mirror
It is scanned by camera assembly to gather the face-image of user as component after opening to the face of user, then according to prestoring
Recognizer be identified to generate beard identification data to the beard in the face-image of user, and number is identified according to beard
It is judged that whether the face of user leaves beard, and then controlled when the face for judging user leaves beard according to the beard left
Bathroom mirror carries out display alarm, so that user understands whether oneself face leaves beard in time, and is leaving the situation of beard
Under user is prompted user is reminded to shave and leaves beard so that bathroom mirror is more intelligent, more humane, is shaved for user
It is convenient that beard provides, and promotes the satisfaction of user.
In the description of the utility model, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width
Degree ", " thickness ", " on ", " under ", "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", " outer ", " suitable
The orientation or position relationship of the instructions such as hour hands ", " counterclockwise ", " axial direction ", " radial direction ", " circumferential direction " are based on orientation shown in the drawings
Or position relationship, be for only for ease of description the utility model and simplify description rather than instruction or imply signified device or
Element must have specific orientation, with specific azimuth configuration and operation, therefore it is not intended that limit to the utility model
System.
In addition, term " first ", " second " are only used for description purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity for indicating indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the utility model, " multiple " are meant that at least two, such as two
It is a, three etc., unless otherwise specifically defined.
In the utility model, unless otherwise clearly defined and limited, term " installation ", " connected ", " connection ", " Gu
It is fixed " etc. terms should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected or integral;Can be
Mechanical connection or electrical connection;It can be directly connected, can also be indirectly connected by intermediary, can be two
The interaction relationship of connection or two elements inside element, unless otherwise restricted clearly.For the common skill of this field
For art personnel, concrete meaning of the above-mentioned term in the utility model can be understood as the case may be.
In the utility model, unless otherwise clearly defined and limited, fisrt feature is "above" or "below" second feature
Can be that the first and second features contact directly or the first and second features pass through intermediary mediate contact.Moreover, first is special
Sign second feature " on ", " top " and " above " can be fisrt feature directly over second feature or oblique upper or only
Represent that fisrt feature level height is higher than second feature.Fisrt feature second feature " under ", " lower section " and " below " can be with
It is fisrt feature immediately below second feature or obliquely downward or is merely representative of fisrt feature level height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description
Point is contained at least one embodiment or example of the utility model.In the present specification, to the schematic table of above-mentioned term
It states and is necessarily directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be with
It combines in an appropriate manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this field
Technical staff can by the different embodiments described in this specification or example and different embodiments or exemplary feature into
Row combines and combination.
Although the embodiment of the utility model has been shown and described above, it is to be understood that above-described embodiment is
Illustratively, it is impossible to be interpreted as the limitation to the utility model, those of ordinary skill in the art are in the scope of the utility model
It is interior above-described embodiment to be changed, changed, replaced and modification.