Skip to main content
Computational Intelligence and Neuroscience logoLink to Computational Intelligence and Neuroscience
. 2022 Jan 10;2022:1877464. doi: 10.1155/2022/1877464

Using a Selective Ensemble Support Vector Machine to Fuse Multimodal Features for Human Action Recognition

Chao Tang 1,2, Anyang Tong 1,2, Aihua Zheng 2, Hua Peng 3,4,, Wei Li 5
PMCID: PMC8763533  PMID: 35047028

Abstract

The traditional human action recognition (HAR) method is based on RGB video. Recently, with the introduction of Microsoft Kinect and other consumer class depth cameras, HAR based on RGB-D (RGB-Depth) has drawn increasing attention from scholars and industry. Compared with the traditional method, the HAR based on RGB-D has high accuracy and strong robustness. In this paper, using a selective ensemble support vector machine to fuse multimodal features for human action recognition is proposed. The algorithm combines the improved HOG feature-based RGB modal data, the depth motion map-based local binary pattern features (DMM-LBP), and the hybrid joint features (HJF)-based joints modal data. Concomitantly, a frame-based selective ensemble support vector machine classification model (SESVM) is proposed, which effectively integrates the selective ensemble strategy with the selection of SVM base classifiers, thus increasing the differences between the base classifiers. The experimental results have demonstrated that the proposed method is simple, fast, and efficient on public datasets in comparison with other action recognition algorithms.

1. Introduction

Video has become the primary carrier of information owing to the rapid popularization and development of video acquisition equipment and broadband networks. With the massive emergence of video data, automating the procurement and analysis of the content has emerged as a problem that needs an urgent solution. The main purpose of HAR based on vision is to process and analyze the original image or image sequence data collected by the sensor (camera) via computer, to learn and understand the human action and behavior. HAR based on computer vision technology has been extensively used in several fields of human life, such as smart video surveillance [1, 2], human-machine interaction [3], robotics [3], video analytics [4], and human activity recognition [59].

Most of the existing human action recognition algorithms are based on the traditional RGB video data. However, human action recognition based on RGB information encounters multiple challenges as follows: (1) Complex background, occlusion, shadow, scale change, and different lighting conditions will induce tremendous difficulties for recognition, which is also the difficulty of action recognition based on RGB. (2) The same action will generate different views from different perspectives. (3) The same action performed by different people will be significantly varied, and two different types of action may have considerable similarity. These inherent defects of RGB visual information would limit the performance of human action recognition based on RGB information.

Recently, RGB-D cameras, such as Kinect v1 and v2 sensor by Microsoft, have made depth images available for human action recognition [5, 10, 11]. Each pixel in the depth image records the depth value of the scene, instead of light intensity. The introduction of depth camera expands the ability of the computer system to perceive the 3D visual world and makes up for the lack of dimensional information while 3D object information is captured as 2D visual information. Compared with RGB visual information, depth images can greatly reduce the influence of occlusion, complex background, and other factors by providing scene structure information. The color and texture are invariant under different illumination conditions. From a single perspective, if the different behaviors have similar 2D projections, the depth images can provide additional body shape information to distinguish different behaviors. Furthermore, Kinect also provides a powerful skeleton tracking algorithm, which can output the position of each 3D human joint point in real time. The skeleton joints of human body will not be affected by the changes of the scale and perspective.

According to the different types of input data, HAR technology based on RGB-D video can be roughly divided into three categories, namely, HAR based on RGB data, depth image data, and skeleton joints data.

1.1. Human Action Recognition Based on RGB Image Data

The early research on human action recognition based on RGB image sequence has been inspired by image processing technology, owing to the rich color and texture features of RGB image sequences. HAR is primarily carried out by extracting spatiotemporal interest points (STIP) in RGB video. Kovashka and Grauman [12] have proposed a human action recognition method based on hierarchical [13] model. This method combines HOG3D [14], HOG (histograms of oriented gradients), and HOF (histograms of optical flow) spatiotemporal domain descriptors and introduces a multicore learning model. Melfi et al. [15] have extended the Harris corner detection operator for video behavior recognition. First, the contour of the moving object is extracted, and then the 3D Harris points of interest are extracted from the moving object for HAR. In [16], the points of interest of the video frames are densely sampled in different scale spaces of the video frames to form dense trajectories. Thereafter, the features, namely, HOG, HOF, and MBH (motion boundary histogram), of the trajectories are extracted. Finally, SVM is used to classify the features.

Recently, owing to the development of machine learning theory, we can also use deep learning to extract features from RGB video data, besides utilizing the spatiotemporal interest points to extract the video image features.

Gammulle et al. [17] have obtained the video frame features through Convolutional Neural Networks (CNN) and then used the dual stream Long Short-Term Memory (LSTM) to train the features to realize HAR. Bilen et al. [18] have proposed to convert a video sequence into a dynamic image using the rank pool technology and further used CNN model to extract the features from the dynamic image for HAR. Arif et al. [19] have proposed the concept of motion graph. First, the 3D CNN network is used to extract video features, and thereafter the features of video frames are integrated into the motion map. Subsequent to these steps, the LSTM method is used to improve the accuracy of HAR. Majd and Safabakhsh [20] have first obtained the CNN features of the video frames through the CNN deep learning network. Thereafter, the CNN features are sent to the kernel cross correlation (KCC) filter to realize the automatic estimation of motion information.

Compared with the manually designed action features, although the video features are extracted automatically through deep learning, the accuracy of action recognition has increased. However, due to the unclear learning mechanism of deep learning, the stability of the extracted features is relatively poor, and a large number of parameter adjustment experiments need to be carried out manually. Therefore, the method based on deep learning has some limitations in practical application.

1.2. HAR Based on Depth Image

HAR based on depth image data primarily uses RGB image feature extraction method to extract the global and local features from the spatiotemporal volume. Compared with the RGB image, the depth image is not sensitive to illumination changes. Furthermore, it contains rich 3D structure information. However, the depth images also have some shortcomings. Owing to certain specific factors, such as specific materials, reflection, and interference, Kinect cannot estimate the depth of certain parts of the object in the scene. This results in the loss of part of the depth image obtained, forming several holes. Furthermore, the depth images obtained by Kinect lack the color features of objects, with abundant noises. These factors make it difficult to obtain robust features from depth images. Inspired by STIP feature extraction algorithm of RGB image sequence, Xia and Aggarwal [21] have obtained Depth Spatial Temporal Interest Points (DSTIP) of the depth image, by the two-dimensional Gaussian filtering and one-dimensional Gabor filtering. Based on this point of interest, the depth cuboid similarity features (DCSF) are extracted for HAR. Yang and Tian [22] have proposed a feature, namely, super normal vector, to represent the depth image sequence. The feature combines the local motion information and shape information in the depth image sequence and achieves outstanding experimental results on MSRDailyActivity3D and other datasets. Reza et al. [23] have proposed a weighted depth motion map (DMM) and then extracted the hog features from the weighted DMM for HAR.

Since the depth image lacks the description of the image color, texture, and other details, and the CNN neural network model is primarily intended to extract the color and texture features of the image, using CNN model to extract the features of depth image cannot achieve satisfactory results. Furthermore, the deep learning model needs a large amount of data for training. However, most of the depth image datasets have a small amount of data, which cannot be used for large-scale training using CNN and other neural networks. Hence the research output in this field is relatively small.

1.3. HAR Based on Skeleton Joints Data

The recognition of human action based on skeleton joint features can be traced back to the moving light display (MLD) experiment by Johansson et al. Owing to the limitation of sensors, the early description of the skeleton joint features results in the high noise of joint points, which leads to a low accuracy of HAR. Owing to the development of computer vision technology, particularly Kinect, people can get the robust joint points in real time. Yang and Tian [24] have proposed a bone feature representation method, which is obtained by the position difference of the skeleton nodes between different frames. First, three kinds of skeleton node position differences are extracted, which are the differences in static posture, motion, and offset. Thereafter, the three types of skeleton difference features are combined, and the EigenJoints features are obtained by the PCA dimension reduction. Finally, the action recognition is carried out by the naive Bayes classifier. Xia et al. [25] have proposed the usage of the histograms of 3D joints feature to realize the description of a skeleton action. The feature is to project the data of 12 main joints of the human body into the spherical coordinate system, then obtain their distribution histogram in the spherical coordinate system, and then use linear discriminant analysis to reduce the dimension of the obtained features. Finally, hidden Markov model is used to classify and express the features.

Researchers also try to use deep learning to learn features from human skeleton data. The main idea of this algorithm is to represent the human skeleton data into a suitable image form and then extract features from the skeleton image using CNN and other models for human action recognition. However, the constraints of the current deep learning theory make it very difficult to convert an appropriate skeleton image. Zhang et al. [26] have proposed Multilayer LSTM Networks for the skeleton feature learning and employed a smooth fractional fusion method to fuse the bone features of the multistream LSTM learning, which has improved the accuracy of the human action recognition. Li et al. [27] have proposed 3D skeleton-based action recognition using a novel symbiotic graph neural network, which handles action recognition and motion prediction jointly and uses graph-based operations to capture action patterns.

Briefly, despite the HAR methods based on state-of-the-art RGB-D having progressed tremendously, reliability of their applications in the realistic engineering scenarios is still modest. This is owing to the relatively large intraclass variations and small interclass differences of several actions, the variations in action speed, and the extreme computational complexities. This work fully utilizes the multimodal information acquired through a Kinect sensor to extract the features of human actions effectively. Moreover, an integrated multilearner strategy has been adopted for the classification to demonstrate exceptional generalizing capabilities.

The rest of this paper is organized as follows. Section 2 presents a novel selective ensemble-based support vector machine (SESVM) approach to fuse the multimodal features for HAR. Section 3 explains the extraction of multimodal features from RGB-D images by employing different methods. In Section 4, a selective ensemble-based SVM classification framework is deployed for feature recognition. The experimental results on the G3D dataset and Cornell Activity Dataset 60 are presented in Section 5, showing the feasibility and performance of the proposed approach. Finally, a brief conclusion and notes on further work are given in Section 6.

2. The Framework

The Kinect sensors produced by Microsoft can provide both RGB and depth information of the scene, in addition to the skeleton joint locations of human bodies. The depth images captured by Kinect sensor can provide light-invariant foreground information with depth geometry structure, and they have the advantages of texture, color invariance, and insensitivity to the influences from illumination, environment, and shadows. This paper utilizes multimodal data provided by the Kinect sensor and extracts three different features as the descriptors of the actions. Thus, an integrated multiclassifier algorithm is adopted for the classification to exploit the advantages of the different features.

Figure 1 shows the system configuration of the proposed approach. It achieves efficient computation from handling simple features while ensuring the robustness and recognition capability of the features. Particularly, our framework consists of the following steps:

  1. Acquire synchronized RGB, depth, and joint images from the Kinect sensor

  2. Convert the input RGB image to grayscale, and then extract the improved histogram of the oriented gradient features

  3. Compute the depth motion map-based local binary pattern (DMM-LBP) from the depth image, and then extract joint-based hybrid joint features (HJFs) from the acquired 3D skeleton image

  4. Train the selective ensemble-based support vector machine (SESVM) using the sample sets with combined features

  5. Implement the same extraction process to the predicting images during action recognition, enter them into SESVM for recognition, and work out recognition result

Figure 1.

Figure 1

The proposed system configuration.

The major contributions of this paper are summarized as follows:

  1. A novel selective ensemble-based support vector machine (SESVM) method has been proposed to describe the human action features based on multimodal information. This method is capable of depicting human actions from the various points of view and has been verified by experiments on public datasets.

  2. The improved RGB-based histogram of oriented gradient (RGB-HOG) features is adopted in this paper, which is invariant to geometric and optical deformations of the images.

  3. The depth-based DMM-LBP features are created to maintain the dynamic characteristics of human actions with good local invariance.

  4. The joint-based hybrid joint feature (HJF) has been adopted to provide the spatial structure information about human actions.

  5. The correlation coefficient-based classifier selection algorithm (CCCSA) has been adopted to select classifiers from the existing ones for constructing the ensemble classifiers. This is for speeding up the prediction speed of the classifier, reducing the storage space requirements, and further improving the classification accuracy. By using fewer classifiers, the prediction speed can be accelerated because the computational overhead of prediction is reduced. In addition, due to the small number of individual classifiers in the selective ensemble learning system, the storage overhead is also reduced, because only a small number of individual models need to be saved.

3. Feature Extraction

This section introduces the feature extraction methods for various modalities. Particularly, Section 3.1 describes the improved HOG features for the RGB modality, Section 3.2 introduces the DMM-LBP features for the depth modality, and Section 3.3 explains the HJF features for the joint modality.

3.1. RGB-HOG Feature

Dalal and Triggs have first proposed the HOG feature to detect pedestrians in static images [28]. Thereafter, multiple researchers have presented the improved HOG features [29].

HOG algorithm is a feature extraction method recently used in the research of target recognition. However, the HOG feature extraction algorithm can only calculate the direction of information of a single gradient of pixels, which is not comprehensive enough, and has certain defects in describing the directional features of the target.

We have used the steerable filter algorithm which can obtain multidirectional information to make up for the deficiency of HOG algorithm. This method expands the single-directional information of a pixel to N multiple-directional information.

Freeman and Adelson [30] first proposed the steerable filter, which convolutes the image by generating templates in different directions to get the edge of the image. The convolution process increases the weight of the effective pixels and decreases the weight of invalid pixels by a weighting operation.

The general form of steerable filter is given as

Gα=i=1NkiαGi, (1)

where N is the number of base filters and Gi the ith fundamental filter. Further, ki(α) represents the coefficients of the filter related to the direction degree α, and Gα is the filter in α direction.

We have used the method of obtaining multidirectional filter by the linear combination of a group of basic filters and the derivation of two-dimensional Gaussian function. The corresponding expression is given as

Gx,y=kαexpx2+y2. (2)

The specific expressions are given as

G10x,y=0.92132x21expx2+y2,G1π/3x,y=1.843xy  expx2+y2,G12π/3x,y=0.92132y21expx2+y2, (3)

and the corresponding coefficient is given as

k1a=  cos2  a,k2a=2  cos  a  sin  a,k3a=  sin2  a, (4)

where G10(x, y) and G12π/3(x, y), respectively, represent the second derivative of image pixels in the corresponding direction, that is, the basis filter in the corresponding direction. The amplitude information in any direction can be calculated by the linear combination of the three expressions. The calculation formula after linear combination is shown as

G1α=k1aG10x,y+k2aG1π/3x,y+k3aG12π/3x,y. (5)

We have combined the steerable filter algorithm with the traditional HOG algorithm. First, the steerable filter algorithm has been used to calculate the direction number and amplitude information with the highest direction value, and then the HOG algorithm is used to obtain the statistical direction histogram features. The algorithm flow, which shows the specific calculation, is depicted in Figure 2.

Figure 2.

Figure 2

The algorithm flow of HOG algorithm.

The implementation sequence of the HOG feature extraction algorithm can be described as follows:

  • Step 1. Normalize the Gamma space and the color space. To reduce the influence of illumination, the image needs to be normalized first. The contribution of local surface exposure to the texture strength is relatively large. Therefore, this type of compression can effectively reduce the local variations, in the shadow and illumination of the image. The image is first converted to grayscale as the color information contributes little. The Gamma compression formula is given as
    Ix,y=Ix,yGamma, (6)
  • where I(x, y) is the input RGB image. Gamma usually takes the value of 1/2.

  • Step 2. Let p(x, y) be the pixel of the gray image. Construct two mutually perpendicular directional controllable filters of p pixel (the directions of the filters are α and β, respectively, and α+β=π/2), and record them as F(α) and F(β), respectively. Then, the gradient values of point p in α and β directions are given as
    Gαx,y=FαIx,y,Gβx,y=FβIx,y. (7)
  • Step 3. Compute the gradient of the image. Compute the gradient in the directions of the horizontal and vertical axes that are the gradient orientation of each pixel. The computation of derivatives can capture the contours, human figures, and certain texture information from the image, besides further reducing the influence from illumination. The gradient of a pixel (x, y) in the image is given as
    Gx,y=Gαx,y2+Gβx,y2,θx,y=tan1Gβx,yGαx,y, (8)
  • where Gx(x, y), Gy(x, y), G(x, y), and θ(x, y) are the horizontal gradient, the vertical gradient, the gradient amplitude, and the gradient angle at pixel (x, y), respectively.

  • Step 4. Construct a histogram of the oriented gradient for each cell. This provides coding for the local image area and is capable of maintaining the invariance to human postures and appearances in the image. We divide the image into a number of “unit cells,” and each cell contains 6  6 pixels, for instance. Suppose that we use a 9-bin histogram to collect the gradient information of these 6  6 pixels, i.e., to divide the gradient orientation of the cell of 360 degrees into nine oriented blocks. For example, if the gradient orientation of the pixel is 20–40 degrees, then the 2nd histogram bin count will be increased by 1. By doing so, every pixel in the cell is projected with a weight onto the histogram by its gradient orientation (mapped into specific angle range). Consequently, the histogram of the oriented gradient of the cell is obtained, which is the 9D feature vector of the cell (since there are nine bins).

  • Step 5. Concatenate cells into blocks and normalize the oriented gradient histograms within each block. The strength of the gradient changes significantly owing to the variations in the local illumination strength and foreground and background contrast. Hence, the gradient strength needs to be normalized. The normalization can further compress the illumination, shadow, and edges. The implementation sequence is as follows: (1) to combine the unit cells into large and spatially connected blocks; (2) to concatenate feather vectors from all cells in the block to generate the HOG feature of the block. Since there are overlapping among the blocks, feature vector of each cell may appear in the final feature vector multiple times. We call this normalized block descriptor (vector) “the HOG descriptor.”

  • Step 6. Collect the HOG features. This last step is to collect the HOG features from all overlapping blocks in the testing window and combine them into the final feature vector to be used in the classification.

xRGBHOG=x1,x2,,xm. (9)

3.2. DMM-LBP Feature

With the development of RGB-D camera, several action recognition algorithms based on the depth image have been proposed. Depth image can be used to represent the 3D structure and shape information of objects. The depth image is projected onto three orthogonal planes [31] to form a depth motion map, and then the gradient histogram is extracted as the action feature. Specifically, using the front view, top view, and left view, the human body is positioned in the Cartesian coordinate system. Further, the depth data of the human body is projected to the front view, top view, and left view, respectively. Each frame action can be expressed as V={front, top, left}, where front, top, and left represent the human projection in the front view, top view, and left view, respectively. For the depth data video of N frames, the DMM features are calculated as

DMMV=i=seMAPViMAPVi1, (10)

where i is the time sequence frame. MAPVi represents the projection of frame i on view V, and s and e represent the start frame and the end frame, respectively.

Several pixel values in the depth image are 0, which is not helpful for the description of action features. Hence, the region of interest operation should be performed for each frame image. To further filter the pixels in DMM, the local binary pattern (LBP) operation is performed on DMM. LBP is an effective texture feature description operator. It was first proposed by Ojala et al. [32]. It is used to extract texture features. Its advantage is that it has high robustness to the changes of illumination and rotation, and the extracted features are the local texture features of the image.

For a given point DMMV(xc, yc) on the image DMMV(x, y), LBP can be calculated as

DMMVLBPxc,yc=i=1mTDMMVxi,yiDMMVxc,yc2i,Tx=1,x0,0,x0, (11)

where m is number of sampling points. The coordinates of f(xi, yi)i=1m can be expressed as

xcr  sin2πim,yc+r  cos2πim, (12)

where r is the sampling radius of pixel f(xc, yc).

The LBP feature extraction algorithm of depth image is as follows:

  • Step 1. The region of interest of the depth image is extracted as the detection window.
    dx,yROIDx,y. (13)
  • Step 2. Get the projection view of the depth map in three different directions.
    MAPVV=front,top,leftdx,y. (14)
  • Step 3. The depth motion map is calculated from the projection view.
    DMMV=i=seMAPViMAPVi1. (15)
  • Step 4. Divide the detection window into 1616 cells.
    Cellix,yi=1,2,,16DMMVx,y. (16)
  • Step 5. For a pixel in each Celli(x, y), the pixel value of its adjacent eight pixels is compared with it. If the value of the surrounding pixels is greater than the value of the center pixel, the position of the pixel is marked as 1; otherwise, it is 0. Accordingly, the eight points in the 33 domain can be compared to generate 8 bit binary number; that is, the LBP value of the center pixel of the window can be obtained.
    LBPix,yCellix,yi=1,2,,16. (17)
  • Step 6. Calculate the histogram of each cell, i.e., the frequency of each number, and normalize the histogram.
    LBPhogiBinCountLBPix,y,i=1,2,,16. (18)
  • Step 7. Finally, the statistical histogram of each cell is connected into a feature vector, which is the LBP feature vector of the whole depth image.

xDMMLBPLBPhog1,LBPhog2,,LBPhog16xDMMLBP=x1,x2,,xn. (19)

DMM-LBP feature extraction algorithm flow is shown in Figure 3.

Figure 3.

Figure 3

DMM-LBP feature extraction algorithm flow.

3.3. HJF Feature

RGB-D sensor can quickly obtain the human joint position and three-dimensional skeleton through the depth image information. These data contain rich information, which brings new ideas and methods to HAR. For example, Microsoft released Kinect v2 that provides us with the information of 20 human 3D bone points and then extracts the features of these information points. Further, the feature dimension will become minuscule, which is conducive to speeding up the calculation and improving the real time performance.

Different human actions are reflected not only in the difference of joint position information but also in the energy features of the joint point sequence. We have used the joint kinetic energy features, direction change features, and joint potential energy features as the hybrid joint features.

To calculate the kinetic energy information of the human joint points, it is necessary to obtain the three-dimensional coordinates of the human joint points P(x, y, z). Therefore, according to the coordinate information changes of the two adjacent frames, the kinetic energy of the human joint points in each frame is calculated as

KEFi,t=1Δs2kPi,txi,t,yi,t,zi,tPi,tΔtxi,tΔt,yi,tΔt,zi,tΔt=1Δs2kxi,txi,tΔt2+yi,tyi,tΔt2+zi,tzi,tΔt2, (20)

where KEFi,t is the kinetic energy of the ith joint in Ft frame and k is the kinetic energy parameter. In the experiment, k can be taken as 1. Δt is the time interval between the two adjacent frames.

Human action is related to the information of the current and past positions. In different action states, the speed of movement of the joints randomly varies with time, and the direction of change may also vary. According to the coordinates of human 3D joint points, the direction change vector of each joint point is calculated as the human motion feature, given as

DCi,t=xi,txi,t1,yi,tyi,t1,zi,tzi,t1, (21)

where DCi,t represents the direction change vector of the ith joint point in the Ft frame relative to the ith joint point in the previous Ft−1 frame. Further, xi,t, yi,t, and zi,t represent the spatial three-dimensional coordinates of the joint point in the Ft frame.

We have combined the features of the joint kinetic energy and joint direction change into a new feature, which is defined as the hybrid joint feature, given below

xHJFKEF1,KEF2,,KEF20,DC1,DC2,,DC20,xHJF=x1,x2,,xq. (22)

3.4. Feature Fusion

Feature fusion is an effective method to clearly distinguish human action features. Currently, the major feature fusion methods include the pixel-level, feature-level, and decision-level fusions. We employ the feature-level fusion in this study, which is able to retain and fuse the effective recognizable information of the features, besides effectively eliminating the redundant feature information and features with poor distinctiveness. Particularly, RGB-HOG, DMM-LBP, and HJF features are fused into the descriptive features of action, i.e.,

RDH=RGBHOG,DMMLBP,HJF. (23)

Compared with the single action features, these composite features show excellent robustness as they are a collection of the advantages of every single feature and more suitable for describing the human action features.

4. Recognition Method

Recently, the research on the theory and algorithm of the ensemble learning has been a hotspot in the field of machine learning. The construction of an ensemble learning machine is divided into two steps, namely, the generation step and the merging step. The key is to effectively generate a base learning machine with strong generalization ability and great differences. Alternatively, the accuracy and diversity of the base learning machines are two important factors. In general, the predictive effect of the ensemble learning machine is significantly better than that of the single base learning machine. However, the predictive speed of the ensemble learning machine is significantly slower than that of the single base learning machine. Moreover, as the number of the base learning machines increases, the needed storage space increases sharply, which is a serious problem for online learning. Zhou et al. [33] have proposed the “selective ensemble” to eliminate the basic learners with poor performance and, hence, to select certain ones to build the set for better prediction effect.

We propose a selective ensemble-based SVM classification framework for recognition. Assuming that TTr={(xi, yi)}i=1NTr is a given training set for each training sample (xi, yi), its input variable is action feature vector xi=(xi1, xi2,…, xiM) ∈ RM, output variable is action category yi ∈ Ω={ω1, ω2,…, ωc}, and c is the number of action classes. At the same time, let TVal={(xi, yi)}i=1NVal denote verification set with the capacity of NVal. Table 1 shows the selective ensemble-based SVM classification algorithm (SESVM).

Table 1.

SESVM.

Input:
Training set TTr={(xi, yi)}i=1NTr, verification set TVal={(xi, yi)}i=1NVal, base classification algorithm SVM, number of base classifiers M, number of selected base classifiers N
Output:
Selected base classifier set {SVM1, SVM2,…, SVMN}
Training process:
(1) Initialize the base classifier set Θ=∅
(2) Form=1,2,…, M
(3) Based on the training set TTr={(xi, yi)}i=1NTr, a new training set TTr(m) is obtained by using Bootstrap random sampling method
(4) The base classifier SVMm is trained on the training set TTr(m) by using the base classification algorithm SVM and added to the set Θ
(5) End for
(6) Selecting process:
(7) Each base classifier SVMm(m=1,2,…, M) is tested on verification set TVal={(xi, yi)}i=1NVal and its output Om(m=1,2,…, M) is obtained
(8) The selected base classifier set is obtained by using CCCSA
{SVM1, SVM2,…, SVMN} ← CCCSA(SVMm(m=1,2,…, M))

Selective ensemble learning assumes that the multiple base learning machines have been generated, and only some of them are selected to construct the final ensemble based on a certain selection strategy. In the selective ensemble learning, diversity among the base classifiers plays an important role in explaining the working mechanism of multiclassifier systems and constructing effective ensemble systems. Current diversity measures can be divided into two kinds, namely, (i) the paired diversity measures for calculating the diversity between two basic classifiers and (ii) the unpaired diversity measures targeted at all basic classifiers. Paired diversity measures include Q statistics, correlation coefficient, disagreement measure, and double error measure. Disagreement measure method is used in this study as it features simple calculation, wide application, and favorable results in most cases. Suppose that SVMi and SVMj are two different classifiers whose relationship is given in Table 2.

Table 2.

Classifiers' relational table of classification of the samples.

Relations SVMi correct classification (1) SVMi incorrect classification (0)
SVMj correct classification (1) N 11 N 10
SVMj incorrect classification (0) N 01 N 00

Note. NAB is the number of samples in the dataset, classified correctly (A = 1) or incorrectly (A = 0) by SVMi, and correctly (B = 1) or incorrectly (B = 0) by SVMj.

The measurement of correlation coefficient ρi,j can be defined as

ρi,jSVMi,SVMj=N11N00N10N01N11+N10N01+N00N11+N01N10+N00. (24)

Table 3 shows the correlation coefficient-based classifier selection algorithm (CCCSA). Accordingly, when there are two or more values that are equal and minimal in {Err(1), Err(2), Err(3), Err(4)}, there should be a priority ranking in {A(0), A(1), A(2), A(3)}, which is A(3) > A(2) > A(1) > A(0), e.g., AA(3) when Err(3) and Err(2) are equal. After obtaining the filtered base classifier set, the key problem is the output of the combined decision-making. In terms of the fusion decision output of the multiple classifier systems, there are two methods [34], namely, class label-based decision output method and support function fusion-based decision output method.

Table 3.

CCCSA.

Input: The basic classifier set A={SVM1, SVM2,…, SVMM}, the diversity threshold λ, the verification set TVal={(xi, yi)}i=1NVal, the number of base classifiers set crad(A) and selective ensemble scale N
Process:
(1) While (crad(A) > N&&∀ρi,j(SVMi, SVMj)(ij) {
(2)A(0)A
(3)A(1) ← {A|SVMiA}
(4)A(2) ← {A|SVMjA}
(5)A(3) ← {A|SVMi, SVMjA}
(6) The error rates of A(0), A(1), A(2), andA(3) on verification set TVal were calculated, with the min error rates saved
Err(0) ← ERR(A(0), TVal), Err(1) ← ERR(A(1), TVal),
Err(2) ← ERR(A(2), TVal), Err(3) ← ERR(A(3), TVal)
(7)Min − err ← MIN(Err(0), Err(1), Err(2), Err(3))
(8) if(Min − err==Err(0))AA(0)
(9) else if(Min − err==Err(1))AA(1)
(10) else if(Min − err==Err(2))AA(2)
(11) ElseAA(3)
(12) end}
(13)AA;
Output: The selected base classifier set A

We have adopted the majority voting based on the confidence owing to the simplicity and effectiveness of the class label fusion. Each classifier has been considered as totally equal in the simple voting method, which however may differ in practice. Thus, the classifiers with poorer performance have been given smaller weights while those with better performance have been given larger weights in majority voting based on confidence. Base classifiers set A={SVM1, SVM2,…, SVMN} have been obtained after being screened by CCCSA. Then, the voting weight of each basic classifier has been determined based on its precision. The voting weight of a basic classifier SVM1 depends on its error rateεi, which is defined as

εi=1Ni=1NISVMixiyi. (25)

Note that if the predicate p : SVMi(xi) ≠ yi is true, I(p)=1; otherwise, it is 0. The weight of the basic classifier SVMi can be defined as

wi=12ln1εiεi. (26)

If εi approaches 0, then wi is a large value. If εi approaches 1, then wi is a large negative value. The classification result of the set of N classifiers SVM(x) is given as

Resultargmaxy1Ni=1NwiSVMix. (27)

5. Experimental Results

In this section, the experiments are conducted using the G3D dataset and Cornell Activity Dataset 60. Both the results and analyses have been presented to show the feasibility and performance of the proposed approach.

5.1. Datasets

G3D dataset [35] contains 20 categories of human actions, each of which has been performed by 10 persons. The 20 category actions are punch right, punch left, kick right, kick left, defend, golf swing, tennis swing forehand, tennis swing backhand, tennis serve, throw bowling ball, aim and fire gun, walk, run, jump, climb, crouch, steer a car, wave, flap, and clap. Cornell Activity Dataset 60 (CAD60) [36] contains 12 actions, which are performed by 4 persons in 5 different environments. These actions are rinsing mouth, brushing teeth, wearing contact lens, talking on phone, drinking water, opening container, chopping, stirring, talking on couch, relaxing on couch, writing on whiteboard, and working on computer. The action in G3D dataset and CAD60 contains image information in three different models, namely, RGB image, depth image, and skeleton joint image, as illustrated in Figures 4 and 5.

Figure 4.

Figure 4

Sample images from the G3D dataset. (a) RGB image. (b) Depth image. (c) Skeleton joint image.

Figure 5.

Figure 5

Sample images from the Cornell Activity Dataset 60. (a) Depth image. (b) RGB image. (c) Skeleton joint image.

5.2. Experiments and Results

In this section, we validate the feasibility and efficiency of the proposed method in two experiments. Cross-validation has been adopted in the experiments to train the classification model and to test its performance. First, we test the recognition rate on the G3D dataset and CAD60, based on the single feature and the algorithm in this paper. In the second experiment, we compare our method to alternative algorithms. The result of the first experiment is presented using the confusion matrix. The element (i, j) is the percentage of actions of class i that are classified as actions of class j. Therefore, the classification result is better for larger numbers of diagonal elements.

In Figures 68, the recognition rates using the single feature on the G3D dataset have been illustrated with a confusion matrix. Figure 9 is the recognition rate of the proposed method using multimodal fusion information. From the experimental results shown in Figures 69, we can see that the recognition accuracy using combined features is higher than that using single features. This shows that the representation of human action feature directly affects the recognition effect of human action recognition methods. Single feature is often affected by human appearance, environment, camera setting, and other factors, and the recognition effect is limited. From Figure 9, we can see that the recognition rate of four actions (defend, tennis serve, throw bowing ball, and clap) is 100%, and the recognition rate of three actions (walk, run, and jump) is low and easy to confuse. Through the analysis, it is found that for actions such as walk, run, and jump, the action feature that can really distinguish these actions is the motion frequency, which needs to use the correlation between the information of multiple frames and the characteristics of adjacent frames when training the action model.

Figure 6.

Figure 6

The confusion matrix based on RGB-HOG features on the G3D dataset.

Figure 7.

Figure 7

The confusion matrix based on DMM-LBP features on the G3D dataset.

Figure 8.

Figure 8

The confusion matrix based on HJF on the G3D dataset.

Figure 9.

Figure 9

The confusion matrix based on this paper's method on the G3D dataset.

In Figures 1012, the recognition rate using the single modal feature on the CAD60 has been illustrated with the confusion matrix. Figure 13 shows the recognition rate of the proposed method using multimodal features on the CAD60. Through comparison, it is obvious that the proposed method achieves a good recognition rate of 91.7% on CAD60.

Figure 10.

Figure 10

The confusion matrix based on RGB-HOG features on the CAD60.

Figure 11.

Figure 11

The confusion matrix based on DMM-LBP features on the CAD60.

Figure 12.

Figure 12

The confusion matrix based on HJF on the CAD60.

Figure 13.

Figure 13

The confusion matrix based on the method of this paper on the CAD60.

Table 4 shows the recognition rates using the single modal feature and multimodal features in terms of precision. It can be observed that the recognition rates of the proposed method using multimodal features are higher than the recognition rates of those methods using the single modal feature.

Table 4.

Recognition rate using the single modal feature and multimodal features.

Dataset Descriptor Precision (%)
G3D RGB-HOG 83.7
DMM-LBP 83.2
HJF 83.7
Mixed features 91.7

CAD60 RGB-HOG 85.3
DMM-LBP 86.0
HJF 88.6
Mixed features 91.8

In the second experiment, we have compared the proposed method to alternative ones. Table 5 shows the comparison between our algorithm, boosting, bagging, support vector machine (SVM), and artificial neural networks (ANNs). Accordingly, the integrated multilearner recognition algorithm based on multimodal features has achieved the highest recognition rate of 92%.

Table 5.

The comparison results between the proposed method and other machine learning methods.

Dataset Descriptor SESVM (%) Boosting (%) Bagging (%) SVM (%) ANNs (%)
G3D RGB-HOG 83.7 83.2 75.2 80.2 74.2
DMM-LBP 83.2 82.4 79.4 83.4 80.2
HJF 83.7 84.0 80.5 83.6 74.4
Mixed features 91.7 89.5 83.2 87.7 82.4

CAD60 RGB-HOG 85.3 87.3 80.0 82.0 76.2
DMM-LBP 86.0 87.4 79.2 84.3 80.5
HJF 88.6 89.2 80.2 84.4 74.2
Mixed features 91.8 89.1 83.3 87.6 82.2

Table 6 compares the average class accuracy of our method with results reported by other researchers. Compared with the existing approaches, our method outperforms the state-of-the-art approaches. Note that a precise comparison between the approaches is difficult, since experimental set-ups, e.g., different strategy in training, slightly differ with each approach.

Table 6.

The comparison results between our approach and other methods.

Researchers Descriptor Recognition methods Accuracy
G3D (%) CAD60 (%)
Dollár et al. [37] Sparse SVM 78 83
Spatiotemporal features
Liu et al. [38] PMI spatiotemporal features SVM 82 86
Laptev et al. [39] Spatiotemporal corner SVM 87 84
Rapantzikos et al. [40] Dense saliency spatiotemporal features KNN 88 89
Rodriguez et al. [41] Spatiotemporal template Template matching 88 89
Our approach Mixed features SESVM 91.7 91.8

6. Conclusion

This paper presents a novel approach to HAR, which is a challenging research topic. A Kinect sensor has been deployed to acquire RGB-D image data, and the multimodal features (RGB-HOG features, DMM-LBP features, and HJF features) were extracted. The selective ensemble-based support vector machine (SESVM) has been adopted to fully utilize the biasing effects from different learners. The experiments have been conducted on standard public datasets and achieved good recognition rates. However, a large number of tagged video training samples is required for the classifier to achieve a good generalizing capability. This demands abundant manual tagging work and thus increases the practical difficulties. Therefore, our future work will focus on the utilization of the abundant untagged video samples in hand, to enhance the system performance.

Acknowledgments

This research was funded by the University Natural Sciences Research Project of Anhui Province, under grant no. KJ2020A0660; the Anhui Provincial Natural Science Foundation, under grant no. 2008085MF202; the Open Project of Anhui Provincial Key Laboratory of Multimodal Cognitive Computation (Anhui University), under grant no. MMC202003; the Key Teaching and Research Project of Hefei University, under grant no. 2018hfjyxm09; the Provincial Teaching Research Project of Anhui Provincial Education Department, under grant no. 2020jyxm1584; the National Natural Science Foundation of China, under grant nos. 61662025 and 61871289; the Zhejiang Provincial Natural Science Foundation of China, under grant nos. LY20F030006 and LY20F020011; the Scientific Research “Climbing” Program of Xiamen University of Technology, under grant no. XPDKT20027; and the Humanities and Social Sciences Research Foundation of the Ministry of Education of China, under grant no. 21YJAZH065.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

References

  • 1.Tosato D., Spera M., Cristani M., Murino V. Characterizing humans on riemannian manifolds. IEEE Transactions on Pattern Analysis and Machine Intelligence . 2013;35(8):1972–1984. doi: 10.1109/tpami.2012.263. [DOI] [PubMed] [Google Scholar]
  • 2.Ladjailia A., Bouchrika I., Harrati N., Mahfouf Z. Encoding Human Motion for Automated Activity Recognition in Surveillance Applications . Hershey, PA, USA: IGI Global; 2018. [Google Scholar]
  • 3.Theodoridis T., Agapitos A., Hu H., Lucas S. M. IEEE International Conference on Robotics and Automation . Pasadena, CA, USA: IEEE; 2008. Ubiquitous robotics in physical human action recognition: a comparison between dynamic ANNs and GP. [DOI] [Google Scholar]
  • 4.Chen C., Liu K., Jafari R., Kehtarnavaz N. Home-based senior fitness test measurement system using collaborative inertial and depth sensors. Proceedings of the 2014 36th Annual International Conference of the IEEE Engineering in Medicine and Biology Society; August 2014; Chicago, IL, USA. IEEE; pp. 4135–4138. [DOI] [PubMed] [Google Scholar]
  • 5.Chen C., Jafari R., Kehtarnavaz N. A survey of depth and inertial sensor fusion for human action recognition. Multimedia Tools and Applications . 2017;76(3):4405–4425. doi: 10.1007/s11042-015-3177-1. [DOI] [Google Scholar]
  • 6.Das Dawn D., Shaikh S. H. A comprehensive survey of human action recognition with spatio-temporal interest point (STIP) detector. The Visual Computer . 2016;32(3):289–306. [Google Scholar]
  • 7.Lim C. H., Vats E., Chan C. S. Fuzzy human motion analysis: a review. Pattern Recognition . 2015;48(5):1773–1796. doi: 10.1016/j.patcog.2014.11.016. [DOI] [Google Scholar]
  • 8.Lo Presti L., La Cascia M. 3D skeleton-based human action classification: a survey. Pattern Recognition . 2016;53:130–147. doi: 10.1016/j.patcog.2015.11.019. [DOI] [Google Scholar]
  • 9.Ziaeefard M., Bergevin R. Semantic human activity recognition: a literature review. Pattern Recognition . 2015;48(8):2329–2345. doi: 10.1016/j.patcog.2015.03.006. [DOI] [Google Scholar]
  • 10.Cai Z., Han J., Liu L., Shao L. RGB-D datasets using microsoft kinect or similar sensors: a survey. Multimedia Tools and Applications . 2017;76(3):4313–4355. doi: 10.1007/s11042-016-3374-6. [DOI] [Google Scholar]
  • 11.Zhang J., Li W., Ogunbona P. O., Wang P., Tang C. RGB-D-based action recognition datasets: a survey. Pattern Recognition . 2016;60:86–105. doi: 10.1016/j.patcog.2016.05.019. [DOI] [Google Scholar]
  • 12.Kovashka A., Grauman K. Learning a hierarchy of discriminative space-time neighborhood features for human action recognition. Proceedings of the Twenty-Third IEEE Conference on Computer Vision and Pattern Recognition; June 2010; San Francisco, CA, USA. CVPR 2010; pp. 13–18. [DOI] [Google Scholar]
  • 13.Attique Khan M., Alhaisoni M., Armghan A., et al. Video analytics framework for human action recognition. Computers, Materials and Continua . 2021;68(3):3841–3859. doi: 10.32604/cmc.2021.016864. [DOI] [Google Scholar]
  • 14.Klser A., Marszalek M., Schmid C. A spatio-temporal descriptor based on 3D-gradients. Proceedings of the British Machine Vision Conference; August 2010; Aberystwyth, UK. [Google Scholar]
  • 15.Melfi R., Kondra S., Petrosino A. Human activity modeling by spatio temporal textural appearance. Pattern Recognition Letters . 2013;34(15):1990–1994. doi: 10.1016/j.patrec.2013.04.025. [DOI] [Google Scholar]
  • 16.Wang H., Kläser A., Schmid C., Liu C.-L. Dense trajectories and motion boundary descriptors for action recognition. International Journal of Computer Vision . 2013;103(1):60–79. doi: 10.1007/s11263-012-0594-8. [DOI] [Google Scholar]
  • 17.Gammulle H., Denman S., Sridharan S., Fookes C. Two stream LSTM: a deep fusion framework for human action recognition. Proceedings of the WACV 2017: IEEE Winter Conference on Applications of Computer Vision; March 2017; Santa Rosa, CA, USA. [DOI] [Google Scholar]
  • 18.Bilen H., Fernando B., Gavves E., Vedaldi A. Action recognition with dynamic image networks. IEEE Transactions on Pattern Analysis and Machine Intelligence . 2018;40(12):2799–2813. doi: 10.1109/tpami.2017.2769085. [DOI] [PubMed] [Google Scholar]
  • 19.Arif S., Wang J., Ul Hassan T., Fei Z. 3D-CNN-based fused feature maps with LSTM applied to action recognition. Future Internet . 2019;11(2) doi: 10.3390/fi11020042. [DOI] [Google Scholar]
  • 20.Majd M., Safabakhsh R. A motion-aware ConvLSTM network for action recognition. Applied Intelligence . 2019;49(7):1–7. doi: 10.1007/s10489-018-1395-8. [DOI] [Google Scholar]
  • 21.Xia L., Aggarwal J. K. Spatio-temporal depth cuboid similarity feature for activity recognition using depth camera. Proceedings of the 2013 IEEE Conference on Computer Vision and Pattern Recognition; June 2013; Portland, OR, USA. [DOI] [Google Scholar]
  • 22.Yang X., Tian Y. Super normal vector for activity recognition using depth sequences. Proceedings of the 2014 IEEE Conference on Computer Vision and Pattern Recognition; June 2014; Columbus, OH, USA. pp. 804–811. [DOI] [Google Scholar]
  • 23.Reza A., Maryam A. A., Shohreh K., Sergio E. Dynamic 3D hand gesture recognition by learning weighted depth motion maps. IEEE Transactions on Circuits and Systems for Video Technology . 2019;29(6):1729–1740. doi: 10.1109/tcsvt.2018.2855416. [DOI] [Google Scholar]
  • 24.Yang X., Tian Y. L. EigenJoints-based action recognition using Nave-Bayes-Nearest-Neighbor. Proceedings of the 2012 IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops (CVPRW); June 2012; Providence, RI, USA. [DOI] [Google Scholar]
  • 25.Xia L., Chen C. C., Aggarwal J. K. View invariant human action recognition using histograms of 3D joints. Proceedings of the 2012 IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops (CVPRW); June 2012; Providence, RI, USA. [DOI] [Google Scholar]
  • 26.Zhang S., Yang Y., Xiao J., et al. Fusing geometric features for skeleton-based action recognition using multilayer LSTM networks. IEEE Transactions on Multimedia . 2018;20:p. 1. doi: 10.1109/tmm.2018.2802648. [DOI] [Google Scholar]
  • 27.Li M., Chen S., Chen X., Zhang Y., Wang Y., Tian Q. Symbiotic graph neural networks for 3D skeleton-based human action recognition and motion prediction. IEEE Transactions on Pattern Analysis and Machine Intelligence . 2021 doi: 10.1109/TPAMI.2021.3053765. [DOI] [PubMed] [Google Scholar]
  • 28.Dalal N., Triggs B. Histograms of oriented gradients for human detection. Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition; June 2005; San Diego, CA, USA. IEEE; pp. 886–893. [DOI] [Google Scholar]
  • 29.Chowdhury S. A., Uddin M. N., Kowsar M. M. S., Deb K. Occlusion handling and human detection based on histogram of oriented gradients for automatic video surveillance. Proceedings of the 2016 International Conference on Innovations in Science, Engineering and Technology; March 2016; Dhaka, Bangladesh. IEEE; pp. 1–4. [DOI] [Google Scholar]
  • 30.Freeman W. T., Adelson E. H. The design and use of steerable filters. IEEE Transactions on Pattern Analysis and Machine Intelligence . 1991;13(9) doi: 10.1109/34.93808. [DOI] [Google Scholar]
  • 31.Yang X., Zhang C., Tian Y. L. Recognizing actions using depth motion maps-based histograms of oriented gradients. Proceedings of the ACM International Conference on Multimedia; June 2012; Hong Kong, China. [DOI] [Google Scholar]
  • 32.Ojala T., Pietikainen M., Harwood D. Performance evaluation of texture measures with classification based on Kullback discrimination of distributions. Proceedings of the 12th IAPR International Conference on Pattern Recognition, 1994. vol. 1-Conference A: Computer Vision & Image Processing; October 1994; Jerusalem, Israel. [Google Scholar]
  • 33.Zhou Z.-H., Wu J., Tang W. Ensembling neural networks: many could be better than all. Artificial Intelligence . 2002;137(1-2):239–263. doi: 10.1016/s0004-3702(02)00190-x. [DOI] [Google Scholar]
  • 34.Wozniak M., Grana M., Corchado E. A survey of multiple classifier systems as hybrid systems. Information Fusion . 2014;16:3–17. doi: 10.1016/j.inffus.2012.07.001. [DOI] [Google Scholar]
  • 35.Bloom V., Argyriou V., Makris D. Hierarchical transfer learning for online recognition of compound actions. Computer Vision and Image Understanding . 2016;144:62–72. doi: 10.1016/j.cviu.2015.12.001. [DOI] [Google Scholar]
  • 36.Oreifej O., Liu Z. Hon4d: histogram of oriented 4d normals for activity recognition from depth sequences. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; June 2013; Portland, OR, USA. IEEE; pp. 716–723. [Google Scholar]
  • 37.Dollár P., Rabaud V., Cottrell G., Belongie S. Behavior recognition via sparse spatio-temporal features. Proceedings of the 2005 IEEE International Workshop on Visual Surveillance and Performance Evaluation of Tracking and Surveillance; October 2005; Beijing, China. IEEE; pp. 65–72. [DOI] [Google Scholar]
  • 38.Liu J., Luo J., Shah M. Recognizing realistic actions from videos “in the wild”. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition; June 2009; Miami, FL, USA. IEEE; pp. 1996–2003. [DOI] [Google Scholar]
  • 39.Laptev I., Marszalek M., Schmid C., Rozenfeld B. Learning realistic human actions from movies. Proceedings of the 2008 IEEE Conference on Computer Vision and Pattern Recognition; June 2008; Anchorage, AK, USA. IEEE; pp. 1–8. [DOI] [Google Scholar]
  • 40.Rapantzikos K., Avrithis Y., Kollias S. Dense saliency-based spatiotemporal feature points for action recognition. Proceedings of the 2009 IEEE Conference on Computer Vision and Pattern Recognition; June 2009; Miami, FL, USA. IEEE; pp. 1454–1461. [DOI] [Google Scholar]
  • 41.Rodriguez M. D., Ahmed J., Shah M. Action MACH a spatio-temporal maximum average correlation height filter for action recognition. Proceedings of the 2008 IEEE Conference on Computer Vision and Pattern Recognition; June 2008; Anchorage, AK, USA. IEEE; pp. 1–8. [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request.


Articles from Computational Intelligence and Neuroscience are provided here courtesy of Wiley

RESOURCES