This application claims priority to Chinese Patent Application No. 201410744466.2 filed on Dec. 9, 2014, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to smart electronic devices, and particularly to an electronic device and a method for reminding a user to shave.
People can use smart electronic devices, such as smart phone or tablet computer, to do a lot of things, such as reminder to do something.
Implementations of the present disclosure will now be described, by way of example only, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts can be exaggerated to better illustrate details and features of the present disclosure.
Several definitions that apply throughout this disclosure will now be presented.
The term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series and the like. The term “module” refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules can be embedded in firmware, such as in an erasable programmable read only memory (EPROM). The modules described herein can be implemented as either software and/or hardware modules and can be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
In one embodiment, the reminding system 20 is configured to control the front camera 31 to capture a facial image, and determine whether a user needs to shave according to the characteristic information of a beard region of the facial image, and control the reminding device 33 to remind the user to shave.
In one embodiment, the electronic device 100 can be mobile phones, personal digital assistants (PDAs), or any other suitable electronic devices. When the user wakes up or powers on the electronic device 100, the reminding system 20 automatically starts to work. In other embodiments, the electronic device 100 can be a suitable electronic device usually placed in some particular place, such as a washroom, which includes detection device and camera. Once the detection device detects that someone approaches the electronic device 100, the reminding system 20 automatically starts to work.
The storage device 34 can be an internal storage device, such as a flash memory, a random access memory (RAM) for temporary storage of information, and/or a read-only memory (ROM) for permanent storage of information. The storage device 34 can also be an external storage device, such as an external hard disk, a storage card, or a data storage medium. The at least one processor 35 can be a central processing unit (CPU), a microprocessor, or other data processor chip that performs functions of the electronic device 100.
In one embodiment, the reminding system 20 includes a control module 21, a determination module 22, an extraction module 23, and a comparison module 24. Modules 21-24 can comprise computerized instructions in the form of one or more computer-readable programs that can be stored in a non-transitory computer-readable medium, for example in the storage device 34, and are executed by the at least one processor 35 of the electronic device 100 to provide functions of the present disclosure. A detailed description of the functions of the modules 21-24 is given below in reference to
In one embodiment, the control module 21 can control the front camera 31 to capture a facial image. The determination module 22 can determine a cheek region and a beard region from the facial image.
In the embodiment, as shown in
The extraction module 23 can extract characteristic information of the cheek region and the beard region from the facial image. In the embodiment, the characteristic information can be color.
The comparison module 24 can compare the characteristic information of the cheek region and the beard region, and determine a difference value between the two regions. In the embodiment, the control module 21 can determine beard growth according to the difference value, and upon determining that the difference value exceeds a predetermined threshold, the control module 21 can control the reminding device 33 to emit and alert to remind the user to shave.
In the embodiment, the predetermined threshold includes multiple thresholds, for example, a first threshold which corresponds to a collection of relatively small differences as shown in
In the embodiment, the storage device 34 can further store a relation list which defines a relationship between multiple thresholds and multiple reminders. For example, the reminder corresponding to the difference value which exceeds the first threshold can be no action. The reminder corresponding to the difference value which exceeds the second threshold can be a first predetermined message, such as “please shave within 24 hours” displayed on the display screen, vibrating the electronic device 100 in a first predetermined frequency, a first predetermined voice message read by a loudspeaker, or any other suitable reminder or any combination thereof. The reminder corresponding to the difference value which exceeds the third threshold can be a second predetermined message, such as “please shave immediately” displayed on the display screen, vibrating the electronic device 100 in a second predetermined frequency, reading a second predetermined voice message read by a loudspeaker, or any other suitable reminder or any combination thereof.
In the embodiment, the reminding device 33 is selected from a group consisting of a display screen, a vibrator, a loud speaker, any other suitable reminding device, and any combination thereof. The display screen can display a predetermined message, the vibrator can vibrate the electronic device 100, and the loudspeaker can read a predetermined voice message.
The control module 21 can further acquire from the relation list a reminder corresponding to a relationship between the determined difference value and the multiple thresholds, and control the reminding device 33 to remind the user to shave using the acquired reminder.
Referring to
At block 301, a control module controls a front camera of the electronic device to capture a facial image.
At block 302, a determination module determines a cheek region and a beard region from the facial image.
At block 303, an extraction module extracts characteristic information of the cheek region and the beard region from the facial image.
At block 304, a comparison module compares the characteristic information of the cheek region and the beard region, and determines a difference value between the two regions. Upon determining that the determined difference value exceeds a predetermined threshold, such as the first threshold, the second threshold, or the third threshold, the block 305 is implemented.
At block 305, the control module controls the reminding device to emit and alert to remind the user to shave.
In one embodiment, the control module 21 can control the driving device 36 to work, in order to drive the razor head 32 for shaving. In other embodiments, the electronic device 101 further includes a switch (not shown) mounted on the housing 30. The switch is configured to control the driving device 36 to work, in response to an operation, in order to drive the razor head 32 for shaving.
The embodiments shown and described above are only examples. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes can be made in the detail, including in particular the matters of shape, size, and arrangement of parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims.
Number | Date | Country | Kind |
---|---|---|---|
2014 1 0744466 | Dec 2014 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7738032 | Kollias | Jun 2010 | B2 |
20100097485 | Lee | Apr 2010 | A1 |
20120044335 | Goto | Feb 2012 | A1 |
20120320180 | Binder | Dec 2012 | A1 |
20130129210 | Na | May 2013 | A1 |
Number | Date | Country | |
---|---|---|---|
20160163180 A1 | Jun 2016 | US |