Human Automotive Interaction: Affect Recognition for Motor Trend Magazine's Best Driver Car of the Year Human Automotive Interaction: Affect Recognition for Motor Trend Magazine's Best Driver Car of the Year

Observation analysis of vehicle operators has the potential to address the growing trend of motor vehicle accidents. Methods are needed to automatically detect heavy cognitive load and distraction to warn drivers in poor psychophysiological state. Existing methods to monitor a driver have included prediction from steering behavior, smart phone warn‐ ing systems, gaze detection, and electroencephalogram. We build upon these approaches by detecting cues that indicate inattention and stress from video . The system is tested and developed on data from Motor Trend Magazine's Best Driver Car of the Year 2014 and 2015. It was found that face detection and facial feature encoding posed the most dif‐ ficult challenges to automatic facial emotion recognition in practice. The chapter focuses on two important parts of the facial emotion recognition pipeline: (1) face detection and (2) facial appearance features. We propose a face detector that unifies state‐of‐the‐art approaches and provides quality control for face detection results, called reference‐based face detection. We also propose a novel method for facial feature extraction that com‐ pactly encodes the spatiotemporal behavior of the face and removes background texture, called local anisotropic‐inhibited binary patterns in three orthogonal planes. Real‐world results show promise for the automatic observation of driver inattention and stress.


Introduction
In this chapter, we focus on the development of a system to track cognitive distraction and stress from facial expressions. The ultimate goal of our work is to create an early warning system to alert a driver when he/she is stressed or inattentive. This advanced facial emotion recognition technology has the potential to evolve into a human automotive interface that grants nonverbal understanding to smart cars. Motor Trend Magazine's The Enthusiast Network has collected data of a driver operating a motor vehicle on the Mazda Speedway race track for the Best Driver Car of the Year 2014 and 2015 [1]. A GoPro camera was mounted on the windshield facing the driver so that gestures and expressions could be captured naturalistically during operation of the vehicle. Attention and valence were annotated by experts according to the Fontaine/PAD model [2]. The initial goal of both tests was to detect the stress and attention of the driver as metrics for ranking cars, automatically with computer algorithms. However, affective analysis of a driver is a great challenge due to a myriad of intrinsic and extrinsic imaging conditions, extreme gaze, pose, and occlusion from gestures. In 2014, two institutions were invited to apply automatic algorithms to the task but failed. It proved too difficult to detect face region of interest (ROI) with standard algorithms [3] and it was difficult to find a facial feature-encoding scheme that gave satisfactory results. Quantification of emotion was instead carried out manually by a human expert due to these problems. In this chapter, we discuss groundbreaking findings from analysis of the Motor Trend data and share promising, novel methods for overcoming the technical challenges posed by the data.
According to the U.S. Centers for Disease Control (CDC), motor vehicle accidents (MVA) are a leading cause of injury and death in the U.S. Prevention strategies are being implemented to prevent deaths, injuries, and save medical costs. Despite this, the U.S. Department of Transportation reported that MVA increased in 2012 after 6 years of consecutive years of declining fatalities. Video-based technologies to monitor the emotion and attention of automobile drivers have the potential to curb this growing trend. Existing methods to prevent MVA include smart phone collision detection from video [4], intelligent cruise control systems [5], and gaze detection [6]. The missing link in all these prevention strategies is the holistic monitoring of the driver from video-the key participant in MVA, and the detection of cues indicating inattention and stress. The introduction of intelligent transportation systems and automotive augmented reality will exacerbate the growing problem of MVA. While one would expect autonomous/self-driving cars to decrease MVA from inattention, intelligent transportation systems will return control of the vehicle to the driver in emergency situations. This handoff can only occur safely if the vehicle operator is sufficiently attentive, though his/her attention may be elsewhere from complacency due to the auto piloting system. Augmented reality systems seek to enhance the driving experience with heads-up displays and/or head-mounted displays that can distract the vehicle operator [7]. In short, driver inattention will continue to be a significant issue with cars into the future.

Related work
The field of affect analysis dates back to 1872 when Charles Darwin studied the relationship between apparent expression and underlying emotional state in the book, "The Expression of the Emotions in Man and Animals [8]." Communication between humans is a complex process beyond the delivery of semantic understanding. During conversation, we communicate nonverbally with gestures, pose, and expressions. One of the first works in automatic affect analysis by computers dates to 1975 [9]. Since this seminal work, emotion recognition has found many applications in medicine [10][11][12], observation analysis (marketing) [13], and deception detection [14][15][16].
Systems to monitor the emotion and attention of vehicle operators date as far back to a 1962 patent that used steering wheel corrections as a predictor of attention and mental state [17]. Currently, there is much interest in the observation analysis of driver cognitive load, attention, and/or stress from video or biometric signals. While gaze has become a popular method for measuring attention of a driver, there is no consensus on how gaze should be monitored. Wang et al. [18] found that a driver's horizontal gaze dispersion was the most significant indicator of concentration under heavy cognitive load. Mert et al. [19] studied gaze during the handoff between manual vehicle control and autonomous piloting systems. It was found that if a driver was out of the loop it took more time to recover control of the vehicle, increasing the risk of MVA. However, a drawback to both of these methods is that it may not be possible to obtain an accurate measurement of driver gaze from video. A collaboration between AUDI AG, Volkswagen, and UC San Diego developed a video-based system for the detection of attention [20,21]. This system focused on extracting head position and rotation using an array of cameras. We build upon state-of-the-art with an improved system that detects attention from only a single front-facing camera. In the following, we discuss the two most significant challenges to the system: face detection and facial feature encoding.

Related work in face detection
Detection of ROI is the first step of pattern recognition. In face detection, a rectangular bounding box must be computed that contains the face of an individual in the video frame. Despite significant advances to the state-of-the-art, detection of face in unconstrained facial emotion recognition scenarios is a challenging task. Occlusion, pose, and facial dynamics reduce the effectiveness of face ROI detectors. Imprecise face detection causes spurious, unrepresentative features during classification. This is a major challenge to practical applications of facial expression analysis. In Motor Trend Magazine's Best Driver Car of the Year 2014 and 2015, emotion was a metric for rating cars. In 2014, two institutions were invited to apply automatic algorithms to the task but all algorithms failed to sufficiently detect face ROI. Quantification of emotion was carried out manually by a human expert due to this problem [22].
Over the past 5 years, face detection has been carried out with the Viola and Jones algorithm (VJ) [10,[23][24][25][26][27]. Since the release of VJ, there have been numerous advances to face detection. Dollár et al. [28] proposed a nonrigid transformation of a model representing the face that is iteratively refined using different regressors at each iteration. Sanchez-Lozano et al. [29] proposed a novel discriminative parameterized appearance model (PAM) with an efficient regression algorithm. In discriminative PAMs, a machine-learning algorithm detects a face by fitting a model representing the object. Cootes et al. [30] proposed fitting a PAM using random forest regression voting. De Torre and Nguyen [23] proposed a novel generative PAM with a kernel-based PCA. A generative PAM models parameters such as pose and expression, whereas a discriminative PAM computes the model directly.
While the field of pattern recognition has historically been about features, ROI extraction is arguably the most important part of the entire pipeline. The adage, "garbage-in garbage-out" applies. In the AV+EC 2015 grand challenge, the Viola and Jones face detector [3] has a 6.5% detection rate and Google Picasa has a 0.07% detection rate. How does one infer the missing 93.95% of face ROIs? Among the "successfully" extracted faces, what is their quality? If one were to fill in the missing values with poor ROIs the extracted features would be erroneous and lead to a poor decision model. To address this, we propose a system that unifies current approaches and provides quality control of extraction results, called reference-based face detection. The method consists of two phases: (1) In training, a generic face is computed that is centered in the image. This image is used as a reference to quantify the quality of detection results in the next step. (2) In testing, multiple candidate face ROIs are detected, and the candidate ROI that best matches the reference face in the least squared sense is selected for further processing. Three different methodologies for finding the face ROIs are considered: a boosted cascade of Haar-like features, discriminative parameterized appearances, and a parts-based deformable models. These three major types of face detectors perform well in exclusive situations. Therefore, better performance can be achieved by unifying these three methods to generate multiple candidate face ROIs and quantifiably determine which candidate is the best ROI.

Related work in facial appearance features
Local binary patterns (LBP) are one of the most commonly used facial appearance features. They were originally proposed by Ojala et al. [31] as static feature descriptors that capture texture features within a single frame. LBP encode microtextures by comparing the current pixel to neighboring pixels. Differences are recorded at the bit level, e.g., if the top pixel is greater than the middle pixel a specific bit is set. Identical microtextures will take on the same integer value. There have been many improvements and variations of LBP over the years as the problems within computer vision became more complex. Independent frame-by-frame analysis is no longer sufficient for analysis of continuous videos.
A variation of LBP that was developed to address the need of a dynamic texture descriptor was volume local binary patterns (VLBP) [32]. VLBP are an extension of LBP into the spatiotemporal domain. VLBP capture dynamic texture by using three parallel frames centered on the current pixel. The need for a dynamic texture descriptor with a lower dimensionality than VLBP inspired the development of local binary patterns in three orthogonal planes (LBP-TOP) [32]. The dimensionality of LBP-TOP is significantly less than VLBP and is computationally less costly than VLBP.
LBP were not always the most popular local appearance feature. Some of the first, most significant works in facial expression analysis by computers used Gabor filters [33]. Gabor filters have historical significance, and they continue to be used in many approaches [34]. Nascent convolutional neural network approaches eventually learn structures similar to a Gabor filter [35]. The Gabor filters are bioinspired and were developed to mimic the V1 cortex of the human visual system. The V1 cortex responds to the gradient images of different orientation and magnitude. It is essentially an appearance-based feature descriptor that captures all edge information within an image. However, state-of-the-art feature descriptors are known for their compactness and ability to generalize over external and intrinsic factors. The original Gabor filter does not have the ability to generalize in unconstrained settings because it captures all edges within an image, noise included. Furthermore, the Gabor filter is not computationally efficient. The filter produces a response for each filter within its bank. The Gabor filter has been developed into the anisotropic inhibited Gabor filter (AIGF) to model the human visual system's nonclassical receptive field [36]. AIGF generalizes better than the original Gabor filter because of its ability to suppress background noise. A combined Gabor filter with LBP-TOP has been shown to improve accuracy in the classification of facial expressions [37].
A thorough search of literature found no work, which has combined the anisotropic-inhibited Gabor filter and LBP-TOP and this is one of the foci of this chapter. This novel method that compactly encodes the spatiotemporal behavior of a face also removes background texture. It is called local anisotropic-inhibited binary patterns in three orthogonal planes (LAIBP-TOP). This feature vector works by first removing all background noise that is captured by the Gabor filter. Only the important edges of the Gabor filter are retained which are then encoded on the X, Y, and T orthogonal planes. The response is succinctly represented as spatiotemporal binary patterns. This feature vector provides a better representation for facial expressions as it is a dynamic texture descriptor and has a smaller feature vector size.

Technical approach
Automatic facial emotion recognition by computers has four steps: (1) region-of-interest (ROI) extraction, also known as face detection, (2) registration, colloquially known as alignment, (3) feature extraction, and (4) classification/regression of emotion. This chapter will focus on two important parts of the facial emotion recognition pipeline: face region-of-interest extraction and facial appearance features.

Reference-based face detection
Reference-based face detection consists of two phases: (1) In the training phase, a reference face is computed with avatar reference image. This face represents a well-extracted face and quantifies the quality of detection results in the next step. (2) In testing, multiple candidate face ROIs are detected, and the candidate ROI that best matches the reference face in the least squared sense is selected for further processing. Three different methodologies for finding the face ROI are combined: a boosted cascade of Haar-like features (Viola and Jones (VJ) [3], a discriminative parameterized appearance model (SIFT landmark points matched with iterative least squares), and a parts-based deformable model. VJ was selected because of its ubiquitous use in the field of face analysis. Discriminative parameterized appearance models were recently deployed in commercial software [38]. Parts-based deformable models showed promise for face ROI extraction in the wild [39]. Despite the success of currently used methods, there is still much room for improvement. In the Motor Trend data, there are segments of video where one extractor will succeed when others fail. Therefore, better performance can be achieved by unifying these three methods to generate multiple candidate face ROIs and quantitatively determine which candidate is the best ROI. Note that Refs. [38,39] use VJ for an initial bounding box so running more than one face detector is not excessive for state-ofthe-art approaches.

Reference-based face detection in training
The avatar reference image concept generates a reference image of an expressionless face. It was previously used for registration [40] and learning [41]. A proof of optimality of the avatar image concept is given in the previous work [42]. Let I be an image in the training data D . To estimate the avatar reference image R ARI ( x ) , take the mean across all face images: where N D is the number of training images; ( x, y ) is a pixel location; and I i is the i -th image in the dataset D . The process iterates by rewarping D to R ARI to create a more refined estimate of the reference face. The procedure is described as follows: (1) compute reference using Eq. (1) from all training ROIs D , (2) warp all D to the reference, and (3) recompute Eq. (1) using the warped images from the previous step. Steps (2) and (3) are iterated for three times which was empirically selected in Ref. [40]. Results of the reference face at different iterations are shown in Figure 1. SIFT-Flow warps the images in step (2) and the reader is referred to [43] for a full description of SIFT-Flow. In short, a dense, per-pixel SIFT feature warp is computed with loopy belief propagation. After this point, a R ARI represents a well-extracted reference face.

Reference-based face detection in testing
To robustly detect a face, three different pipelines simultaneously extract the ROI. We fuse a discriminative parameterized appearance model, a part-based deformable model, and the Viola and Jones framework. In Viola and Jones (VJ), detection of the face is carried out with a boosted cascade of Haar-like features. Because of the near-standard use of VJ, we omit an in-depth explanation of the method. The reader is referred to [3] for the details of the algorithm.

Discriminative parameterized appearance model
Consider a sparse appearance model of the face. The face detection problem can be framed as an optimization problem that fits the landmark points representing the face. A face is successfully detected when the gradient descent in the fitness space of the optimization problem is complete. Traversing the fitness space can be viewed as a supervised learning problem [38], rather than carrying out a gradient descent with Gauss-Newton algorithm [44]. In the training phase the following equation is minimized: where s is a function that computes SIFT features; w is a flow vector to be optimized; p * is manually labeled landmark points; and the vector p has horizontal and vertical components p = ( x, y ) . Computing the Hessian of the model is computationally undesirable, and supervised learning of the descent from p * avoids computing this directly. In testing, face alignment is carried out with linear least squares.

Parts-based deformable models
Parts-based deformable models represent a face as a collection of landmark points similar to PAMs. The difference is that the most likely locations of the parts are calculated with a probabilistic framework. The landmark points are represented as a mixture of trees of landmark points on the face [39]. Let Φ be the set of landmark points on the face. A facial configuration L is modeled as L = { p i : i ∈ Φ } . Alignment of the landmark points is achieved by maximizing the posterior likelihood of appearance and shape. The objective function is formulated as follows: where ϵ is the objective function to be minimized; I is the video frame; j is the mixture index; k is the landmark point indexes; u ij is the template of mixture j at point i ; s is an appearance , and b 4 are the spring rest and rigidity parameters of the model's shape. x ˜ and y ˜ are the displacement in horizontal and vertical directions from i and k : Inference is carried out by maximizing the following: which enumerates over all mixtures and configurations. The maximum likelihood of the model which best fits the parameters is computed with the Chow-Liu algorithm [45].

Least square selection
We compare the results of all three pipelines to check if a face has been properly detected. The problem is posed where we must quantify the accuracy of each extraction pipeline. We minimize the candidate face ROI I k to the reference of a face R ARI in the least squared sense: where I k is a candidate face ROI from one of the face extraction pipelines k . It is possible that Eq. (7) failed to generate a candidate face. There are two causes for this: (A) there are no candidate face ROIs generated, or (B) the selected face is a false alarm, e.g., it is not a face, or the bounding box is poorly centered. To prevent (B), the face selected in Eq. (7) must have a distance to the reference of no greater than parameter T , which is empirically selected in training. If the detector fails because of (A) or the threshold is less than T , the last extracted face should be used for processing further in the recognition pipeline. Note when comparing this proposed method to other detectors in Table 1 we count (A) and (B) as a failure of the method.

Gabor filter
A Gabor filter is a bandpass filter that is used for edge detection at a specific orientation and scale. Images are typically filtered by many Gabor filters at different parameters, called a bank. It is modulated by a sine and a cosine. When it is modulated by a sine, the Gabor filter finds symmetric edges. When it is modulated by a cosine, the Gabor filter finds antisymmetric edges. According to Grigorescu et al. [36], a Gabor filter at a specific orientation and magnitude is: g ( x, y; γ, θ, λ, σ, φ ) = exp (

Supervised descent method (SDM)
Proposed face detector where γ is the spatial aspect ratio that effects the eccentricity of the filter; θ is the angle parameter that tunes the orientation; and λ is the wavelength parameter that tunes the filter to a specific spatial frequency, or magnitude. In pattern recognition this is also referred to a scale. σ is the variance of the distribution. It determines the size of the filter. φ is the phase offset that is taken at 0 and π . x ' and y ' are defined as follows: x ' = x cos θ + y sin θ (9) y ' = − x sin θ + y cos θ (10) The Gabor filter can be used as local appearance filter by tuning the filter to a local neighborhood while still varying the orientation: σ / λ = 0.56 and varying θ . For the rest of the chapter, g ( x, y; θ, φ ) represents g with γ = 0.5 , λ = 7.14, and σ = 3 , and with varying θ and φ . Given an image I , the Gabor energy filter is given by: which corresponds to the magnitude of filtering the image at the phase values of 0 and π .

Anisotropic-inhibited Gabor filter
The original formulation of the Gabor energy filter does not generalize well. The Gabor energy filter captures all edges and magnitudes within the image, including the edges due to noisy background texture. For example, MPEG block encoding artifacts that present as a gridlike repeating pattern. In the field of facial expression recognition, face morphology causes creases along the face that are not a part of the background texture thus a better contour map can be extracted by removing the background texture of the face. In order to eliminate the background texture detected by the Gabor filter, we build upon the Anisotropic Gabor energy filter. To suppress the background texture, we take a weighted Gabor filter: where the weighted function w is: is the Heaviside step function; DoG ( . ) is the difference of Gaussians: w resembles a ring. Eq. (12) retrieves the background texture of ( x, y ) without the texture of ( x, y ) itself by weighting E by the ring-like filter w . The resulting anisotropic-inhibited Gabor filter is described as follows: (15) where α is a parameter that affects how much of the background texture is removed. α ranges from 0 to 1, where 0 indicates no background texture removal and 1 indicates complete background texture removal. The first term of Eq. (15) defines the original Gabor energy filter that captures all edges including background edges. The second term subtracts the weighted Gabor filter with a specified alpha, depending on how much background suppression is needed. We follow [46] where a value of α = 1 was empirically selected.
To obtain an image that contains only the strongest edges and corresponding orientations, we take the edges with the strongest magnitude across N different orientations: The resulting output of Anisotropic Inhibited Gabor Filter is an image that is M × N . Results are given in Figure 2.
We build upon the work in Ref. [46], but the proposed approach is significantly different. The anisotropic Gabor energy filter (AIGF) further computes the orientations corresponding to the maximum edges as follows: A soft histogram is computed from Θ with votes weighted by the maximal edge response AIGF . For the proposed approach, we use AIGF and do not compute a soft histogram.

Local binary patterns
Local binary patterns (LBP) encode local appearance as a microtexture code. The code is a function of comparison to the intensity values of neighboring pixels. Some formulations are invariant to rotation and monotonic grayscale transformations [31]. At present LBP and its many variations are one of the most widely used feature descriptors for facial expression recognition. LBP result in a texture descriptor with dimensionality of 2 n where n is a parameter that controls the number of pixel neighbours. The LBP code of a pixel at ( x, y ) is given as follows: where ( u, v ) iterates over points in the neighborhood of N x,y LBP ; sign(.) is the sign of the expression; q is a counter starting from 0 that increments on each iteration; and N x,y LBP is the neighborhood of points about ( x, y ) (see Figure 3A). 2 q encodes the result of the intensity difference in a specific bit. A histogram is taken for further compactness and tolerance of registration errors. Each pixel in I is encoded with an LBP code from Eq. (18) then an n -level histogram is extracted from LBP . Typically, the image is segmented into nonoverlapping regions and a histogram is extracted from each region [47]. While powerful and effective for static images, LBP lacks the ability to capture temporal changes in continuous video data.

Volumetric local binary patterns
Volume local binary patterns (VLBP) and local binary patterns in three orthogonal planes (LBP-TOP) are variations of LBP that were developed to capture dynamic textures for video data. In VLBP, the circle of neighboring points in LBP is scaled up to a cylinder. VLBP computes code values as a function of three parallel planes centered at { x, y, t } . That is, the middle plane contains the center pixel. VLBP coding is obtained by the following equation: where k iterates over three time points: t , t − L , and t + L . N x,y,t VLBP is the set of spatiotemporal neighbours of { x, y, t } (see Figure 3B). A large set of N x,y,t VLBP results in a large feature vector while a small N x,y,t VLBP results in a small feature vector. As with LBP, a histogram is taken for further compactness. The maximum grey-level from Eq. (19) is 2 ( 3n+2 ) , thus VLBP are more computationally expensive to calculate and require larger feature vector.

Local binary patterns in three orthogonal planes
LBP-TOP was developed as an alternative to VLBP. VLBP and LBP-TOP differ in two ways. First, LBP-TOP uses three orthogonal planes that intersect at the center pixel. Second, VLBP considers the cooccurrences of all neighboring points from three parallel frames, which make for a larger feature vector. LBP-TOP only considers features from each separate plane and then concatenates them together, making the feature vector much shorter when compared to VLBP for large values of n . LBP-TOP performs LBP on the three orthogonal planes corresponding to the XY, XT, and YT axes (see Figure 3C). The XY plane contributes the spatial information and the XT and YT frames contribute the temporal information. These planes intersect at the center pixel. Whereas in Eq. (19), VLBP captures a truly three-dimensional microtexture, LBP-TOP computes LBP codes separately on each plane. The resulting feature vector dimensionality of LBP-TOP is 3 × 2 n .

Local anisotropic inhibited Gabor patterns in three orthogonal planes
In the proposed method, the computational efficiency of LBP-TOP is applied to images filtered with the anisotropic-inhibited Gabor filter. The suppression of background texture provides an image that only contains the edges separate from the background texture. These edges are the significant boundaries of facial features that are useful when determining expression and emotion. Local anisotropic binary patterns' (LAIBP) code values are computed as follows: where g ( u, v ) is the maximal edge magnitude from Eq. (16). LAIBP-TOP features are extracted in a similar fashion to LBP-TOP: Compute LAIBP codes from Eq. (20) in XY, XT, and YT planes and concatenate the resultant histograms. A comparison of AIGF, LBP, and the proposed method, LAIBP, are given in Figure 4. The proposed method (LAIBP-TOP) is significantly different from LBP-TOP because we introduce background texture removal from Eq. (16).

Datasets
Data in this work have been provided by Motor Trend Magazine from their Best Driver Car of the Year 2014 and 2015. They consist of frontal face video of a test driver as he drives one of 10 automobiles around a racetrack. Parts of the video will be released publicly on YouTube at a later date. The videos are 1080p HD quality captured with a Go Pro Hero 4 and range from 231 to 720 seconds in length. The camera is mounted on the windshield of the car facing the driver's face. The dataset was labeled with the Fontaine emotional model [2] rather than facial action units or emotional categories to quantize emotion. Emotions such as happiness, Figure 4. From left to right: The original frame, anisotropic inhibited Gabor filter (AIGF), local binary patterns (LBP), and the proposed method local anisotropic inhibited binary patterns (LAIBP). Note that the proposed method has more continuous lines compared to AIGF. LBP is susceptible to JPEG compression artifacts. sadness, etc. occupy a space in a two-dimensional Euclidean space defined by valence and arousal. The objective of the dataset is to detect the valence and arousal of an individual on a per-frame basis. Valence, also known as evaluation-pleasantness, describes positivity or negativity of the person's feelings or feelings of situation, e.g., happiness versus sadness. Arousal, also known as activation-arousal, describes a person's interest in the situation, e.g., eagerness versus anxiety.

Metrics
For face detection results, we use true positive rate and F 1 score. F 1 score is given by: For both metrics, higher is better. For full recognition results, we use root mean squared (RMS) error and correlation. The correlation coefficient is given by: where E [ . ] is the expected operation; y d is the vector of ground-truth labels for a video; y is the vector of predicted labels for a video; μ y d and μ y are the mean of ground-truth and prediction, respectively; and σ y d and σ y are the standard deviation of ground-truth and prediction, respectively.

Results comparing different face detectors
Face detection results are given in Table 1. In general, VJ is the worst performer with the highest variance. Though CLM and SDM have acceptable detection rates, they too have a high variance and some videos are a total failure with no face extraction. The proposed algorithm improves detection rates on both datasets and reduces variance.

Results comparing different facial appearance features
For the full recognition pipeline: The landmarks for the inner corner of the eyes and the tip of the nose are used as control points for a course registration. These points are the least effected by face morphology. An ϵ -SVR is used for prediction of valence and arousal values [48].
Full regression results and a comparison to other state-of-the-art facial appearance features are given in Table 2. Experiments employed a 9-fold, leave-one-video-out cross-validation. For correlation, higher is better; for RMS lower is better. In Table 2, the correlation and RMS values for valence and arousal labels by the proposed method performed the best for valence and second best for arousal. Removal of background noise and then implementing LBP-TOP provided better results. RMS values for the proposed method are also the best for arousal and second best for valence. The proposed method has the best average correlation and the lowest average RMS value. Graphs comparing the ground-truth and predicted labels are given in Figure 5. It was found that frames with extreme head rotation tended to have lower correlation and higher error due to the difficulty of registering the dataset.

Conclusions
In this chapter, we proposed a system to perform facial expression recognition on a brand new dataset. This dataset is unconstrained and unique. We proposed a new feature vector that is robust to background noise and capable of capturing dynamic textures. We also proposed a novel method for fusing the output of many face detectors. Both approaches provided better results than other state-of-the-art methods. In the future work, the face detection scheme will be scaled up to a 3D model to better detect the extreme out of plane head rotations.