The present invention is directed to a real-time automated video cognizer that functions as a facial video processor for detecting drowsiness in operators of motorized vehicles, including the use of a video cognizer to provide pattern recognition and control signal generation during monitoring of macroscopic or microscopic biological processes. More specifically, the present invention accepts input from a video monitoring system that continuously captures the operator's facial images; employing three sequential means of processing the digitized video information to extract the position and configuration of drowsy-relevant facial features and numerically processes this information to yield a quantitative estimate of drowsiness probability in each epoch of monitoring. The means of the present invention are noninvasive, do not restrict driver movement or performance, provide increased measurement reliability for actual driver behavior, and include the capability of generating or triggering suitable alarms when drowsiness occurs.
|
1. An apparatus for monitoring a biological process, said apparatus comprising a processor programmed to perform a method, said method comprising:
receiving image data of an object having one or more features, said image data corresponding to frames comprising a plurality of pixels;
dividing each frame into one or more regions based on the one or more features and each region into one or more subregions;
filtering pixels in each subregion according to a pixel intensity range to provide a filtered output of pixels;
defining for each frame a first area within each subregion, said first area defined by one or more predetermined shape equations according to a shape of a feature to be monitored in the subregion and defining for each frame a second area within each subregion, said second area adjacent to said first area; and
evaluating for each frame the number of filtered output of pixels in the first area for each subregion to transform the image data to a scalar feature signal for each subregion wherein said step of evaluating comprises determining for each frame the difference between the number of filtered output pixels in the first area and the number of filtered output pixels in the second area and outputting a value of the difference to produce the scalar feature signal for each subregion.
2. The apparatus of
perform the method further comprising:
detecting one or more changes in a feature in a first area in a subregion; and
modifying parameters of said shape equations defining said first area to correspond to the detected changes.
3. The apparatus of
transforming each scalar feature signal to produce a behavior indicating output signal for each subregion.
4. The apparatus of
combining the behavior indicating output signals for each subregion to obtain a composite behavior indicating output signal to monitor the biological process.
5. The apparatus of
6. The apparatus of
correlating the composite behavior output signal with one or more independent measures of the biological process so as to increase the accuracy with which the composite behavior output signal monitors the biological process.
|
This application is a continuation of U.S. patent application Ser. No. 10/692,834 filed Oct. 23, 2003, which in turn claims priority pursuant to 35 U.S.C. §119(e) to U.S. Provisional Application No. 60/421,690, filed Oct. 28, 2002, which applications are specifically incorporated herein, in their entirety, by reference.
1. Field of Invention
The present invention is directed to a method and apparatus for detection of drowsiness by an operator of motorized vehicles.
2. Description of Related Arts
Extraction and processing of video images have been investigated for several decades. However, only recently have systems been available with sufficient power and miniaturization to allow for digital video acquisition and processing in real time. These systems can be configured to operate with modern laptop computers or equivalent embedded processing systems to allow real time extraction of video images. The same instrument can be employed to monitor a variety of biological processes, with extraction of data in macroscopic and computerized microscopy environments to drive alarms and to produce control signals for biological production systems.
The importance of drowsiness detection has become increasingly evident with progress in sleep physiology. It is known that many vehicle operators, such as long-distance truck drivers, are sleep-deprived either because of occupational demands (long hours or non-daytime shift work) or because of sleep apnea, behavioral sleep disorders, and fragmented sleep do to physical conditions such as prostatism. Such operators are far more likely to develop drowsiness, particularly on long, monotonous runs such as freeways. The performance of drowsy drivers is much worse than that of alert drivers, and in some cases the impairments rival those of drivers who are intoxicated. Unlike intoxication, however, where the driver can reasonably anticipate that his performance would be impaired, drowsiness-prone drivers often begin their travel in an alert state and are unaware that drowsiness may encroach insidiously upon their performance. They may thus not foresee that their behavior may become dangerous, or even fatal, on the road. Similar considerations apply to truckers, train engineers, and pilots.
Drowsiness occurs in several stages. These stages have both electrophysiologic and physical correlates. One of the conventional indicators of state of alertness is the use of an electroencephalogram (EEG). Individuals who become drowsy and drift off into sleep tend to show certain characteristic EEG features. The normal alpha (8 Hz) activity is suppressed by sensory stimuli and activities in alert individuals. As drowsiness begins, the alpha amplitude increases, and the waveform becomes more regular. Then slower, more irregular rhythms take over, followed by characteristic light sleep patterns (vertex sharp waives, spindles, theta and some delta activity). By the time these latter features appear, the driver no longer is able to control his vehicle. There are serious problems in attempting to use EEG in a situation of active transportation. More specifically, attaching reliable EEG acquisition electrodes to the scalp requires skill, and certainly patience and time, beyond that possessed by the average driver, and maintaining the electrodes in position with normal head movements during driving is not generally practicable. Moreover, problems with electrical noise, generated by driver movement and the automobile environment, will generally swamp the EEG signals, whose amplitudes are in the range 5-20 microvolts, that are necessary to monitor early signs of drowsiness. Other electrical methods, such as monitoring eye movements, suffer from the same problems and are even less reliable from the physiologic viewpoint.
A variety of sensors of physiologic functions, including respiration, pulse, blood pressure, and driver movements, have also been proposed, but their reliability is relatively low, especially compared to EEG, and, again, attaching the sensors reliably is beyond the competence and interest of the average driver. At all events, a drowsiness detector must be noninvasive and independent of driver set-up behavior.
U.S. Pat. No. 6,243,015 discloses a system of continuous digital imaging wherein the vertical “eye-width” is followed continuously and a “drowsiness factor” is purportedly plotted based on the this vertical width.
U.S. Pat. No. 6,130,617 discloses a process for digitizing video with the purpose of extracting an image of the driver's eyes. The method appears to be based on recognition of candidate pairs of points after video “binarization” of the facial data. Video threshold processing is used to assign a value to pixels having black levels “similar to that of eyes” and 0-values to all other pixels. A major problem here is the evident procedure of extracting very small regions from the full facial frame whose purported uniqueness is dependent on distance patterns that may well be produced in individual video frames at random, especially because of video noise and vibrational movements of the driver's head due to vehicle motion, and are certain to be distorted by normal driver head motion. Extensive interframe correlation appears to be necessary for validation of such points. But interframe correlation is difficult because of frequent driver head movements whose amplitude is greatly in excess of the dimensions of the points of interest and their separating distances. An additional difficulty is that, even if detection of eye position were possible as described, this would be an incomplete drowsiness detection system because of failure to integrate the behavior of other facial areas necessary for evaluation of the drowsy state, including eyebrows, mouth, and general head movement patterns.
U.S. Pat. No. 5,859,921 discloses variable video filtering used to convert given signal elements to the maximum value in surrounding regions, or to convert a signal element to the minimum value of a surrounding area, which appears to be a type of lateral inhibition filter. The diagram of their
U.S. Pat. No. 5,859,686 discloses a method involving formulating a reference matrix of values corresponding to a potential eye location. For each video frame, an X by Y matrix of values is compared to an X by Y block of pixels. The frame is scanned by comparing successively scanned pixel blocks to the matrix values in order to ascertain regions containing intensity blocks corresponding to the subject's pupil and a portion of the iris. As described, this method requires (a) that sufficient resolution and discrimination is possible in a real driving setting to allow a stable reference pupil-iris discriminating matrix be produced, (b) that the driver's head is maintained with sufficient stability that the matrix comparison to real-time values can be performed in the described sequential fashion over the frame, (c) that frame-to-frame correlation (stability) is adequate to provide a stable comparison matrix, (d) that a blink pattern be discriminated as a validation and confirmation of the matrix correlation, and (e) that, even given the foregoing, the eye movements detected would be sufficient to discriminate drowsiness. No actual indication is given of real driving data that correlate the values obtained by the system described, or even that reliable pupil-iris data can be obtained by this method.
U.S. Pat. No. 5,805,720 discusses video threshold processing that locates coordinates of a centroid in a region of pixels consistent with eye intensity. However, the exact criteria for distinguishing the eye specific pixel thresholds are not disclosed in such a manner that a computation method can be determined. A similar problem exists for discerning the method by which the evaluation functions and shape functions are calculated. Moreover, this method again addresses only eye dimensions and does not provide a means to compensate for general driver head motion and does not measure other facial features, to be described, as are incorporated in the present invention.
The present invention provides a method and system for detection of drowsiness using noninvasive video monitoring of a person's face. More specifically, video monitoring can be used to monitor the face of an operator of a vehicle, such as a driver of a truck, to determine whether the operator may be falling asleep while operating the vehicle. The video acquisition cameras may be mounted unobtrusively to avoid disturbing the driver or her field of view. Moreover, data acquisition can be automated and independent of specific performance of the driver. As a result of these advantages, the means described herein allow configuration of system sensitivity and specificity to an extent not readily achievable with invasive technologies in a practical driving situation.
In order to acquire data to indicate drowsiness, a camera is mounted with direct view of the driver's face, above or lateral to his field of view. This can be achieved either with a single camera at a level just below the sun visor, or by mounting two cameras laterally and alternately sampling their images. The best method (single or bilateral) of camera mounting remains to be determined, as does the optimal sampling method (visible versus infrared) for varying light conditions, but the principles are the same in either case. The video signal is digitized in real time, and the bitmap for each frame is stored in a frame buffer. The intensity of each point is processed by using a video filter whose parameters are under program control. The filter enhances the facial fiducial characteristics to produce time-varying intensity signals, suitably quantized, that correspond to regions of interest (ROIs) in which the fiducial facial features are located. These features include the palpebral fissures, eyebrows, mouth, and bilateral head boundaries. (Additional fiducials can also be configured by using the means described herein.) Each of these facial features may show variations in configuration: The palpebral fissures may narrow with drowsiness, or show excessive widening with early drowsiness as the driver attempts to compensate for sensations of drowsiness.
By altering the parameters and shape equations of this process, the present invention can also be used to monitor biological processes in which real time responses must be made to nonrecurrent, qualitatively templatable images. In the preferred embodiment, which is optimized for driver drowsiness detection, video information is transferred in real time to a digital buffer with intensity filtering characteristics such that the filtered buffer contains intensity levels consistent with a first approximation to defined feature extraction.
A second level of processing allows specific shape discrimination from the first filtered buffer. A third level of processing comprises a time-intensity transform means whose output is a quantity proportional to the probability that the discriminated feature represents driver drowsiness. The processing means are applied to individual facial characteristics. All parameters controlling the respective processing means are modifiable by feedback from an overall monitor of data quality, including ambient light levels, and there is provision for incorporating output from other transducers to adjust system performance. The means and their configuration allow system training on individual driver facial characteristics (facial fiducials) at the beginning of a driving session. At the time of training, scanning of system parameters allows creation of ROIs in the video representation of the face. These ROIs can be dynamically reconfigured for driving conditions and driver's movements. In the present embodiment, the ROIs correspond to fiducials related to eye characteristics, mouth characteristics, and head movement characteristics.
Processing means are preferably optimized for each ROI (eyes, mouth, head). For improved accuracy of results, each of the three ROIs is preferably subdivided into four subregions (SRs), and the outputs for all SRs within an ROI are correlated for improved accuracy. The system analyzes the configuration of the specified facial fiducials to preferably determine whether driver behavior represents a low (SAFE), MODERATE or SEVERE likely level of drowsiness. The system incorporates complete capability of adjustment of all measurement parameters such that final output may be correlated easily with other measures of drowsiness to establish a reliable cross correlation between video data and such other measures. This correlation will maximize the accuracy of the system on the basis of actual road testing. The system incorporates an interfacing means that produces computer-generated speech alarms and provides electrical triggers for external alarm devices upon the appearance of each of the nonsafe drowsiness levels. Data processing occurs in real time.
Evaluation of the levels is preferably displayed graphically, and alarms are preferably actuated as indicated, at the end of an analysis epoch (typically 4 seconds) whose length is under program control. The system incorporates provision for continuous recording of all data.
The preferred embodiment of the present invention will now be described with references to
Drowsiness probability calculation in accordance with the preferred embodiment of the present invention is preferably based on the operation of three sequential means of processing (see
Operation of VLFM is demonstrated in
The same process can be employed to resolve mouth geometry, as shown in
Operation of the SDM is shown in
In all these cases, for this frame, a significant portion of the selection, as represented by the respective areas of fiducial intensity, falls within the penumbra rather than the umbra 99. The SDM computes the difference between the area of the intensity shape impinging within the umbra and the weighted area of the intensity shape falling within the penumbra. Any intensity area outside both the umbra and penumbra is ignored entirely as clear artifact. The intensity area within the umbra represents signal, corresponding to the expected facial fiducial, in this case eyebrow or palpebral fissure. The intensity area within the penumbra is considered noise, artifact unrelated to the facial fiducial. Thus, the subtraction process acts to produce lateral inhibition, exactly analogous to the process that occurs in the retina to increase visual contrast and reject noise. In this case, however, the lateral inhibition is keyed to the expected shape, and is perhaps more closely approximated, at least by analogy, to more critical cortical discrimination, rather than retinal discrimination functions.
The overall effect, accordingly, is to produce clear signals related to the presence of facial fiducials of the appropriate configurations when, and only when, these fiducials appear within the appropriate regions. Each area difference is converted to a scalar, the characteristic intensity value (CIV) for the given SR in its ROI within the current video frame; this scalar is thus the output of the SDM for this SR (one of 12 SR channels, i.e., 3 ROI X 4 SR/ROI) within its respective ROI for the current frame. A portion of valid fiducial component is cancelled by the process because a portion of the fiducial may fall within the penumbra 99, thus reducing signal level. However, due to the shape configurations of the umbra and penumbra in relation to the expected shapes of the fiducials, an even greater amount of noise is cancelled on average by artifact falling within the penumbra, thus improving the fiducial shape signal/noise ratio. The net result, as will be shown below, is improved reliability of fiducial detection.
A similar process occurs for the mouth ROI 100 and its associated SRs 101, as shown in
The coordinates of the ROIs, the VLFM intensity ranges for each of the SRs, and the shape equations governing the generation of the SDM umbras and penumbras are all preferably controlled by program parameters based on an initialization training session, and all are modifiable by ambient light levels and signal quality. These initial settings can be achieved by a training routine such that the subject driver opens and closes eyes, opens and closes mouth, and rotates head to left and to right upon program instruction. Within broad initial SRs set at program startup, the system will search for changes in intensity levels for each of these actions, and set the running coordinates of the SRs, VLFM parameters, and SDM shape equation parameters to maximize the CIV changes for the fiducial maneuvers, requested. The system will then begin automatic computations.
TITM operates on each of the 12 channels of output from SDM, one channel for each SR, to produce a time-varying transformation of the CIV for each SR. The input to each TITM channel thus comprises one of 12 signals, i.e., one of the CIVs for each of the SRs, that are functions of time, and the TITM output for each SR is a value indicating the probability of drowsiness from that SR. An appropriate combination (linear in the present embodiment) of transformed CIVs gives rise to a composite value that is the system assessment of the probability of the level (SAFE, MODERATE, or SEVERE) of drowsiness. For a given SR within an ROI assigned to a facial fiducial, let Isrn(t) represent the TITM output value for that channel at time position t corresponding to a given frame within an analysis epoch.
As configured in the present embodiment, tinitial=0, representing the beginning of the given epoch, tfinal=120 representing the end of the epoch, chosen in the present embodiment as ˜4 sec. The frame time increment, i.e., actual time elapsed between epoch positions t−1 and t is ˜33 ms for standard video frame processing. Isrn(t) then indicates probability of drowsiness generated from the nth (1st, 2nd, 3rd, or 4th) SR of the given ROI (for eyes, mouth, or hairline). The algorithm of TITM is the following:
where Vsrn(t) is the CIV from SDM for the nth SR at time position t. ζsrn is an exponential decay time constant (typically having a value of 0.98) that determines the rate at which the Isrn(t) value falls off in the absence of an input signal satisfying the condition Vsrn(t)≧Isrn(t). The effect of this computation is shown in
A calibration signal, rather than the driver SR output signals, is introduced here to demonstrate TITM response. With ζsrn=0, no modification of the input signal occurs. This is demonstrated for the SR graphs of ROI1 121. With ζsrn=0.96 (set for RO12) 122, decay is too rapid for reliable functioning in relation to driver behavior. With ζsrn=0.98 (shown for RO13) 123, the system presents a reasonable approximation with which accurate assessment of behavioral significance in the driver is attained. The rationale for choosing the ζsrn value will be discussed below. System response is shown for a rectangular calibration signal (A) and sinusoidal calibration signal (B). In both cases, as will be seen below, the TITM responses are as required for behavioral assessment when ζsrn=0.98.
where PaIrt is a measure of alertness; CEye, CMth, and CHd are gain parameters for the signals from the ROIs for eyes (RE), mouth (RM), and head (RR) respectively; hL and hR are parameters to adjust for hairline or other head asymmetries for the left head SRs (denoted as RHl) versus right head SRs (denoted as RHr); IRE(t) are the TITM output signals for the eye SRs, IRM(t) are the TITM output signals for the mouth SRs, and IRH(t) are the output signals for the hairline SRs. Palrt thus increases when eye position meets the criteria, computed from SDM and TITM, for attaining standard position, and decreases when yawning or lateral hairline deviation occurs. An overall measure of drowsiness for the epoch, Depoch then may be computed as Depoch=D0−Palrt,(tfinal), D0 being a constant chosen so that Depoch ranges from 0 (an alert state) to Dmax, a severely impaired state approaching actual sleep. The Depoch signal is monitored to provide a display and recording of drowsiness 171 and to trigger alarms 172. All parameters are freely adjustable under program control and can thus be optimized dynamically for an individual driver's facial fiducials and behavioral characteristics, as well as for changes in driving conditions.
Output from the invention when processing video input from an actual driver is demonstrated in
Note that not all components are equally increasing at any instant because of normal facial and behavioral variation. Thus, the sum of correspondences is a better, more reliable measure of attainment of standard eye position than a single component would be. The upper video 134 is representative of detection for a frame during the first large complex indication, while the lower video 135 represents a frame during the smaller peaks later in the traces 136. In the latter case, the correspondence is less exact because of skewed eye complex positioning and more artifact 137; hence the deflections in the SR traces are smaller to indicate less precise attainment of the standard position. The nondeflected (0-level) portions of the traces indicate the eye complex out of position altogether 138.
The Isrn(t) output from TITM is shown in the lower traces. This signal is better correlated with behavior relevant to driving in terms of overall significant eye complex positioning.
A driver typically does not maintain constant head or eye position in the normal course of driving. Attainment of standard position, even for an alert driver, occurs only briefly, but should occur frequently. The Isrn(t) signals therefore provide a better representation of the relationship of eye position to alertness than the Vsrn(t) signals. The detection of the first complex results in a clear upward deflections 139 in each of the associated SR channels that fall off gradually after the eyes move out of position. In the absence of another similar positioning, the traces continue to fall off with time, indicating decreasing probability, in the absence of repetition, that this single positioning is related to alertness. These probabilities would again increase upon presentation of another attainment of eye position. The Isrn(t) are therefore measuring the alertness probability for the eye component as a behaviorally correlated value.
The composite indicator measures Depoch, as indicated in
Patent | Priority | Assignee | Title |
10065651, | May 10 2016 | Samsung Electronics Co., Ltd | Electronic device and method for determining a state of a driver |
11861916, | Oct 05 2021 | Yazaki Corporation | Driver alertness monitoring system |
9613543, | Sep 24 2010 | Honeywell International Inc. | Alert generation and related aircraft operating methods |
9704502, | Jul 30 2004 | The Invention Science Fund I, LLC | Cue-aware privacy filter for participants in persistent communications |
9779750, | Jul 30 2004 | The Invention Science Fund I, LLC | Cue-aware privacy filter for participants in persistent communications |
Patent | Priority | Assignee | Title |
4396903, | May 29 1981 | Westinghouse Electric Corp.; Westinghouse Electric Corporation | Electro-optical system for correlating and integrating image data from frame-to-frame |
5786765, | Apr 12 1996 | Mitsubishi Jidosha Kogyo Kabushiki Kaisha | Apparatus for estimating the drowsiness level of a vehicle driver |
5805720, | Jul 28 1995 | Mitsubishi Denki Kabushiki Kaisha | Facial image processing system |
5859686, | May 19 1997 | MEDFLEX, LLC | Eye finding and tracking system |
5859921, | May 10 1995 | Mitsubishi Denki Kabushiki Kaisha | Apparatus for processing an image of a face |
5867587, | May 19 1997 | MEDFLEX, LLC | Impaired operator detection and warning system employing eyeblink analysis |
5905807, | Jan 23 1992 | Matsushita Electric Industrial Co., Ltd. | Apparatus for extracting feature points from a facial image |
6082858, | Apr 29 1998 | Carnegie Mellon University | Apparatus and method of monitoring a subject's eyes using two different wavelengths of light |
6130617, | Jun 09 1999 | Hyundai Motor Company | Driver's eye detection method of drowsy driving warning system |
6163281, | Nov 25 1997 | GOOGLE LLC | System and method for communication using eye movement |
6243015, | Jun 17 1999 | Hyundai Motor Company | Driver's drowsiness detection method of drowsy driving warning system |
6542081, | Aug 19 1996 | GOOGLE LLC | System and method for monitoring eye movement |
6661345, | Oct 22 1999 | Johns Hopkins University, The | Alertness monitoring system |
6714665, | Sep 02 1994 | SRI International | Fully automated iris recognition system utilizing wide and narrow fields of view |
6756903, | May 04 2001 | SPHERICON LTD | Driver alertness monitoring system |
6924832, | Aug 07 1998 | CEDAR LANE TECHNOLOGIES INC | Method, apparatus & computer program product for tracking objects in a warped video image |
6974414, | Feb 19 2002 | Volvo Technology Corporation | System and method for monitoring and managing driver attention loads |
7027621, | Mar 15 2001 | Mikos, Ltd.; MIKOS, LTD | Method and apparatus for operator condition monitoring and assessment |
7043056, | Mar 08 2001 | SEEING MACHINES LIMITED | Facial image processing system |
7183932, | Mar 21 2005 | Toyota Motor Corporation | Inter-vehicle drowsy driver advisory system |
20040247183, | |||
WO9705566, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Date | Maintenance Fee Events |
Oct 25 2013 | REM: Maintenance Fee Reminder Mailed. |
Mar 16 2014 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Mar 16 2013 | 4 years fee payment window open |
Sep 16 2013 | 6 months grace period start (w surcharge) |
Mar 16 2014 | patent expiry (for year 4) |
Mar 16 2016 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 16 2017 | 8 years fee payment window open |
Sep 16 2017 | 6 months grace period start (w surcharge) |
Mar 16 2018 | patent expiry (for year 8) |
Mar 16 2020 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 16 2021 | 12 years fee payment window open |
Sep 16 2021 | 6 months grace period start (w surcharge) |
Mar 16 2022 | patent expiry (for year 12) |
Mar 16 2024 | 2 years to revive unintentionally abandoned end. (for year 12) |