SlideShare uma empresa Scribd logo
1 de 28
Eyelid Detection

              SOURAV KUMAR BHOI
CONTENTS

∗   Introduction
∗   Eye Contour Model
∗   Iris Detection
∗   Center Detection
∗   Eyelid Detection Algorithm
∗   Experimental Analysis
∗   Matching
∗   Conclusion
Introduction


∗ The exact eye shape is a useful piece of input information
  for applications like facial expression recognition, feature-
  based face recognition and face modelling.
∗ The detection algorithm works in several steps:
∗ iris center and radius is estimated
∗ exact upper eyelid contour is detected by searching for
  luminance valley points.
∗ lower eyelid is estimated from the eye corners coordinates
  and iris.
Eye Contour Model
∗ The input data for the algorithm is a color image containing a single
   human eye.
∗ The approximate scale and bounding box of the eye is considered
   to be known.
∗ This normalization renders our detection techniques scale-
   independent and permits us to work with absolute values of some
   thresholds and parameters.
∗ Our eye contour model consists of upper lid curve (in cubic
   polynomial), lower lid curve (in quadratic polynomial) and the iris
   circle.
∗ The detection is performed in four steps:
• Iris center detection
• Iris radius estimation
• Upper eyelid contour detection
• Lower eyelid estimation
Cont…

∗ The iris center and radius detection is performed in
  image’s red channel, which emphasizes the iris
  border. This is due to the fact, that iris usually exhibits
  low values of red (both for dark and light eyes), while
  the surrounding pixels (sclera and skin) have
  significantly higher red values.
IRIS DETECTION
∗ First, approximate iris center point is detected. The
  central part of the eye image is checked for strong
  highlight presence by comparing maximum pixel value
  to a threshold.
∗ If strong highlight is found, the central area of eye
  bounding box is scanned with a circular search window
  with radius close to expected pupil (not iris) radius,
  checking for several conditions:
∗ 1. The local minimum inside the search window should
  not differ more than a given threshold from the global
  minimum inside the eye bounding box (this makes
  sure, that dark pixels are present in the search
  window).
Cont…

∗ 2. The variance of pixel values inside the search
  window should not be smaller than a certain portion
  of global eye image variance (making sure, that both
  dark and bright pixels are present inside the search
  window);
∗ 3. The number of pixels darker than a given threshold
  should be not less than a pre-defined value (checking,
  that enough dark pixels are present inside the search
  window);
Cont…


∗ All the locations, where these conditions are satisfied
  are called the ”highlight locations”.
∗ Their coordinates are averaged to determine the
  expected eye center (x0, y0).
∗ If no strong highlight is detected, a 5x5 minimum
  filter is applied to eye area, to eliminate weak
  highlight.
Pupil Center Detection
Accurate Iris Center Detection


∗ Ahlberg developed an algorithm in 1999 where two
  assumptions are taken on the expected eye
  appearance:
      1.the iris is approximately circular and
      2.it is dark against the background.
∗ The iris center and radius are found by searching for a
  circle, which lies on the border between dark pixels of
  iris and bright pixel of the eye white.
Iris Radius Detection
Cont…
Iris Detection Results
Eyelid Detection


∗ The upper lid detection is performed in three
  stages.First, a set of points that belong to upper
  eyelid is found. Then, this point set is examined to
  remove outliers. Finally, a cubic polynomial curve is
  fitted to the correct eyelid points.
∗ The lower lid is estimated by fitting a quadratic curve
  to the eye corners and the lower point of the iris circle
  - a reasonable approximation of the eye contour.
Cont…
∗ The well-known methods of eye shape estimation are
  based on using high spatial luminance gradient locations
  (so-called edges) as the attractors for the eyelid curve.
∗ One problem is very noisy edge map and therefore huge
  amount of spurious edges, even for a clear eye image.
∗ The second is possible absence or discontinuity of the
  significant edges.
∗ In some cases the brightness transition from sclera to eye
  border and further to skin is too smooth to be identified as
  an edge by a conventional edge detector.
Cont…


∗ Examining the luminance values change along a single
  horizontal row of the eye image shows that significant
  local minima correspond to eye boundary points.
∗ We deduce that looking for brightness valley points
  instead of edge points is a more appropriate way for eye
  shape estimation.
∗ We detect the luminance valley points, that most likely
  correspond to the eye border in each row of the eye
  image. These points are the points of significant local
  minima of the horizontal luminance profiles.
Eyelid Detection Algorithm


∗   Eye opening height determination
∗   Eye border points detection
∗   Outlier points removal and
∗   Polynomial curves fitting.
Eye Opening Height

∗ The eye opening height is determined by scanning the
  image iris area vertically from top to bottom calculating
  each line’s average red value:




∗ Iy is the set of x-coordinates from the y line, that lie inside
  the iris circle.
∗ |Iy| is the number of elements in the Iy set and
∗ R(x, y) is the red value of image pixel with (x, y)
  coordinates.
∗ The area of low h(y) values indicate the area of visible (not
  occluded by eyelids) iris area - the eye opening height.
Eye border points set construction

∗ After the eye opening height is known, the lines of
  visible iris area are scanned outwards from the iris
  borders in search for points that satisfy one
  conditions:
∗ the point is a start of sharp luminance increase (we
  have reached skin).
Cont…

∗ This produces a set of points, that presumably lie on
  the upper eyelid.
Erroneous and outlier points removal

 ∗ The border points set can contain outliers and erroneous
   points, that would deviate fitted curve from the real eye
   contour.
 ∗ To eliminate these outliers, two straight lines are fitted to the
   left and right halves of the points set by the means of the
   Hough transform .
 ∗ The Hough transform is known to be robust to imperfect data
   and noise.
 ∗ Hough transform produces a set of lines, that pass through at
   least 30% of the points in the subset.
 ∗ The line with maximum number of point lying closer than a
   predefined distance ‘r’ is chosen as the principle line of the
   subset.
 ∗ The points that lie too far are removed(outliers).
Eye border Points




 (a) - initial eye border points set.
 (b) - set with marked principle lines and
 outliers removed.
 (c) - a cubic polynomial curve
 fitted to the final border points set.
Eyelid curves fitting
∗ Among the remaining points the leftmost and
  rightmost are chosen to be the eye corners.
∗ All the points that lie above the line, connecting the
  eye corners are treated as belonging to upper eyelid.
  Finally, the upper iris border points are added to the
  set and the lid curve is estimated by polynomial curve
  fitting procedure.
∗ The lower lid is detected by fitting the eye corners
  and the lower point of the iris circle with a quadratic
  curve.
Experimental Analysis

∗ The algorithm was applied to images of
  approximately 50 individuals taken under different
  lighting conditions with different cameras and quality.
Matching


∗ Height of the opening
∗ Distance from right corner to left corner point.
∗ The hough transform distance ‘r’ .
Conclusion


∗ The method proposed is robust and sufficient
  accuracy for face modelling application, while being
  simple in implementation and fast in processing time
  (especially compared with deformable models-based
  methods).
References


1. Robust and Accurate Eye Contour Extraction, Vladimir
Vezhnevets & Anna Degtiareva, Graphics and Media
Laboratory, Moscow State University.
2. A New Method of Detecting Human Eyelids by
Deformable Templates ,Yuwen WU, Hong LIU, Hongbin
ZHA , National Lab. on Machine Perception, Peking
University, China.
3.A System for Face Localization and Facial Feature
Extraction, Jorgen Ahlberg,1999.
Thank You

Mais conteúdo relacionado

Semelhante a Biometric Security :Eyelid detection

Ijcse13 05-01-001
Ijcse13 05-01-001Ijcse13 05-01-001
Ijcse13 05-01-001vital vital
 
Ijcse13 05-01-001
Ijcse13 05-01-001Ijcse13 05-01-001
Ijcse13 05-01-001vital vital
 
An Automatic Method for Red-eye Detection and Correction in Digital Images
An Automatic Method for Red-eye Detection and Correction in Digital ImagesAn Automatic Method for Red-eye Detection and Correction in Digital Images
An Automatic Method for Red-eye Detection and Correction in Digital ImagesMushfekur Rahman
 
Ieee smc99 hci-eyegaze
Ieee smc99 hci-eyegazeIeee smc99 hci-eyegaze
Ieee smc99 hci-eyegazeAyusha Patnaik
 
Iris Localization - a Biometric Approach Referring Daugman's Algorithm
Iris Localization - a Biometric Approach Referring Daugman's AlgorithmIris Localization - a Biometric Approach Referring Daugman's Algorithm
Iris Localization - a Biometric Approach Referring Daugman's AlgorithmEditor IJCATR
 
Refraction by the eye, schematic eye, reduced eye By kausar Ali
Refraction by the eye, schematic eye, reduced eye By kausar AliRefraction by the eye, schematic eye, reduced eye By kausar Ali
Refraction by the eye, schematic eye, reduced eye By kausar Alikausar Ali
 
Pentacam and Corneal topography
Pentacam and Corneal topographyPentacam and Corneal topography
Pentacam and Corneal topographyPriyanka Raj
 
Corneal topography
Corneal topographyCorneal topography
Corneal topographySanaa1993
 
OPTICAL MICROSCOPY AND COORDINATE MEASURING MACHINE
OPTICAL MICROSCOPY AND COORDINATE MEASURING MACHINE OPTICAL MICROSCOPY AND COORDINATE MEASURING MACHINE
OPTICAL MICROSCOPY AND COORDINATE MEASURING MACHINE sangeetkhule
 
corneal topography by ramji pandey ...C L GUPTA eye institute
corneal topography by ramji pandey ...C L GUPTA eye institute corneal topography by ramji pandey ...C L GUPTA eye institute
corneal topography by ramji pandey ...C L GUPTA eye institute C L GUPTA Eye Institute
 
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATORIRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATORcsitconf
 
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATORIRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATORcscpconf
 

Semelhante a Biometric Security :Eyelid detection (20)

Ijcse13 05-01-001
Ijcse13 05-01-001Ijcse13 05-01-001
Ijcse13 05-01-001
 
Ijcse13 05-01-001
Ijcse13 05-01-001Ijcse13 05-01-001
Ijcse13 05-01-001
 
An Automatic Method for Red-eye Detection and Correction in Digital Images
An Automatic Method for Red-eye Detection and Correction in Digital ImagesAn Automatic Method for Red-eye Detection and Correction in Digital Images
An Automatic Method for Red-eye Detection and Correction in Digital Images
 
Schematic eye and cardinal points
Schematic eye and cardinal pointsSchematic eye and cardinal points
Schematic eye and cardinal points
 
Iris sem
Iris semIris sem
Iris sem
 
Defending
DefendingDefending
Defending
 
Schematic eye
Schematic eye   Schematic eye
Schematic eye
 
Ieee smc99 hci-eyegaze
Ieee smc99 hci-eyegazeIeee smc99 hci-eyegaze
Ieee smc99 hci-eyegaze
 
Iris Localization - a Biometric Approach Referring Daugman's Algorithm
Iris Localization - a Biometric Approach Referring Daugman's AlgorithmIris Localization - a Biometric Approach Referring Daugman's Algorithm
Iris Localization - a Biometric Approach Referring Daugman's Algorithm
 
Refraction by the eye, schematic eye, reduced eye By kausar Ali
Refraction by the eye, schematic eye, reduced eye By kausar AliRefraction by the eye, schematic eye, reduced eye By kausar Ali
Refraction by the eye, schematic eye, reduced eye By kausar Ali
 
Biometry.pptx
Biometry.pptxBiometry.pptx
Biometry.pptx
 
Pentacam and Corneal topography
Pentacam and Corneal topographyPentacam and Corneal topography
Pentacam and Corneal topography
 
Corneal topography
Corneal topographyCorneal topography
Corneal topography
 
OPTICAL MICROSCOPY AND COORDINATE MEASURING MACHINE
OPTICAL MICROSCOPY AND COORDINATE MEASURING MACHINE OPTICAL MICROSCOPY AND COORDINATE MEASURING MACHINE
OPTICAL MICROSCOPY AND COORDINATE MEASURING MACHINE
 
corneal topography by ramji pandey ...C L GUPTA eye institute
corneal topography by ramji pandey ...C L GUPTA eye institute corneal topography by ramji pandey ...C L GUPTA eye institute
corneal topography by ramji pandey ...C L GUPTA eye institute
 
Keratometry & autorefraction
Keratometry & autorefractionKeratometry & autorefraction
Keratometry & autorefraction
 
Scheimpflug imaging in ophthalmology
Scheimpflug imaging in ophthalmologyScheimpflug imaging in ophthalmology
Scheimpflug imaging in ophthalmology
 
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATORIRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
 
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATORIRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
IRIS BIOMETRIC RECOGNITION SYSTEM EMPLOYING CANNY OPERATOR
 
E017443136
E017443136E017443136
E017443136
 

Mais de Piyush Mittal

Mais de Piyush Mittal (20)

Power mock
Power mockPower mock
Power mock
 
Design pattern tutorial
Design pattern tutorialDesign pattern tutorial
Design pattern tutorial
 
Reflection
ReflectionReflection
Reflection
 
Gpu archi
Gpu archiGpu archi
Gpu archi
 
Cuda Architecture
Cuda ArchitectureCuda Architecture
Cuda Architecture
 
Intel open mp
Intel open mpIntel open mp
Intel open mp
 
Intro to parallel computing
Intro to parallel computingIntro to parallel computing
Intro to parallel computing
 
Cuda toolkit reference manual
Cuda toolkit reference manualCuda toolkit reference manual
Cuda toolkit reference manual
 
Matrix multiplication using CUDA
Matrix multiplication using CUDAMatrix multiplication using CUDA
Matrix multiplication using CUDA
 
Channel coding
Channel codingChannel coding
Channel coding
 
Basics of Coding Theory
Basics of Coding TheoryBasics of Coding Theory
Basics of Coding Theory
 
Java cheat sheet
Java cheat sheetJava cheat sheet
Java cheat sheet
 
Google app engine cheat sheet
Google app engine cheat sheetGoogle app engine cheat sheet
Google app engine cheat sheet
 
Git cheat sheet
Git cheat sheetGit cheat sheet
Git cheat sheet
 
Vi cheat sheet
Vi cheat sheetVi cheat sheet
Vi cheat sheet
 
Css cheat sheet
Css cheat sheetCss cheat sheet
Css cheat sheet
 
Cpp cheat sheet
Cpp cheat sheetCpp cheat sheet
Cpp cheat sheet
 
Ubuntu cheat sheet
Ubuntu cheat sheetUbuntu cheat sheet
Ubuntu cheat sheet
 
Php cheat sheet
Php cheat sheetPhp cheat sheet
Php cheat sheet
 
oracle 9i cheat sheet
oracle 9i cheat sheetoracle 9i cheat sheet
oracle 9i cheat sheet
 

Biometric Security :Eyelid detection

  • 1. Eyelid Detection SOURAV KUMAR BHOI
  • 2. CONTENTS ∗ Introduction ∗ Eye Contour Model ∗ Iris Detection ∗ Center Detection ∗ Eyelid Detection Algorithm ∗ Experimental Analysis ∗ Matching ∗ Conclusion
  • 3. Introduction ∗ The exact eye shape is a useful piece of input information for applications like facial expression recognition, feature- based face recognition and face modelling. ∗ The detection algorithm works in several steps: ∗ iris center and radius is estimated ∗ exact upper eyelid contour is detected by searching for luminance valley points. ∗ lower eyelid is estimated from the eye corners coordinates and iris.
  • 4. Eye Contour Model ∗ The input data for the algorithm is a color image containing a single human eye. ∗ The approximate scale and bounding box of the eye is considered to be known. ∗ This normalization renders our detection techniques scale- independent and permits us to work with absolute values of some thresholds and parameters. ∗ Our eye contour model consists of upper lid curve (in cubic polynomial), lower lid curve (in quadratic polynomial) and the iris circle. ∗ The detection is performed in four steps: • Iris center detection • Iris radius estimation • Upper eyelid contour detection • Lower eyelid estimation
  • 5. Cont… ∗ The iris center and radius detection is performed in image’s red channel, which emphasizes the iris border. This is due to the fact, that iris usually exhibits low values of red (both for dark and light eyes), while the surrounding pixels (sclera and skin) have significantly higher red values.
  • 6. IRIS DETECTION ∗ First, approximate iris center point is detected. The central part of the eye image is checked for strong highlight presence by comparing maximum pixel value to a threshold. ∗ If strong highlight is found, the central area of eye bounding box is scanned with a circular search window with radius close to expected pupil (not iris) radius, checking for several conditions: ∗ 1. The local minimum inside the search window should not differ more than a given threshold from the global minimum inside the eye bounding box (this makes sure, that dark pixels are present in the search window).
  • 7. Cont… ∗ 2. The variance of pixel values inside the search window should not be smaller than a certain portion of global eye image variance (making sure, that both dark and bright pixels are present inside the search window); ∗ 3. The number of pixels darker than a given threshold should be not less than a pre-defined value (checking, that enough dark pixels are present inside the search window);
  • 8. Cont… ∗ All the locations, where these conditions are satisfied are called the ”highlight locations”. ∗ Their coordinates are averaged to determine the expected eye center (x0, y0). ∗ If no strong highlight is detected, a 5x5 minimum filter is applied to eye area, to eliminate weak highlight.
  • 10. Accurate Iris Center Detection ∗ Ahlberg developed an algorithm in 1999 where two assumptions are taken on the expected eye appearance: 1.the iris is approximately circular and 2.it is dark against the background. ∗ The iris center and radius are found by searching for a circle, which lies on the border between dark pixels of iris and bright pixel of the eye white.
  • 14. Eyelid Detection ∗ The upper lid detection is performed in three stages.First, a set of points that belong to upper eyelid is found. Then, this point set is examined to remove outliers. Finally, a cubic polynomial curve is fitted to the correct eyelid points. ∗ The lower lid is estimated by fitting a quadratic curve to the eye corners and the lower point of the iris circle - a reasonable approximation of the eye contour.
  • 15. Cont… ∗ The well-known methods of eye shape estimation are based on using high spatial luminance gradient locations (so-called edges) as the attractors for the eyelid curve. ∗ One problem is very noisy edge map and therefore huge amount of spurious edges, even for a clear eye image. ∗ The second is possible absence or discontinuity of the significant edges. ∗ In some cases the brightness transition from sclera to eye border and further to skin is too smooth to be identified as an edge by a conventional edge detector.
  • 16. Cont… ∗ Examining the luminance values change along a single horizontal row of the eye image shows that significant local minima correspond to eye boundary points. ∗ We deduce that looking for brightness valley points instead of edge points is a more appropriate way for eye shape estimation. ∗ We detect the luminance valley points, that most likely correspond to the eye border in each row of the eye image. These points are the points of significant local minima of the horizontal luminance profiles.
  • 17. Eyelid Detection Algorithm ∗ Eye opening height determination ∗ Eye border points detection ∗ Outlier points removal and ∗ Polynomial curves fitting.
  • 18. Eye Opening Height ∗ The eye opening height is determined by scanning the image iris area vertically from top to bottom calculating each line’s average red value: ∗ Iy is the set of x-coordinates from the y line, that lie inside the iris circle. ∗ |Iy| is the number of elements in the Iy set and ∗ R(x, y) is the red value of image pixel with (x, y) coordinates. ∗ The area of low h(y) values indicate the area of visible (not occluded by eyelids) iris area - the eye opening height.
  • 19. Eye border points set construction ∗ After the eye opening height is known, the lines of visible iris area are scanned outwards from the iris borders in search for points that satisfy one conditions: ∗ the point is a start of sharp luminance increase (we have reached skin).
  • 20. Cont… ∗ This produces a set of points, that presumably lie on the upper eyelid.
  • 21. Erroneous and outlier points removal ∗ The border points set can contain outliers and erroneous points, that would deviate fitted curve from the real eye contour. ∗ To eliminate these outliers, two straight lines are fitted to the left and right halves of the points set by the means of the Hough transform . ∗ The Hough transform is known to be robust to imperfect data and noise. ∗ Hough transform produces a set of lines, that pass through at least 30% of the points in the subset. ∗ The line with maximum number of point lying closer than a predefined distance ‘r’ is chosen as the principle line of the subset. ∗ The points that lie too far are removed(outliers).
  • 22. Eye border Points (a) - initial eye border points set. (b) - set with marked principle lines and outliers removed. (c) - a cubic polynomial curve fitted to the final border points set.
  • 23. Eyelid curves fitting ∗ Among the remaining points the leftmost and rightmost are chosen to be the eye corners. ∗ All the points that lie above the line, connecting the eye corners are treated as belonging to upper eyelid. Finally, the upper iris border points are added to the set and the lid curve is estimated by polynomial curve fitting procedure. ∗ The lower lid is detected by fitting the eye corners and the lower point of the iris circle with a quadratic curve.
  • 24. Experimental Analysis ∗ The algorithm was applied to images of approximately 50 individuals taken under different lighting conditions with different cameras and quality.
  • 25. Matching ∗ Height of the opening ∗ Distance from right corner to left corner point. ∗ The hough transform distance ‘r’ .
  • 26. Conclusion ∗ The method proposed is robust and sufficient accuracy for face modelling application, while being simple in implementation and fast in processing time (especially compared with deformable models-based methods).
  • 27. References 1. Robust and Accurate Eye Contour Extraction, Vladimir Vezhnevets & Anna Degtiareva, Graphics and Media Laboratory, Moscow State University. 2. A New Method of Detecting Human Eyelids by Deformable Templates ,Yuwen WU, Hong LIU, Hongbin ZHA , National Lab. on Machine Perception, Peking University, China. 3.A System for Face Localization and Facial Feature Extraction, Jorgen Ahlberg,1999.