Professional Documents
Culture Documents
Identify applicable sponsor/s here. If no sponsors, delete this text box (sponsors).
face_scale and eye_scale. the left half and then again Fig. 4 Algorithm chart
They are ratio between on the right half, we would
detect size and original size see a very distinct edge in
of image. We recorded the the middle because the III. RESULT AND DISCUSSION
minimum eye_scale that average brightness is likely
detect both eye smoothly to be different on the left and A. Specification
with different video the right side, so to remove Base on algorithm above,
resolution at 15cm and 20cm this edge, we will apply the we create an application that
in the table below: two histogram equalizations using eyes blink detection to
gradually from the left-or provide eyes blink counter
right-hand side towards the tool with specification
center and mix it with a below:
whole-face histogram
equalization, so that the far Table 2 Specification in real-time
left-hand side will use the
left histogram equalization, Parameter
the far right-hand side will Distance operation range:
Fig. 5 Open eye detection with high
use the right histogram Optimal operating distance: brightness
equalization, and the center Frame size
will use a smooth mix of left Frame per second average
Table 1 Best minimum eye_scale or right value and the whole- Frame per second maximum
face equalized value. Frame per second minimum
Resolution Distance Original Environment requirement
1920x1080 15cm 531x177 Brightness operation range
20cm 480x160 Optimal operating brightness
20cm 135x45
These parameters are
measured using the
Original and detect following environment:
columns are sizes of eye
region before and after Table 3 Environment parameters
shrinking. Original eye
region is calculated from Parameter Fig. 6 Close eye detection with
Fig. 3 Separate histogram
face Rect by determining equalizing CPU high brightness
relatively eye position on Video Graphic Card
face. From the table, we can Ram For 2 figures above, the
This process will remove
see that eye can be easily OS test environment is a full
unbalance lighting on each Brightness
detected if detect region is light room about 200 lux.
side of face. Webcam
about 165x55 pixels. We This is also the ideal
In conclusion, the process is
designed an automatic mode environment for this
demonstrated as the chart in
that define best eye_scale application. The ability of
Figure 4. B. Experiment
according to detected face eyes blink detection is
Rect. We carried out the test
maximized. The average of
Then, we equalize the with several environments
FPS will be about 20 FPS
histogram to differ the bright for our application.
and 18 FPS when dropped.
and dark area(3). Beside
equalizing histogram for
entire image, we process a
separate equalizing by
splitting the image into left
and right halves of the face.
If we simply applied
histogram equalization on
observation, with an FPS
counter (Frame Per Second).
When eyes are tired, eyes
tend to focus on longer than
usual. During the
examination, with this
automated system, it helps to
alert patients to open their
eyes so that the diagnosis
and examination can be
more accurate. Or simply to
warn employees or drivers
not to fall asleep. Thus, to
avoid accidental
occupational accidents or
accidents to others
Fig. 7 Open eye detection with unfortunately. We easily set
medium brightness Fig. 9 Close eye detection with low Fig. 11 Close eye detection with the time it takes to warn of
brightness low brightness this situation.
For figure above, the test
environment is a half light For figure 8 and 9 above, the For figure 10 and 11
room about 100 lux. FPS test environment is no room above, the test environment
will be dropped to about 17 light but laptop screen light is no room light but laptop
FPS. with brightness. As we screen light with Fig. 10 Enable/disable sleep or
calculated, brightness is brightness and sunlight wake alarm
about 40 lux. FPS will be splashing into. FPS is
dropped to about 14 FPS. calculated about 14. Besides, the proverbial
"blink of an eye" lasts only a
For 480p (640x480) tenth of a second, but that is
video, FPS is calculated all the time needed to clear
about 25 and it would be 11 away dust particles and
if video has Full-HD spread lubricating fluids
(1080p) resolution. Video across the eyeball. Every
Full-HD make FPS decrease time you blink, your eyelids
but the ability of detection spread a cocktail of oils and
more accurately mucous secretions across the
IV. ADDITIONAL FEATURES surface of the eye to keep
your globes from drying out.
A. Authors and Affiliations Blinking also keeps eyes
The template is designed safe from potentially
so that author affiliations are damaging stimuli, such as
not repeated each time for bright lights and foreign
Fig. 8 Open eye detection with low
brightness multiple authors of the same bodies like dust. That is why
affiliation. Please keep your we also add alert function
Fig. 10 Open eye detection with affiliations as succinct as when the eye has not been
low brightness possible (for example, do not blinked for too long to avoid
differentiate among eye disease as much as
departments of the same possible.
organization). This template To optimize the
was designed for two performance and
affiliations. functionality of this
application or just serves
As mentioned, the personal purposes, we allow
program supports source to adjusted detect scale
video from real-time camera parameters manually to scale
or video. The external up or scale down the region
interface supports real-time of interest. If there is no
special purpose, we lid closures (> 0.5 second in Object001 21 continuously, the second
recommend using scale eyes duration). tester feels little eyestrain,
1.2 for low resolution this is the result of an eye
webcam (about 640 x 480 Table 7 Operation at some point of
Table 4 Sample of normal eyes time examination using real-time
pixel), using auto-scale for to diagnose in about 1
larger resolution like Full- minute:
HD or HD camera to Parameter Value Time
Measurement parameter
optimize performance. At the All full lid closure (> 0 0.7% (ms)
top-right of this application, second in duration) Contact rate all
FPS (beside the ability to Extended lid closure (> 0.4%
detect) will also be a 0.1 second in duration) Contact rate extended
parameter to evaluate Superextended lid closure 0.2% Contact rate superextended
(> 0 second in duration)
adjustments. 68441 Mean duration all
Mean duration extended
B. Diagnosis of eye Mean duration superextended
condition Table 5 Sample of normal eyes All lid closure blink count
Not only an application Extended lid closure count
that propose eyes blink Parameter Value (second) Superextended lid closure count
counter, but also diagnostic All full lid closure (> 0 0.08
tool for eyes disease, second in duration)
especially dry eye. Extended lid closure (> 0.575
0.1 second in duration)
Time
Measurement parameter
We enable analyze Superextended lid closure 1.589 (ms) Fig. 11 Using parameters real-time
parameters of an eyes (> 0 second in duration) to diagnose
Contact rate all
examination. Based on the
normal eyes samples and Contact rate extended All of personal
scientific studies on the eye, In total we have six information,
Contact rate superextended
date and time,
we analyze parameters of an parameters to measure, measured parameters,
eyes examination. Therefore, corresponding to six 85707 Mean duration all detailed information during
we can give an advice about conditions that need to be the examination and results
eyes condition of the patient. checked. Then we split up Mean duration extendedwill be stored in a datasheet.
We use the mean of lid- into 3 cases that the eye can
contact rate and the mean encountered. That is Non Mean duration superextended
duration of lid closure/blink Dry Eyes when only meet All lid closure blink count REFERENCES
as parameters. The mean below 2 conditions, Dry Extended lid closure count
lid-closure time per Eyes Potential- when meet Superextended lid closure[1]countTimothy I. Morgenthaler,
type of full closure was from 2 4 conditions, and Teoflo Lee-Chiong, Cathy
divided by the the rest is Dry Eyes. Alessi et al. (2007) Practice
Parameters for the Clinical
subjects total For users, it is possible to Evaluation and Treatment of
observation time, and directly enter the above Table 8 Result of measured Circadian Rhythm Sleep
then standardized per parameters of the patient or information Disorders
minute. Because based use the record function to [2] Dr. John Fernandez, Phillip
on the research in the record auto values and Ian Wilson (2006) Facial
Contact rate Value Mean duration
feature detection using Haar
paper(4), we realize that diagnose disease in real- Classifiers
All full lid closure 6.70228 All full lid closure
these parameters differ time. (> 0 second in [3] in
(> 0 second Daniel Llis Baggio, Shervin
noticeably between normal Below is a result of eyes duration) duration) Emami, David Milln Escriv,
eyes and dry eyes. examination after 3 hours Extended lid closure 5.54223 Extended lidKhvedchenia
closure Ievgen, Naureen
For each parameter, we work with computer in a 110 (> 0.1 second in (> 0.1 secondMahmood,
in Jason Saragih, Roy
duration) duration) Shilkrot et al. (2012)
classify them into 3 different seconds eyes examination: Mastering OpenCV with
Superextended lid 2.18019 Superextended lid
smaller groups depending on closure (> 0 second
Practical Computer Vision
closure (> 0 second
the duration of eyes closure. Projects.
Table 6 Personal information in duration) in duration)
Specifically, we have 3 [4] Dr. John Fernandez, Phillip
Ian Wilson (2006) Facial
groups as follows: all full lid feature detection using Haar
closure (> 0 second in Beginning Result of this test is: Dry Classifiers
duration), extended lid time Beginning date Eyes Potential. [5] George W Ousler 3rd, Mark B
closures (> 0.1 second in 7:39:36 25/06/2017 Abelson, Patrick r Johnston et
al. (2014) Blink patterns and
duration) and superextended Another test, after lid-contact times in dry-eye
Name Age watching movie 4 hours and normal subjects
[6] Video Capture using OpenCV
with C++ at
https://www.codeproject.com/
Articles/741055/Video-
Capture-using-OpenCV-with-
VCplusplus.
[7] Computer Vision The
Integral Image at
https://computersciencesource
.wordpress.com
[8]