https://github.com/eikesan/video-fall-detection
Detect a person fall in videos using OpenCv
https://github.com/eikesan/video-fall-detection
contours fall-detection opencv python
Last synced: 25 days ago
JSON representation
Detect a person fall in videos using OpenCv
- Host: GitHub
- URL: https://github.com/eikesan/video-fall-detection
- Owner: EikeSan
- Created: 2018-07-12T12:59:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-08T14:54:31.000Z (about 2 years ago)
- Last Synced: 2025-06-07T14:04:04.241Z (4 months ago)
- Topics: contours, fall-detection, opencv, python
- Language: Python
- Homepage:
- Size: 29.4 MB
- Stars: 44
- Watchers: 4
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# video-fall-detection
OpenCv project to detect a person fall in videos with haarcascade# Prerequesite
Packages used:
- python==2.7.7
- numpy==1.14.5
- opencv-python==3.4.1.15
- pylint==1.9.2
- scikit-learn==0.19.1# How it works
For each frame readed of the video corverted into gray, is removed the background, finded the contour and drawed the contours.
If the heigh of the contour is lower than width, it may be a fall and we add 1 to a count, if the count is greater than 10, will be drawed a rectangle to the possible person fallen.# How to contribute
To contribute to this project make the following guide:
- Fork this repository, It will create a copy of the repository into your account.
- Clone the forked repository. (`git clone https://github.com/my-user/video-fall-detection.git`)
- Create your awesome code!
- Commit and push the changes.
- Create a pull request via Github. (Go to the forked repo and press the `Pull request` button)Fell free to contribute ;)