| Literature DB >> 32486433 |
Junhao Shi1, Decheng Zuo1, Zhan Zhang1.
Abstract
With the development and popularity of micro-electromechanical systems (MEMS) and smartphones, sensor-based human activity recognition (HAR) has been widely applied. Although various kinds of HAR systems have achieved outstanding results, there are still issues to be solved in this field, such as transition activities, which means the transitional process between two different basic activities, discussed in this paper. In this paper, we design an algorithm based on standard deviation trend analysis (STD-TA) for recognizing transition activity. Compared with other methods, which directly take them as basic activities, our method achieves a better overall performance: the accuracy is over 80% on real data.Entities:
Keywords: SVM; human activity recognition; smartphone; transition activity; trend analysis
Year: 2020 PMID: 32486433 PMCID: PMC7309170 DOI: 10.3390/s20113117
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Example of transition activity.
Figure 2Overall activity recognition process.
Information of our dataset.
|
| Sitting, Standing, Lying, Walking, Upstairs, Down Stairs, Running, QuickWalk | |
|
| 1 Barometer (5 Hz), | |
|
|
| 10 |
|
| 25–40 | |
|
| 7/3 | |
|
| 155 cm~180 cm | |
|
| 3 min | |
|
| 1 s (50 data points) | |
|
| 0.5 s (25 data points) | |
Duration of each activity.
| Activity | Time (Data Point) |
|---|---|
| downstairs | 50–60 |
| quickwalk | 50–60 |
| upstairs | 50–60 |
| walking | 50–60 |
| running | 30–50 |
| downstairs↔standing | 50 |
| lying↔sitting | 160 |
| quickwalk↔standing | 30 |
| sitting↔standing | 150 |
| upstairs↔standing | 40 |
| standing↔walking | 45 |
| walking↔quickwalk | 10–20 |
| walking↔running | 10–20 |
Duration of each activity.
| No. | Feature | Formula |
|---|---|---|
| 1 | Mean |
|
| 2 | Variance |
|
| 3 | STD |
|
| 4 | Maximum |
|
| 5 | Minimum |
|
| 6 | Range |
|
| 7 | ZCR |
|
| 8 | Median |
|
| 9 | MAD |
|
| 10 | Information Entropy |
|
| 11 | Kurtosis |
|
| 12 | Skewness |
|
| 13 | Coefficient |
|
ZCR: zero crossing rate MAD: absolute median difference.
Figure 3Mean, variance and STD of “Standing-QuickWalk”.
Figure 4Activity transition diagram.
Detailed category of activities.
|
| Basic Activity | Static Activity | Sitting Standing Lying |
| Dynamic Activity | Walking Upstairs Downstairs Running QuickWalk | ||
| Transition Activity | Lying-Standing Sitting-Standing | ||
Figure 5UI of the Android application.
Recognition results comparison between three classifiers.
| DT | A01 | A02 | A03 | A04 | A05 | A06 | A07 | A08 |
|---|---|---|---|---|---|---|---|---|
|
| 703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 745 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 711 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 0 | 664 | 4 | 11 | 0 | 14 |
|
| 0 | 0 | 0 | 18 | 478 | 64 | 0 | 4 |
|
| 0 | 6 | 0 | 33 | 63 | 339 | 0 | 3 |
|
| 0 | 0 | 0 | 1 | 0 | 0 | 688 | 0 |
|
| 0 | 0 | 0 | 4 | 1 | 1 | 0 | 692 |
|
|
|
|
|
|
|
|
|
|
|
| 703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 745 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 711 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 0 | 679 | 4 | 4 | 0 | 6 |
|
| 0 | 0 | 0 | 48 | 484 | 22 | 0 | 10 |
|
| 0 | 0 | 0 | 51 | 39 | 351 | 0 | 3 |
|
| 0 | 0 | 0 | 0 | 0 | 0 | 689 | 0 |
|
| 0 | 0 | 0 | 1 | 4 | 0 | 0 | 693 |
|
|
|
|
|
|
|
|
|
|
|
| 703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 745 | 0 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 711 | 0 | 0 | 0 | 0 | 0 |
|
| 0 | 0 | 0 | 684 | 1 | 3 | 0 | 5 |
|
| 0 | 0 | 0 | 12 | 516 | 30 | 0 | 6 |
|
| 0 | 6 | 0 | 15 | 39 | 381 | 0 | 3 |
|
| 0 | 0 | 0 | 0 | 0 | 0 | 689 | 0 |
|
| 0 | 0 | 0 | 1 | 2 | 0 | 0 | 695 |
A01–A08 denote basic activities “sitting, standing, lying, walking, upstairs, downstairs, running, quickwalk”.
Figure 6A fragment of “Standing-Walking”.
Overall performance of four methods.
| SVM | A01 | A02 | A03 | A04 | A05 | A06 | A07 | A08 | A09 | SUM | Recall |
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| 6552 | 34 | 0 | 44 | 0 | 0 | 0 | 0 | 0 | 6630 | 0.988235 |
|
| 0 | 6417 | 25 | 33 | 0 | 0 | 0 | 0 | 0 | 6475 | 0.991042 |
|
| 5 | 5 | 6510 | 0 | 0 | 0 | 0 | 0 | 0 | 6520 | 0.998466 |
|
| 0 | 2 | 114 | 5621 | 110 | 123 | 84 | 125 | 246 | 6425 | 0.874864 |
|
| 0 | 0 | 0 | 243 | 5966 | 117 | 43 | 19 | 27 | 6415 | 0.930008 |
|
| 0 | 0 | 0 | 108 | 123 | 5852 | 120 | 86 | 196 | 6485 | 0.90239 |
|
| 0 | 0 | 0 | 32 | 0 | 13 | 6354 | 56 | 0 | 6455 | 0.984353 |
|
| 0 | 0 | 0 | 54 | 51 | 25 | 71 | 6146 | 66 | 6413 | 0.958366 |
|
| 0 | 0 | 0 | 352 | 186 | 174 | 76 | 213 | 1944 | 2945 | 0.660102 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6617 | 0 | 8 | 5 | 0 | 0 | 0 | 0 | 0 | 6630 | 0.998039 |
|
| 0 | 6475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6475 | 1 |
|
| 4 | 12 | 6504 | 0 | 0 | 0 | 0 | 0 | 0 | 6520 | 0.997546 |
|
| 0 | 67 | 19 | 5552 | 76 | 114 | 24 | 169 | 404 | 6425 | 0.864125 |
|
| 0 | 0 | 22 | 188 | 5644 | 139 | 213 | 114 | 95 | 6415 | 0.879813 |
|
| 0 | 0 | 13 | 355 | 345 | 5124 | 213 | 267 | 168 | 6485 | 0.790131 |
|
| 0 | 0 | 0 | 51 | 67 | 0 | 6289 | 41 | 7 | 6455 | 0.974284 |
|
| 0 | 0 | 0 | 19 | 0 | 0 | 12 | 6312 | 70 | 6413 | 0.984251 |
|
| 0 | 0 | 0 | 220 | 206 | 162 | 167 | 245 | 1945 | 2945 | 0.660441 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6618 | 4 | 8 | 0 | 0 | 0 | 0 | 0 | 0 | 6630 | 0.99819 |
|
| 0 | 6475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6475 | 1 |
|
| 22 | 41 | 6457 | 0 | 0 | 0 | 0 | 0 | 0 | 6520 | 0.990337 |
|
| 0 | 0 | 22 | 6014 | 67 | 0 | 122 | 67 | 133 | 6425 | 0.936031 |
|
| 0 | 0 | 0 | 154 | 5848 | 46 | 77 | 41 | 249 | 6415 | 0.911613 |
|
| 0 | 0 | 0 | 188 | 205 | 5622 | 169 | 105 | 196 | 6485 | 0.866924 |
|
| 0 | 0 | 0 | 10 | 4 | 0 | 6375 | 22 | 44 | 6455 | 0.987607 |
|
| 0 | 0 | 0 | 70 | 14 | 0 | 42 | 6254 | 33 | 6413 | 0.975207 |
|
| 0 | 0 | 7 | 122 | 105 | 91 | 78 | 25 | 2517 | 2945 | 0.854669 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6603 | 17 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 6630 | 0.995928 |
|
| 0 | 6475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6475 | 1 |
|
| 6 | 3 | 6511 | 0 | 0 | 0 | 0 | 0 | 0 | 6520 | 0.99862 |
|
| 0 | 21 | 1 | 5741 | 72 | 72 | 88 | 76 | 354 | 6425 | 0.893541 |
|
| 0 | 0 | 12 | 121 | 5798 | 139 | 109 | 114 | 122 | 6415 | 0.903819 |
|
| 0 | 0 | 13 | 241 | 345 | 5336 | 154 | 267 | 129 | 6485 | 0.822822 |
|
| 0 | 0 | 0 | 25 | 44 | 57 | 6300 | 24 | 5 | 6455 | 0.975988 |
|
| 0 | 0 | 2 | 31 | 20 | 40 | 51 | 6147 | 122 | 6413 | 0.958522 |
|
| 0 | 0 | 0 | 120 | 206 | 162 | 167 | 133 | 2157 | 2945 | 0.732428 |