A python application, API, Web Application to detect human activity using transformers
# since pytorch is installed differently on different platforms visit https://pytorch.org/get-started/locally/
# to install it (torch and torchvision) packages are required
pip install fastapi numpy opencv-python transformers \
python-multipart transformers gunicorn uvicorn
cd backend
uvicorn app:app --reload --port 5000
python3 activity-detection-webcam.py
Requires backend running on port 5000, just use index.html