需先按 requirements.txt 装好 openpifpaf 等依赖;多摄像头时视频需按 abc1.xyz、abc2.xyz 命名并传 --video=abc.xyz;不传 --video 会尝试从摄像头实时采集
HumanFallDetection
taufeeque9MIT更新放缓用 Python 实现的多摄像头实时多人跌倒检测,结合人体姿态估计和 LSTM 识别视频中的跌倒事件,适合看护场景。
Real-time, Multi-person & Multi-camera Fall Detector in Python
pip install -r requirements.txt
python3 fall_detector.pyREADME 未说明显存要求;提供 --disable_cuda 参数可在 CPU 上处理帧,默认使用 GPU(CUDA)。
基于 openpifpaf 姿态估计加 LSTM 的实时多人多摄像头跌倒检测脚本
用 Python 实现的多摄像头实时多人跌倒检测,结合人体姿态估计和 LSTM 识别视频中的跌倒事件,适合看护场景。
核心能力
- 用 openpifpaf 做人体姿态估计作为检测基础
- 支持多摄像头与多人跟踪
- 从姿态提取五个时空特征送入 LSTM 分类跌倒与否
- 可保存带标注的输出视频
- 可关闭 CUDA 改用 CPU 处理帧
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
HumanFallDetection
We augment human pose estimation (openpifpaf library) by support for multi-camera and multi-person tracking and a long short-term memory (LSTM) neural network to predict two classes: “Fall” or “No Fall”. From the poses, we extract five temporal and spatial features which are processed by an LSTM classifier.
Setup
pip install -r requirements.txt
Usage
python3 fall_detector.py
Dataset
We used the UP-Fall Detection to train the LSTM model. You can use this Colab notebook to download the download the dataset and compile the files into videos.
Citation
Please cite the following paper in your publications if our work has helped your research: Multi-camera, multi-person, and real-time fall detection using long short term memory
@inproceedings{Taufeeque2021MulticameraMA,
author = {Mohammad Taufeeque and Samad Koita and Nicolai Spicher and Thomas M. Deserno},
title = {{Multi-camera, multi-person, and real-time fall detection using long short term memory}},
volume = {11601},
booktitle = {Medical Imaging 2021: Imaging Informatics for Healthcare, Research, and Applications},
organization = {International Society for Optics and Photonics},
publisher = {SPIE},
pages = {35 -- 42},
year = {2021},
doi = {10.1117/12.2580700},
URL = {https://doi.org/10.1117/12.2580700}
}