Skip to content

Pythonic API / application to detect human activity from images / webcam stream

Notifications You must be signed in to change notification settings

C-Y-P-H-E-R/Human-activity-recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human-Activity-Detection

A python application, API, Web Application to detect human activity using transformers

Setup

# 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

Run the application

API

cd backend
uvicorn app:app --reload --port 5000

Python script

python3 activity-detection-webcam.py

Frontend

Requires backend running on port 5000, just use index.html

About

Pythonic API / application to detect human activity from images / webcam stream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published