A presentation on "Human Activity Recognition Using Multichannel Convolutional Neural Network"
1. Human Activity Recognition Using Multichannel
Convolutional Neural Network
[Conference Presentation]
Contributing Authors
Niloy Sikder
M.Sc. Student
CSE Discipline
Khulna University, Khulna
niloysikder333@gmail.com
Md. Sanaullah Chowdhury
B.Sc. Student
ECE Discipline
Khulna University, Khulna
sanaullahashfat@gmail.com
Dr. Abdullah Al Nahid
Associate Professor
ECE Discipline
Khulna University, Khulna
nahid.ece.ku@gmail.com
Abu Shamim Mohammad Arif
Professor
CSE Discipline
Khulna University, Khulna
shamimarif@yahoo.com
Presenter
Niloy Sikder
2. Sep 27, 2019 ICAEE 2019 1
Human Action Signal
Fig. 1: Sensors integrated in a smartphone[1]
A time-domain signal that is produced when an activity is performed
Typically recorded using an Accelerometer and a Gyroscope.
Accelerometer records the relative acceleration in the three-dimensions
Gyroscope records the relative angular momentum in the three-dimensions
3. 2
Feb 07, 2019 ECCE 2019
Examples of HAR Signals
Y
Z
X
Y
Z
X
Fig. 2: A sample HAR signal of walking
4. 3
Feb 07, 2019 ECCE 2019
Examples of HAR Signals (cont.)
Fig. 3: A sample HAR signal of climbing up stairs
Y
Z
X
Y
Z
X
5. 4
Feb 07, 2019 ECCE 2019
Examples of HAR Signals (cont.)
Fig. 4: A sample HAR signal of climbing down stairs
Y
Z
X
Y
Z
X
6. 5
Feb 07, 2019 ECCE 2019
Examples of HAR Signals (cont.)
Fig. 5: A sample HAR signal of standing
Y
Z
X
Y
Z
X
7. 6
Feb 07, 2019 ECCE 2019
Examples of HAR Signals (cont.)
Fig. 6: A sample HAR signal of sitting
Y
Z
X
Y
Z
X
8. 7
Feb 07, 2019 ECCE 2019
Examples of HAR Signals (cont.)
Fig. 7: A sample HAR signal of laying
Y
Z
X
Y
Z
X
9. Sep 27, 2019 ICAEE 2019 8
Why Teach the Machine?
To develop software or devices to detect and record these movements
The associated database will show the amount of time spent in each activity
The moves can be replicated with an artificial device
Why Keep a Database?
Performing some of the activities (like laying and sitting) for a longer
period of time is harmful
Keeping track can help us to adjust our behavior or habits and reduce the
risk of developing various conditions
10. 9
Feb 07, 2019 ECCE 2019
Proposed HAR Classification Model
Fig. 8: The proposed HAR classification model
Raw Activity
Signal
Frequency
Features
Power
Features
Feature Extraction Classification
CNN
1st
Channel
CNN
2nd
Channel
Classification
Result
Concatenation
11. Sep 27, 2019 ICAEE 2019 10
A Cat Waveform
Fig. 9: Outline of a cat
Fig. 10: Frequency analysis of the cat waveform
12. Sep 27, 2019 ICAEE 2019 11
Extracting Features from HAR Signals
Fig. 12: tSNE of the UCI HAR dataset based on time-
domain signals
Fig. 11: A Typical HAR signal
13. Sep 27, 2019 ICAEE 2019 12
Extracting Features from HAR Signals (cont.)
Fig. 14: tSNE of the UCI HAR dataset based on
frequency-domain signals
Fig. 13: Frequency-domain representation a typical HAR signal
14. Sep 27, 2019 ICAEE 2019 13
Fig. 16: tSNE of the UCI HAR dataset based on power
information
Fig. 15: Power features of a typical HAR signal
Extracting Features from HAR Signals (cont.)
15. 14
Channel_1 input
Class
Label
Frequency Information
Body_acc Body_gyro Total_acc
Body_acc Body_gyro Total_acc
Raw HAR Data
Power Information
Body_acc Body_gyro Total_acc
Channel_2 input
X-axis
Y-axis
Z-axis
Processing of a HAR signal
Fig. 17: Processing of a HAR signal
Sep 27, 2019 ICAEE 2019
16. 15
Multichannel CNN Model for HAR Classification
Fig. 18: A Multichannel CNN Model for HAR Classification
Sep 27, 2019 ICAEE 2019
HAR
Frequency
Features
HAR
Power
Features
Kernel: 2×2, ‘Relu’
Featuremap: 16
Kernel: 2×2, ‘Relu’
Featuremap: 16 Kernel: 2×2,
Max-pooling
Dense
Layer
Concatenation
Classification
Output
Input
1
st
Channel
2
nd
Channel
17. Fig. 19: HAR classification accuracy at each epoch
Experimental Results
Fig. 20: F1-Score at each epoch
Sep 27, 2019 ICAEE 2019 17
20. Sep 27, 2019 ICAEE 2019 19
Scopes for Future Studies
Test the affectivity of the method on other HAR datasets
Deal with the lower accuracy score of the “Sitting” class