Skip to content

updated for the real time fall detection #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

shivam-khode01
Copy link

🚀 Real-Time Human Fall Detection using YOLOv8 & Pose Estimation
📌 Description:
This PR implements a real-time human fall detection system using the YOLOv8 model and pose estimation on a live webcam feed. It aims to detect falls based on body posture, track confidence levels, and trigger alerts accordingly.

✅ What's Done:
🔧 Integrated YOLOv8 with pose estimation for accurate detection of body keypoints.

📹 Used OpenCV to capture live video stream via webcam.

🧠 Fall detection logic based on:

Angle of the torso (vertical to horizontal transition)

Aspect ratio of bounding box (height vs width)

Y-axis displacement and speed of fall

🚨 Alert mechanism implemented with a red bounding box around the detected fall.

🛠️ Fixed bugs and errors, including:

Meshgrid warning from PyTorch

.grad warning on non-leaf tensors

ValueError: Type must be a sub-type of ndarray type — resolved by ensuring proper tensor-to-NumPy conversion.

🖼️ Sample Output:
Bounding boxes and keypoints on each person.

Fall alerts shown in red with label "Fall Detected".

updated for real-time-detection
updated for real time detection of fall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant