Skip to main content

🚨 Human Fall Detection System

PyPI YOLOv8 PyTorch

YOLOv8-based static image fall detection system with support for real-time video stream and offline video file processing.

📋 Table of Contents

🎯 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
Confusion Matrix PR Curve F1 Curve
Precision Curve Recall Curve
Precision Curve Recall Curve

Detection Examples

Actual detection performance on the test dataset:

Ground Truth Labels Model Predictions
Labels Predictions

Video Detection Demo

System's real-time video processing demonstration:

Demo

The video demonstrates the system's real-time detection capabilities:

  • 🟩 Green box: Normal state
  • 🟥 Red box: Fall detected
  • Real-time confidence scores displayed

🙏 Acknowledgments

📮 Contact


⭐ If this project helps you, please give it a star!

Metadata

Release files for human-fall-detection 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for human-fall-detection 0.1.2
File Size Uploaded
human_fall_detection-0.1.2.tar.gz 58.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for human-fall-detection 0.1.2
File Interpreter ABI Platform
human_fall_detection-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 117.0 MB

Release files / human_fall_detection-0.1.2.tar.gz

Download URL human_fall_detection-0.1.2.tar.gz
Size 58.5 MB
Tags Source
SHA-256 checksum
How to use checksums
4456c64a68a954d1db18736a18700ec101aab79d56a5b52b8531579310dac346
BLAKE2b-256 checksum
How to use checksums
41ea7e67c29289b9c2494590ce8762d9088b23edf7043ab22bfe36098c0bd664
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / human_fall_detection-0.1.2-py3-none-any.whl

Download URL human_fall_detection-0.1.2-py3-none-any.whl
Size 58.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a5c00373b0ee0add5587401084cdc0c22315b137a4703b33eca116929061835a
BLAKE2b-256 checksum
How to use checksums
e3718283466f8c06e3743e7fd937832c2af08b7f53490e732a5019a6816b71a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page