Anaconda
If you are windows user follow steps from this link.
MediaPipe
pip install mediapipe
Tensorflow
pip install tensorflow
Please download from this link.
Please download main.py
, predict.py
and videorecorder.py
from this link.
Please download from this link (Lastest version is dense4-2x1000-40vid.h5
).
via Terminal
git clone https://github.com/snoymy/AI_fall_detection.git
via web link
After install libray , dataset and source code , Please create project root directory Ex. fall_detector
and place all file you had download in the folder
fall_detector
├── train_video
│ ├── fall
│ └── normal
├── main.py
├── predict.py
├── videorecorder.py
└── dense4-2x1000-40vid.h5
Open main.py
with Spyder and press run. This will collect data -> train -> predict.
after run
and predict
you can create new dataset by your self by runningvideorecorder.py
.
First you need to have model (can download from Requirement section). Open file predict.py
and run.