1. Technical Field
Embodiments of the present disclosure relate to detection technology, and particularly to a tiredness state detecting system and method.
2. Description of Related Art
A user may continuously use a personal computer (PC) for many purposes for many hours, such as, typing, coding, watching movies, chatting, or other things. However, staying in front of the PC may cause the user to be tired and influence a health of the user. Improved methods to detect when the user becomes tired are desirable.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one. The term “data” may refer to a single data item or may refer to a plurality of data items. These terms, with reference to
In general, the word “module”, as used herein, 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 may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computing device-readable medium or other storage device. Some non-limiting examples of non-transitory computing device-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
The setting module 210 sets predetermined eye parameters of an eye of a user when the user is not tired. The predetermined eye parameters include a percentage range of a white part 1030 of an eye 1000 (as shown in
The analyzing module 220 analyzes the images of the user and obtains eye parameters of the eye of the user from the images. In one embodiment, the eye parameters of the eye of the user include a percentage of the white part 1030 of the eye 1000. The analyzing module 220 can extract the eyes 1000 of the user in the image. For example, as shown in
The determination module 230 determines if the obtained eye parameters of the eye of the user match the predetermined eye parameters of the eye of the user. In one embodiment, if the percentage of the white part 1030 of eye 1000 falls within the percentage range of the white part 1030 of eye 1000 (e.g., 20%-25%), the eye parameters of the eye of the user is determined to match the predetermined eye parameters of the eye of the user. Otherwise, if the percentage of the white part 1030 of eye 1000 falls outside the percentage range of the white part 1030 of eye 1000 (e.g., 20%-25%), the eye parameters of the eye of the user is determined not to match the predetermined eye parameters of the eye of the user.
The reminding module 240 reminds the user to have a rest, in response to a determination that the obtained eye parameters of the eye of the user match the predetermined eye parameters of the eye of the user. In one embodiment, the reminding module 240 reminds the user using a speaker to output an audible announcement, such as, “Dear user, you are tired, please go outside and take a walk to relax”. The reminding module 240 may also remind the user by displaying a picture (e.g., a smiley face) on the display device 10. The user may feel relaxed when seeing the smiley face.
In step S10, the setting module 210 sets predetermined eye parameters of an eye of a user. The predetermined eye parameters include a percentage range of a white part 1030 of an eye 1000. In one embodiment, the percentage range may be 20%-25%.
In step S20, the analyzing module 220 analyzes the images of the user and obtains eye parameters of the eye of the user from the images. As mentioned above, the eye parameters of the eye of the user include a percentage of a white part 1030 of an eye 1000. For example, if the eye 1000 includes five hundreds pixels, and the white part 1030 includes one hundred pixels, thus, the percentage of the white part 1030 of the eye 1000 is 20%.
In step S30, the determination module 230 determines if the obtained eye parameters of the eye of the user match the predetermined eye parameters of the eye of the user. In one embodiment, if the percentage of the white part 1030 of eye 1000 is 23%, the eye parameters of the eye of the user is determined to match the predetermined eye parameters of the eye of the user, the procedure returns to step S20. Otherwise, if the percentage of the white part 1030 of eye 1000 is 16%, the eye parameters of the eye of the user is determined not to match the predetermined eye parameters of the eye of the user, the procedure goes to step S40.
In step S40, the reminding module 240 outputs an indication to remind the user to have a rest. In one embodiment, the reminding module 240 uses a speaker of the computing device 20 to output the indication. The indication may be an audible announcement, such as, “Dear user, you are tired, please go outside and take a walk to relax”. The reminding module 240 may show a picture (smiley face) on the display device 10. The indication may be the picture. The user maybe feels relaxing when seeing the smiley face.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201110150962.1 | Jun 2011 | CN | national |