Fall Detection Using OpenPose
Fall Detection Using OpenPose
ISSN No:-2456-2165
Abstract:- Falls are a fatal threat to the elderly peoples Human Activity Recognition (HAR) is a vast topic of
health. It is a notable cause of morbidity and mortality in research that tries to categorise statistical activities. Normal
elders. Falls can even lead to serious injuries and death of bodily movements such as standing up, sitting down, leaping,
the person , if they are not given proper attention. Above walking, and so on can be included in these exercises. When a
30% of persons aged 65 years or above , fall each year and person does an action, it normally takes a few seconds. Such
they mostly are reoccurring. The severity of such falls are photos are not classified into an activity class by image
due to the increasing age, cognitive impairment and classification techniques. To recognise the movements,
sensory deficits. A multidisciplinary approach should be existing systems rely on sensor data acquired by
developed to prevent future falls. This paper emphasizes accelerometers, smart phones, or similar harnessing devices.
the need and development of an advanced fall detection The collection of such data is difficult and expensive,
system using Machine Learning and Artificial Intelligence requiring several sensors, specialised technology, and
technologies. The fall detection systems are currently software.
categorized into wearable and non-wearable devices
existing in the market. These wearable devices use sensors A. PROBLEM DOMAIN
which may not be accurate always and it would be difficult Existing systems uses image processing techniques for
for the elderly person to wear it around their body all the human action and pose detection. In earlier methods, they
time. The architecture that is proposed in this paper uses capture human images and process the image using techniques
open source libraries such as OpenPose for a much better like Artificial Neural Networks to get the output. The human
detection and alert system, among non-wearable devices. actions are happening simultaneously in a fraction of seconds.
The system retrieves the locations of 18 joint points of the There fore existing method is time consuming and less
human body and detects human movement through effective. Some of the existing systems uses hardware devices
detecting its location changes. The system is able to like movement sensors. These sensors can be fit onto the
effectively identify the various joints of the human body as human body and can look for shakes. When a particular level
well as eliminating environmental noise for an improved of shake is detected, then it is guessed as a fall detection. This
accuracy. This results in improved effective training time is not accurate as every shakes may not be falls.
as well as eliminating blurriness, light, and shadows. The
developed approach falls within the scope of computer In the marketplace, there are a variety of products to
vision-based human activity recognition and has attracted choose from. The main drawback of such goods is that they
a lot of interest. necessitate large hardware components and would be
prohibitively expensive. Some of the systems use base stations
Keywords:- OpenPose ; OpenCV ; Fall detection ; Artificial and Radio Frequency, which are hardwired to a phone line
Intelligence ; Human Action Recognition ; Convolutional and then call a call centre for assistance. The problem is that
Neural Networks ; LSTM ; Image preprocessing ; Recurrent they all require an intermediary call service, which costs a lot
Neural Network. of money each month and is confined to the range of a house
because they rely on a central base station for outside
I. INTRODUCTION communication.
The ageing of the population is caused by a decrease in The Human Activity Recognition system continuously
the birth rate and a longer life span. According to studies, the monitors human actions, which could be useful in senior
senior population will grow substantially in the future, with surveillance. It aids in health-care surveillance, aberrant
the share of senior people in the global population reaching behaviour detection, identity, mental state awareness, and
28% in 2050. Human function declines as people age, geriatric care. Despite the progress made in this field,
increasing the chance of falling. Fractures and other long-term substantial dependencies remain, such as data intake from
diseases are the result of falls. It can result in disability, loss of wearable sensors and their installation, accuracy, and
freedom, and a psychological fear of re-falling. Falls not only annoyance. Sensors are placed throughout the body to collect
hurt the elderly, but they also put a mental and financial strain input data. Smart phones and smart watches take data from
on the person and their family. As a result, a reliable fall accelerometers, gyroscopes, and other sensors.
detection system and emergency aid are required.
A. PSEUDOCODE Processor : i5
1. Identifying two distinct activities Fall action (FA) and RAM : 4 GB
current action (CA) Hard Disk : 500 GB
2. Begin recording video using the system camera.
3. Launch the OpenPose library. V. SOFTWARE REQUIREMENTS
4. Using the video captured, draw the essential points of the
human body. Front end : Python
5. The keypoints are linked together, resulting in CA: Python is a general-purpose programming language that
if CA==FA, may be used for a variety of tasks, including back-end
a fall has been detected, and an email has been issued; development, software development, and writing system
else, scripts. Python 3.7 was used in this project.
video recording will continue.
6. End. Back end : MySql
Python programmes can use MySQL connector/Python
Object detection and extraction from live video: The live to connect to a MySQL database.
video was collected using the system web camera, and the
object (human body) was detected and extracted from the IDE : Spyder
backdrop using OpenCV algorithms. It's a cross-platform open source IDE. The Python
Image Pre-processing: From the live video, the collected Spyder IDE is entirely written in Python. Spyder is best used
image (16 frames per second) is converted to RGB format with Jupyter notebooks or other scientific computing tools
and prepared for processing. For processing, the image is such as Anaconda, rather than as a general Python
resized to 250x250 pixels. development environment. It was created by scientists and is
OpenPose is a programme that determines the exact human primarily composed of scientists, data analysts, and engineers.
posture. OpenPose is a bottom-up method for estimating
multi-person human poses. OpenPose finds the keypoints, Tools : OpenPose
which are mostly the joints of the human body skeleton Openpose is a technique for determining a person's exact
belonging to each individual in the retrieved image. Get position. OpenPose is a popular bottom-up methodology for
crucial features including thigh deflection angles, calf estimating multi-person human poses. It's an open source, real-
deflection angles, spine deflection angle, and spine ratio time project that uses a single photograph to recognise the
using OpenPose. These features are calculated, and the human body, including hands, face, facial expressions, and
body position is determined depending on the features. legs. The COCO dataset was used to train the Openpose model
As demonstrated in Fig 2, the OpenPose estimater, which to extract 18 body key points.
is a pre-trained model, works with the COCO dataset to
extract 18 essential points of the human anatomy from a VI. CONCLUSION
2D image. The attributes collected from the collected live
video are then compared to the specified action to Falling and being seriously injured are two of the most
determine whether or not the current action is a fall. If the important public health issues in an ageing society. It is
system detects a fall, it will emit a buzzer sound and send required to determine the features of the fall movement in
an alert notification to the provided email address; order to detect a fall. This study presents a method for
otherwise, it will repeat the capture procedure. detecting human body keypoints from collected frames using
the TensorFlow OpenPose module. This approach extracts the
human skeleton and detects falls using skeleton data, i.e. the
changing trajectory of joint points is related to human
movements. The suggested system employs computer vision
technologies in conjunction with artificial intelligence
libraries such as OpenPose to detect human falls and provide
timely alerts to users. Because OpenPose extracts the body
main point features in skeleton form, which can handle
instances like background noise and low light distorted
situations, this method has been proved to operate well in a
complex space environment with lower equipment costs.