This project was done by me and Srishti Ginjala under the guidance of a research scholar Ms. Soma Chakrobarty, for the course CS672-Advanced topics in Deep Learning, during our undergraduate at IIT Mandi.
CASIA -B dataset -> A large multiview gait database. There are 124 subjects, and the gait data was captured from 11 views with three variations, namely view angle, clothing and carrying condition changes, separately considered. All the videos are of different length.
Gait (walking style) is a soft biometric. The purpose is to recognize people by their gait data.
Our hypothesis challenged the traditional graph neural network approach, aiming to have the model itself learn unique relations through attention mechanisms for gait recognition.
Two attention based architectures are implemented inspired from Video Vision Transformer.
We have used model based approach instead of appearance based approach since it is better suited for gait recognition in wild. Body coordinates extracted from video frames using HRNet are used to generate input features.
- Use the coordinates dataset generated by passing CASIA-B dataset through HRNet as input for preprocess1.py.
- Use the result csv of step 1 as input for preprocess2.py
- Use the preprocessed dataset obtained in step 2 as input for any of the two models (model1 or model2).
![](https://private-user-images.githubusercontent.com/58560161/253171890-1f83d35a-a46f-409b-9c5d-d2a70b0c95fd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUxMDU2NTMsIm5iZiI6MTcyNTEwNTM1MywicGF0aCI6Ii81ODU2MDE2MS8yNTMxNzE4OTAtMWY4M2QzNWEtYTQ2Zi00MDliLTljNWQtZDJhNzBiMGM5NWZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMxVDExNTU1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTliNTIwOGZjN2M4OGEyZTY4NmMyZjRiNWJjMjNlN2M3ZGIwMjk5MmE3MTgzNjkwOTgwNGM1OTY2ZTNmOGE0MjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vJreDbPfnyM4cIBHL6__nyZ64raA2Py5NTOC6xpANE0)
- Confidence value used as a input feature can be used in some other way, since it's nothing but a measure of accuracy of the model used to generate the coordinates from video frames.
- Complexity of networks can be increased since the model is learning very complex relation all by itself (no information about natural connections in human body is fed).