Research Article

LSTM-Based Neural Network to Recognize Human Activities Using Deep Learning Techniques

Algorithm 2

Feature extraction using grayscale pixel values
(i)Step 1. Select an image “img
(ii)Step 2. Consider the dimension of img as x h
(iii)Step 3.Generate number of features “nf” based on number of pixels using
(iv)Step 4. Append pixel values one after each other
(v)Step 5. Generate feature vector based on nf
(vi)Step 6. Perform the feature extraction using f(img, dim)