In a process of detecting a person falling asleep, an image of the face of the person is acquired. Pixels of the image having characteristics corresponding to an eye of the person are selected and a histogram is formed of the selected pixels. The histogram is analyzed over time to identify each opening...http://www.google.es/patents/US6717518?utm_source=gb-gplus-sharePatente US6717518 - Method and apparatus for detection of drowsiness