GOAL: Develope a classification algorithm (LRCN) that exploits the main deep learning techniques in order to predict and recognize the simplest human actions.
Check out the report
The selected dataset is named 'HMDB - Human Emotion DB'. Each observation corresponds to one video, for a total of 6849 clips. Each video has associated one of 51 possible classes, each of which identifies a specific human behavior. Moreover the classes of actions can be grouped into:
- general facial actions such as smiling or laughing;
- facial actions with object manipulation such as smoking;
- general body movements such as running;
- body movements withi object interaction such as golfing;
- body movements for human interaction such as kissing.
Due to computational problems we have chosen only 19 classes (general body movements) on which to train the human activity recognition algorithm.
LRCN is a class of architectures which combines Convolutional layers and Long Short-Term Memory (LSTM).
BASIC LRCN
- Convolutional2D Layer
- LSTM Layer
- Dense Layer [fully - connected]
ADVANCED LRCN
- 3 Convolutional2D Layers
- LSTM Layer
- Dense Layer [fully - connected]
MoveNet is an ultra fast and accurate model that detects 17 keypoints of a body. The model is offered with two variants, known as Lightning and Thunder. Lightning is intended for latency-critical applications, while Thunder is intended for applications that require high accuracy.
MoveNet is a bottom-up estimation model, using heatmaps to accurately localize human keypoints. The architecture consists of two components: a feature extractor and a set of prediction heads.
The feature extractor in MoveNet is MobileNetV2 with an attached feature pyramid network (FPN), which allows for a high resolution, semantically rich feature map output. There are four prediction heads attached to the feature extractor, responsible for densely predicting a:
- Person center heatmap: predicts the geometric center of person instances;
- Keypoint regression field: predicts full set of keypoints for a person, used for grouping keypoints into instances;
- Person keypoint heatmap: predicts the location of all keypoints, independent of person instances;
- 2D per-keypoint offset field: predicts local offsets from each output feature map pixel to the precise sub-pixel location of each keypoint.
MOVENET ARCHITECTURE
Network | Valid Accuracy |
---|---|
Basic LRCN | 34% |
Adavnced LRCN | 41% |
MoveNet | 70% |
[1] Deep Learning Models for Human Activity Recognition
[2] Long-term Recurrent Convolutional Networks for Visual Recognition and Description
[3] Long-term Recurrent Convolutional Network for Video Regression