A Streamlit (Python Web Framework) Application that detects most common human activities from Pre-Recorded Videos or Live Camera Feed.
The technique of identifying and interpreting distinct human actions and behaviours utilising cutting-edge technology like computer vision and machine learning is known as human activity detection.
In many areas, safety, effectiveness, and convenience are significantly improved by human activity detection, and this technology's continued advancement holds the possibility of revolutionising how humans interact with technology and the outside world.
This web-application was designed within a small period of time, and hence pre-trained ONNX was used for the detection. ".onnx" files are binary files that record the model architecture and parameters in a standardised format, making it simpler to exchange models between various frameworks and tools.
Running the application
- Clone the repository (do not change the folder structure)
pip install requirements.txt
- The Model .onnx file needs to be downloaded from : https://github.com/onnx/models/blob/main/vision/classification/resnet/model/resnet34-v2-7.onnx
- Place the 'resnet34-v2-7.onnx' downloaded file inside the code folder
- In order to run the application :
python main.py
Application Preview
Detection From Pre-Recorded Clip
Live Streams - Detection Video with labelled activities can be downloaded