An open API service indexing awesome lists of open source software.

https://github.com/seeed-projects/fall_detection_with_aibox


https://github.com/seeed-projects/fall_detection_with_aibox

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# Falldown detection

Using the YOLOv8n model to detect changes in the length-to-width ratio of a person’s bounding box (bbox) to determine whether a fall has occurred can assist hospitals or nursing homes in monitoring elderly individuals for falls, thereby reducing the workload of caregivers.

## Hardware prepare

| reComputer AI Box | reComputer Industry AI Box |
| :----------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------: |
| ![Raspberry Pi AI Kit](https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/i/m/image114993560.jpeg) | ![reComputer R1100](https://media-cdn.seeedstudio.com/media/catalog/product/cache/bb49d3ec4ee05b6f018e93f896b8a25d/2/-/2-114993595-recomputer-ai-industrial-r2135-12.jpg) |
| [**Purchase Now**](https://www.seeedstudio.com/reComputer-AI-R2130-12-p-6368.html?utm_source=PiAICourse&utm_medium=github&utm_campaign=Course) | [**Purchase Now**](https://www.seeedstudio.com/reComputer-AI-Industrial-R2135-12-p-6432.html?utm_source=PiAICourse&utm_medium=github&utm_campaign=Course) |

## Software prepare

### Install the runtime environment

```bash
sudo apt update && sudo apt full-upgrade -y && sudo apt install hailo-all
```

### Install the project

```bash
git clone https://github.com/Seeed-Projects/fall_detection_with_AIBox.git
cd fall_detection_with_AIBox
```

### Prepare the python environment

```bash
python -m venv .env --system-site-packages && source .env/bin/activate
pip install -r requirements.txt
```

## Run the project

```bash
python app.py -i ./falldown_test.mp4 -n ./yolov8n.hef --show-fps -l ./common/coco.txt
```

## Result

[![Watch on YouTube](https://img.youtube.com/vi/H0NaAevLo2k/0.jpg)](https://www.youtube.com/watch?v=H0NaAevLo2k)

## Reference

This project references [Hailo-Application-Code-Examples](https://github.com/hailo-ai/Hailo-Application-Code-Examples).