Skip to main content

Static fall detection based on YOLOv8n

Project description

🚨 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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

human_fall_detection-0.1.2.tar.gz (58.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

human_fall_detection-0.1.2-py3-none-any.whl (58.5 MB view details)

Uploaded Python 3

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

Hashes for human_fall_detection-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4456c64a68a954d1db18736a18700ec101aab79d56a5b52b8531579310dac346
MD5 950799761cfb9969a4204415eae33272
BLAKE2b-256 41ea7e67c29289b9c2494590ce8762d9088b23edf7043ab22bfe36098c0bd664

See more details on using hashes here.

File details

Details for the file human_fall_detection-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for human_fall_detection-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5c00373b0ee0add5587401084cdc0c22315b137a4703b33eca116929061835a
MD5 d39a100512f589201ba01b0e6cc2b01a
BLAKE2b-256 e3718283466f8c06e3743e7fd937832c2af08b7f53490e732a5019a6816b71a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page