Static fall detection based on YOLOv8n
Project description
🚨 Human Fall Detection System
YOLOv8-based static image fall detection system with support for real-time video stream and offline video file processing.
📋 Table of Contents
- 🚨 Human Fall Detection System
🎯 Introduction
This project is a deep learning-based human fall detection system that achieves high-precision fall detection using a fine-tuned YOLOv8 model. The system can be applied to elderly care, hospital monitoring, smart home scenarios, and other contexts to promptly detect fall events and trigger alerts.
📊 Model Performance
Evaluation results based on test dataset:
| Metric | Value | Description |
|---|---|---|
| mAP@0.5 | 90.61% | Primary performance indicator |
| mAP@0.5:0.95 | 39.63% | Stricter evaluation standard |
| F1-Score | 88.60% | Harmonic mean of precision/recall |
| Overall Precision | 90.13% | Accuracy of all detections |
| Overall Recall | 87.11% | Proportion of detected targets |
Class-wise Performance
🟢 Normal State
- AP@0.5: 86.22%
- Precision: 90.75%
- Recall: 80.36%
🔴 Fall State
- AP@0.5: 95.00%
- Precision: 89.51%
- Recall: 93.86%
✅ Performance Highlights
- Excellent fall detection sensitivity (93.86% recall)
- Low false alarm rate (<10% false positives)
- Outstanding overall detection performance (mAP > 90%)
💾 Installation
Method 1: pip Installation (Recommended)
pip install human-fall-detection
Method 2: Install from Source
git clone https://github.com/TomokotoKiyoshi/Human-Fall-Detection.git
cd Human-Fall-Detection
uv sync
📖 Usage Examples
Jupyter Notebook Example
See example_usage.ipynb for interactive examples.
📈 Evaluation Results
Performance Metrics Charts
| Confusion Matrix | PR Curve | F1 Curve |
|---|---|---|
| Precision Curve | Recall Curve | |
Detection Examples
Actual detection performance on the test dataset:
| Ground Truth Labels | Model Predictions |
|---|---|
Video Detection Demo
System's real-time video processing demonstration:
The video demonstrates the system's real-time detection capabilities:
- 🟩 Green box: Normal state
- 🟥 Red box: Fall detected
- Real-time confidence scores displayed
🙏 Acknowledgments
- Ultralytics YOLOv8 - Excellent object detection framework
- UAH Fall Detection Dataset - High-quality fall detection dataset
📮 Contact
- Project Homepage: https://github.com/TomokotoKiyoshi/Human-Fall-Detection
- Issues: Issues
⭐ If this project helps you, please give it a star!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file human_fall_detection-0.1.2.tar.gz.
File metadata
- Download URL: human_fall_detection-0.1.2.tar.gz
- Upload date:
- Size: 58.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4456c64a68a954d1db18736a18700ec101aab79d56a5b52b8531579310dac346
|
|
| MD5 |
950799761cfb9969a4204415eae33272
|
|
| BLAKE2b-256 |
41ea7e67c29289b9c2494590ce8762d9088b23edf7043ab22bfe36098c0bd664
|
File details
Details for the file human_fall_detection-0.1.2-py3-none-any.whl.
File metadata
- Download URL: human_fall_detection-0.1.2-py3-none-any.whl
- Upload date:
- Size: 58.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5c00373b0ee0add5587401084cdc0c22315b137a4703b33eca116929061835a
|
|
| MD5 |
d39a100512f589201ba01b0e6cc2b01a
|
|
| BLAKE2b-256 |
e3718283466f8c06e3743e7fd937832c2af08b7f53490e732a5019a6816b71a8
|