| Literature DB >> 31915429 |
Muhammad Hameed Siddiqi1, Madallah Alruwaili1, Amjad Ali2, Saad Alanazi1, Furkh Zeshan2.
Abstract
In healthcare, the analysis of patients' activities is one of the important factors that offer adequate information to provide better services for managing their illnesses well. Most of the human activity recognition (HAR) systems are completely reliant on recognition module/stage. The inspiration behind the recognition stage is the lack of enhancement in the learning method. In this study, we have proposed the usage of the hidden conditional random fields (HCRFs) for the human activity recognition problem. Moreover, we contend that the existing HCRF model is inadequate by independence assumptions, which may reduce classification accuracy. Therefore, we utilized a new algorithm to relax the assumption, allowing our model to use full-covariance distribution. Also, in this work, we proved that computation wise our method has very much lower complexity against the existing methods. For the experiments, we used four publicly available standard datasets to show the performance. We utilized a 10-fold cross-validation scheme to train, assess, and compare the proposed model with the conditional learning method, hidden Markov model (HMM), and existing HCRF model which can only use diagonal-covariance Gaussian distributions. From the experiments, it is obvious that the proposed model showed a substantial improvement with p value ≤0.2 regarding the classification accuracy.Entities:
Mesh:
Year: 2019 PMID: 31915429 PMCID: PMC6935449 DOI: 10.1155/2019/8590560
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1A typical human activity recognition (HAR) system.
Figure 2Workflow diagram of the proposed recognition model.
Confusion matrix of the proposed recognition model using Weizmann action dataset (unit: %).
| Activities | Bend | Jack | Pjump | Run | Side | Skip | Walk | Wave 1 | Wave 2 |
|---|---|---|---|---|---|---|---|---|---|
| Bend |
| 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 |
| Jack | 1 |
| 0 | 0 | 2 | 0 | 1 | 0 | 0 |
| Pjump | 0 | 1 |
| 0 | 1 | 0 | 0 | 1 | 0 |
| Run | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 |
| Side | 1 | 2 | 0 | 0 |
| 0 | 0 | 2 | 0 |
| Skip | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 |
| Walk | 1 | 0 | 0 | 1 | 0 | 1 |
| 0 | 1 |
| Wave 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
| 0 |
| Wave 2 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 |
|
| Average |
| ||||||||
Confusion matrix of the proposed recognition model using KTH action dataset (unit: %).
| Activities | Walking | Jogging | Running | Boxing | Hand-wave | Handclap |
|---|---|---|---|---|---|---|
| Walking |
| 0 | 0 | 0 | 0 | 0 |
| Jogging | 0 |
| 1 | 1 | 0 | 0 |
| Running | 2 | 1 |
| 1 | 1 | 0 |
| Boxing | 0 | 2 | 1 |
| 0 | 0 |
| Hand-wave | 1 | 0 | 1 | 0 |
| 0 |
| Handclap | 0 | 0 | 1 | 0 | 0 |
|
| Average |
| |||||
Confusion matrix of the proposed recognition model using UCF sports dataset (unit: %).
| Activities | Diving | GS | Kicking | Lifting | HBR | Run | Skating | BS | Walk |
|---|---|---|---|---|---|---|---|---|---|
| Diving |
| 1 | 2 | 1 | 0 | 1 | 0 | 0 | 0 |
| GS | 1 |
| 0 | 0 | 2 | 1 | 1 | 1 | 0 |
| Kicking | 0 | 2 |
| 0 | 0 | 0 | 0 | 0 | 0 |
| Lifting | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| HBR | 0 | 0 | 2 | 0 |
| 1 | 0 | 1 | 0 |
| Running | 0 | 3 | 0 | 0 | 0 |
| 0 | 0 | 0 |
| Skating | 1 | 0 | 1 | 1 | 0 | 1 |
| 0 | 1 |
| BS | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
| 1 |
| Walking | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| Average |
| ||||||||
GS: golf swinging, HBR: horseback riding, and BS: baseball swinging.
Confusion matrix of the proposed recognition model using IXMAS action dataset (unit: %).
| Activities | CA | SD | GU | TA | Walk | Wave | Punch | Kick |
|---|---|---|---|---|---|---|---|---|
| CA |
| 0 | 0 | 1 | 2 | 0 | 0 | 0 |
| SD | 0 |
| 1 | 0 | 0 | 0 | 0 | 0 |
| GU | 1 | 2 |
| 3 | 0 | 0 | 0 | 0 |
| TA | 0 | 0 | 1 |
| 2 | 1 | 1 | 0 |
| Walk | 0 | 1 | 1 | 0 |
| 0 | 0 | 0 |
| Wave | 0 | 0 | 2 | 0 | 1 |
| 0 | 0 |
| Punch | 0 | 1 | 0 | 1 | 0 | 2 |
| 0 |
| Kick | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
|
| Average |
| |||||||
CA: cross arm, SD: sit down, GU: get up, and TA: turn around.
Classification results of the proposed system on Weizmann action dataset (A) using ANN, (B) using SVM, (C) using HMM, and (D) using existing HCRF [30], while removing the proposed HCRF model (unit: %).
| Activities | Bend | Jack | Pjump | Run | Side | Skip | Walk | Wave 1 | Wave 2 |
|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||
| Bend |
| 4 | 5 | 3 | 3 | 2 | 5 | 5 | 3 |
| Jack | 4 |
| 3 | 6 | 7 | 2 | 3 | 3 | 4 |
| Pjump | 2 | 4 |
| 6 | 3 | 2 | 2 | 2 | 4 |
| Run | 4 | 2 | 3 |
| 6 | 2 | 5 | 3 | 3 |
| Side | 5 | 3 | 5 | 4 |
| 6 | 4 | 6 | 2 |
| Skip | 4 | 6 | 4 | 3 | 5 |
| 3 | 2 | 6 |
| Walk | 4 | 2 | 4 | 7 | 3 | 4 |
| 3 | 3 |
| Wave 1 | 2 | 1 | 3 | 3 | 4 | 5 | 7 |
| 4 |
| Wave 2 | 2 | 5 | 3 | 6 | 4 | 4 | 3 | 5 |
|
| Average |
| ||||||||
|
| |||||||||
| Bend |
| 3 | 4 | 4 | 6 | 4 | 2 | 3 | 5 |
| Jack | 2 |
| 2 | 3 | 4 | 3 | 5 | 4 | 5 |
| Pjump | 1 | 4 |
| 2 | 4 | 5 | 4 | 2 | 3 |
| Run | 2 | 4 | 3 |
| 2 | 2 | 4 | 2 | 3 |
| Side | 2 | 4 | 5 | 3 |
| 4 | 3 | 5 | 4 |
| Skip | 2 | 1 | 3 | 2 | 4 |
| 3 | 3 | 2 |
| Walk | 2 | 0 | 3 | 4 | 3 | 2 |
| 1 | 3 |
| Wave 1 | 2 | 2 | 3 | 4 | 3 | 2 | 3 |
| 4 |
| Wave 2 | 1 | 2 | 1 | 2 | 3 | 1 | 3 | 4 |
|
| Average |
| ||||||||
|
| |||||||||
| Bend |
| 3 | 0 | 2 | 2 | 3 | 1 | 5 | 2 |
| Jack | 3 |
| 1 | 2 | 3 | 2 | 3 | 4 | 2 |
| Pjump | 3 | 4 |
| 3 | 0 | 0 | 1 | 2 | 2 |
| Run | 5 | 4 | 2 |
| 0 | 2 | 1 | 3 | 4 |
| Side | 0 | 1 | 5 | 4 |
| 3 | 1 | 2 | 3 |
| Skip | 3 | 1 | 2 | 2 | 3 |
| 0 | 0 | 1 |
| Walk | 0 | 2 | 3 | 2 | 1 | 2 |
| 3 | 4 |
| Wave 1 | 1 | 3 | 2 | 2 | 4 | 2 | 3 |
| 5 |
| Wave 2 | 1 | 2 | 2 | 2 | 2 | 3 | 1 | 0 |
|
| Average |
| ||||||||
|
| |||||||||
| Bend |
| 2 | 3 | 1 | 4 | 0 | 5 | 2 | 3 |
| Jack | 1 |
| 0 | 2 | 0 | 3 | 2 | 3 | 1 |
| Pjump | 0 | 2 |
| 1 | 0 | 3 | 0 | 2 | 2 |
| Run | 2 | 1 | 2 |
| 2 | 3 | 0 | 0 | 5 |
| Side | 4 | 1 | 2 | 3 |
| 4 | 1 | 2 | 3 |
| Skip | 1 | 4 | 0 | 5 | 1 |
| 0 | 3 | 2 |
| Walk | 2 | 1 | 0 | 0 | 1 | 2 |
| 2 | 3 |
| Wave 1 | 3 | 0 | 1 | 2 | 0 | 2 | 0 |
| 1 |
| Wave 2 | 4 | 1 | 3 | 0 | 2 | 3 | 0 | 2 |
|
| Average |
| ||||||||
Classification results of the proposed system on KTH action dataset (A) using ANN, (B) using SVM, (C) using HMM, and (D) using existing HCRF [30], while removing the proposed HCRF model (unit: %).
| Activities | Walking | Jogging | Running | Boxing | Hand-wave | Handclap |
|---|---|---|---|---|---|---|
|
| ||||||
| Walking |
| 5 | 6 | 4 | 3 | 3 |
| Jogging | 3 |
| 5 | 3 | 4 | 4 |
| Running | 6 | 4 |
| 5 | 5 | 3 |
| Boxing | 6 | 7 | 6 |
| 5 | 7 |
| Hand-wave | 4 | 7 | 5 | 5 |
| 6 |
| Handclap | 4 | 6 | 5 | 4 | 6 |
|
| Average |
| |||||
|
| ||||||
| Walking |
| 2 | 3 | 5 | 4 | 4 |
| Jogging | 3 |
| 2 | 3 | 2 | 4 |
| Running | 5 | 3 |
| 4 | 5 | 3 |
| Boxing | 5 | 3 | 3 |
| 4 | 6 |
| Hand-wave | 1 | 4 | 3 | 3 |
| 0 |
| Handclap | 3 | 5 | 2 | 4 | 3 |
|
| Average |
| |||||
|
| ||||||
| Walking |
| 3 | 2 | 4 | 2 | 3 |
| Jogging | 0 |
| 3 | 2 | 4 | 3 |
| Running | 0 | 3 |
| 0 | 4 | 3 |
| Boxing | 3 | 0 | 4 |
| 1 | 0 |
| Hand-wave | 1 | 3 | 2 | 2 |
| 1 |
| Handclap | 1 | 3 | 4 | 1 | 2 |
|
| Average |
| |||||
|
| ||||||
| Walking |
| 3 | 0 | 3 | 4 | 0 |
| Jogging | 2 |
| 2 | 3 | 3 | 2 |
| Running | 4 | 2 |
| 0 | 0 | 2 |
| Boxing | 1 | 3 | 2 |
| 3 | 0 |
| Hand-wave | 0 | 1 | 3 | 2 |
| 1 |
| Handclap | 1 | 3 | 2 | 4 | 3 |
|
| Average |
| |||||
Classification results of the proposed system on UCF sports dataset (A) using ANN, (B) using SVM, (C) using HMM, and (D) using existing HCRF [30], while removing the proposed HCRF model (unit: %).
| Activities | Diving | GS | Kicking | Lifting | HBR | Run | Skating | BS | Walk |
|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||
| Diving |
| 4 | 2 | 5 | 6 | 6 | 4 | 3 | 2 |
| GS | 2 |
| 2 | 4 | 5 | 4 | 6 | 3 | 3 |
| Kicking | 3 | 4 |
| 3 | 5 | 4 | 2 | 3 | 6 |
| Lifting | 5 | 4 | 3 |
| 5 | 6 | 4 | 6 | 2 |
| HBR | 3 | 4 | 6 | 3 |
| 4 | 5 | 5 | 4 |
| Running | 3 | 3 | 5 | 4 | 6 |
| 6 | 4 | 5 |
| Skating | 2 | 5 | 4 | 5 | 3 | 4 |
| 3 | 5 |
| BS | 4 | 2 | 5 | 3 | 4 | 6 | 5 |
| 4 |
| Walking | 5 | 4 | 2 | 3 | 4 | 3 | 6 | 3 |
|
| Average |
| ||||||||
|
| |||||||||
| Diving |
| 4 | 2 | 3 | 5 | 6 | 3 | 2 | 4 |
| GS | 3 |
| 2 | 4 | 3 | 2 | 5 | 2 | 2 |
| Kicking | 4 | 2 |
| 4 | 5 | 3 | 2 | 3 | 3 |
| Lifting | 5 | 6 | 3 |
| 4 | 3 | 5 | 3 | 2 |
| HBR | 2 | 3 | 3 | 2 |
| 2 | 4 | 2 | 2 |
| Running | 2 | 3 | 2 | 2 | 5 |
| 6 | 2 | 3 |
| Skating | 2 | 1 | 2 | 3 | 4 | 4 |
| 2 | 4 |
| BS | 3 | 4 | 6 | 3 | 4 | 2 | 3 |
| 5 |
| Walking | 4 | 1 | 2 | 4 | 2 | 3 | 0 | 3 |
|
| Average |
| ||||||||
|
| |||||||||
| Diving |
| 3 | 2 | 2 | 3 | 4 | 3 | 2 | 2 |
| GS | 0 |
| 2 | 4 | 3 | 2 | 1 | 3 | 2 |
| Kicking | 1 | 2 |
| 1 | 3 | 3 | 2 | 3 | 0 |
| Lifting | 3 | 0 | 2 |
| 3 | 2 | 4 | 2 | 2 |
| HBR | 0 | 2 | 2 | 4 |
| 0 | 5 | 3 | 4 |
| Running | 1 | 2 | 1 | 3 | 4 |
| 2 | 1 | 2 |
| Skating | 2 | 0 | 3 | 4 | 0 | 1 |
| 3 | 1 |
| BS | 1 | 1 | 1 | 2 | 0 | 3 | 0 |
| 4 |
| Walking | 1 | 2 | 4 | 2 | 5 | 2 | 4 | 3 |
|
| Average |
| ||||||||
|
| |||||||||
| Diving |
| 3 | 0 | 1 | 0 | 2 | 2 | 1 | 1 |
| GS | 3 |
| 2 | 1 | 3 | 1 | 3 | 2 | 1 |
| Kicking | 3 | 4 |
| 0 | 0 | 2 | 3 | 1 | 2 |
| Lifting | 1 | 2 | 1 |
| 1 | 1 | 1 | 2 | 2 |
| HBR | 0 | 2 | 1 | 0 |
| 2 | 3 | 0 | 1 |
| Running | 2 | 3 | 1 | 2 | 3 |
| 4 | 2 | 3 |
| Skating | 2 | 4 | 1 | 2 | 3 | 0 |
| 4 | 0 |
| BS | 2 | 1 | 1 | 2 | 1 | 0 | 3 |
| 2 |
| Walking | 0 | 2 | 1 | 1 | 0 | 1 | 4 | 0 |
|
| Average |
| ||||||||
GS: golf swinging, HBR: horseback riding, BS: baseball swinging.
Classification results of the proposed system on IXMAS action dataset (A) using ANN, (B) using SVM, (C) using HMM, and (D) using existing HCRF [30], while removing the proposed HCRF model (unit: %).
| Activities | CA | SD | GU | TA | Walk | Wave | Punch | Kick |
|---|---|---|---|---|---|---|---|---|
|
| ||||||||
| CA |
| 5 | 7 | 6 | 5 | 4 | 3 | 5 |
| SD | 5 |
| 4 | 3 | 5 | 4 | 3 | 4 |
| GU | 4 | 3 |
| 5 | 3 | 2 | 4 | 4 |
| TA | 6 | 7 | 4 |
| 3 | 5 | 4 | 3 |
| Walk | 3 | 4 | 5 | 4 |
| 6 | 4 | 4 |
| Wave | 4 | 6 | 5 | 3 | 4 |
| 3 | 4 |
| Punch | 3 | 5 | 5 | 6 | 7 | 3 |
| 4 |
| Kick | 4 | 5 | 4 | 6 | 5 | 4 | 3 |
|
| Average |
| |||||||
|
| ||||||||
| CA |
| 3 | 4 | 2 | 2 | 3 | 5 | 4 |
| SD | 3 |
| 3 | 2 | 4 | 5 | 2 | 2 |
| GU | 5 | 6 |
| 3 | 4 | 5 | 4 | 4 |
| TA | 2 | 3 | 2 |
| 4 | 4 | 3 | 2 |
| Walk | 3 | 5 | 4 | 2 |
| 5 | 6 | 4 |
| Wave | 2 | 6 | 3 | 5 | 4 |
| 4 | 3 |
| Punch | 1 | 5 | 3 | 4 | 1 | 3 |
| 2 |
| Kick | 3 | 6 | 7 | 4 | 3 | 5 | 4 |
|
| Average |
| |||||||
|
| ||||||||
| CA |
| 3 | 4 | 1 | 2 | 4 | 3 | 4 |
| SD | 1 |
| 3 | 2 | 3 | 1 | 4 | 2 |
| GU | 0 | 1 |
| 1 | 2 | 3 | 2 | 3 |
| TA | 5 | 2 | 3 |
| 2 | 3 | 2 | 4 |
| Walk | 1 | 0 | 3 | 1 |
| 2 | 3 | 0 |
| Wave | 2 | 3 | 1 | 0 | 3 |
| 2 | 3 |
| Punch | 1 | 0 | 2 | 3 | 0 | 4 |
| 1 |
| Kick | 3 | 2 | 4 | 1 | 0 | 2 | 4 |
|
| Average |
| |||||||
|
| ||||||||
| CA |
| 1 | 2 | 0 | 3 | 4 | 0 | 0 |
| SD | 3 |
| 2 | 1 | 3 | 3 | 2 | 1 |
| GU | 0 | 1 |
| 1 | 0 | 2 | 3 | 2 |
| TA | 1 | 3 | 2 |
| 1 | 2 | 2 | 2 |
| Walk | 1 | 0 | 3 | 1 |
| 2 | 1 | 3 |
| Wave | 0 | 2 | 1 | 0 | 2 |
| 3 | 1 |
| Punch | 1 | 4 | 2 | 1 | 2 | 3 |
| 3 |
| Kick | 1 | 2 | 4 | 1 | 3 | 2 | 4 |
|
| Average |
| |||||||
CA: cross arm, SD: sit down, GU: get up, TA: turn around.
Weighted average recognition rates of the proposed method with the existing state-of-the-art methods (unit: %).
| State-of-the-art works | Average classification rates | Standard deviation |
|---|---|---|
| GMM | 63.3 | ±2.7 |
| SVM | 67.5 | ±4.4 |
| HMM | 82.8 | ±3.8 |
| Embedded HMM | 85.9 | ±1.9 |
| [ | 92.1 | ±3.2 |
| [ | 84.3 | ±4.9 |
| [ | 93.6 | ±2.7 |
| [ | 93.0 | ±1.6 |
| [ | 92.7 | ±2.5 |
| [ | 80.1 | ±3.2 |
| Proposed method |
| ±2.8 |
Figure 3An illustration of gradient computational time (equation (30)) of the previous forward and backward algorithms and the proposed HCRF model. (a) Q=1 − 5, M=5, T=90 and (b), Q=5, M=1 − 5, T=90.