Ergonomic Posture Analysis of Workers Using Artificial Intelligence and Computer Vision-1
Ergonomic Posture Analysis of Workers Using Artificial Intelligence and Computer Vision-1
Session 2017-2021
Group Members
Advisor
Dr. Salman Hussain
Assistant Professor
Department of Industrial Engineering
University of Engineering and Technology Taxila
March 2021
Ergonomic Posture Analysis of Workers
using Artificial Intelligence and Computer
Vision
Undertaking
We certify that project work titled “Analysis of Ergonomic posture of worker using the
applications of Artificial Intelligence and Computer vision’ is our own work. No portion of the
work presented in this project has been submitted in support of another award or qualification
either at this institution or elsewhere and this is purely based our own research work and where
material has been used from other sources it has been properly acknowledged and referred.
The human recognition based on image processing can be performed using several techniques
like digital image processing, Computer vision and Artificial intelligence. This study focuses on
tracking of human body and objects using Microsoft Kinect and apply it on different
applications. The degree of freedom of body joints is calculated using the sensor. The main
objective is to perform the ergonomic analysis of industrial worker to observe its working
posture to check whether the worker is performing task in correct posture or not. For that
purpose, complete image tracking of worker is performed using Kinect sensor and decision about
correct posture is made using the application of Artificial Intelligence. Real time observations of
worker are taken in which straight, twisted, bent, walking/moving positions are recorded, and
risk values associated with these postures are calculated. It also helps to determine the fatigue
level of workers.
Acknowledgment
Alhamdulillah, Thanks to Allah SWT, who with His willing gave us the opportunity to complete
this Final Year Project “Analysis of Ergonomic posture of worker using the applications of
Artificial Intelligence and Computer vision”. Firstly, we would like to express our deepest thanks
to, Dr. Salman Hussain, Assistant Professor at Department of Industrial Engineering, UET
Taxila, assigned as our project supervisor who is guiding us a lot in this project. We would also
like to extend our thanks to all department Professors, and all staff of the Industrial Engineering
Department, UET Taxila.
Table of Contents
1 Understanding of the Applied Concept....................................................................................8
1.1 Introduction.......................................................................................................................8
1.3.1 Aims.........................................................................................................................10
1.3.2 Objectives................................................................................................................10
1.5 Summary.........................................................................................................................11
2 RELATED WORK.................................................................................................................11
2.4.1 Hardware..................................................................................................................19
2.4.2 Software...................................................................................................................20
3 METHODOLOGY.................................................................................................................21
4 ANALYSIS............................................................................................................................26
Appendices....................................................................................................................................35
Appendix A................................................................................................................................35
Appendix B................................................................................................................................37
Appendix C................................................................................................................................38
LIST OF FIGURES
LIST OF TABLES
This chapter gives an insight into the project, provides an introduction for Microsoft Kinect and
image tracking for posture analysis. In our project, a computer-vision based application for
tracking and monitoring human body movements is developed for aiming at ergonomic analysis
of worker and object recognition using Kinect sensor.
Instead of attaching different sensors on various parts of body for the purpose of tracking the
Posture of person, Kinect sensor is more appropriate for this purpose which track the Posture of a
person. Basically, it comes with Xbox which is used for gaming purpose. But it can be used for
various applications in which ergonomics is one of them. It works on the principle of computer
vision in which stereo matching algorithm is used for depth image tracking.
It basically consists of three cameras or sensors which includes depth image which is for
measuring the depth or distance of the image. The other two sensors are RGB and infrared
sensors
Using the applications of Artificial Intelligence and computer vision to perform the ergonomic
analysis of body posture of worker. We can use Kinect sensor for tracking of posture and objects
which is mostly used in gaming purposes. Using the python language, we will read different
angles of body and then apply it on different applications like posture analysis, object
identification and gaiting system.
Depth of knowledge Required (Attribute of CEP -4)
The knowledge of Sensors is required for tracking objects. To perform Kinect Sensing using each
camera. Familiarity with Python Programming and Processing 3 Programming (Java). Also to have
detailed knowledge of Computer Vision and Artificial Intelligence
1.3.1 Aims
Our aim is to apply the concept of Artificial Intelligence and Computer vision on different
applications by tracking with Kinect Sensor, particularly ergonomic analysis of worker to reduce
the fatigue level.
1.3.2 Objectives
Following are the objectives that drive us towards achieving the project aim
As our project titled as “Ergonomic Posture Analysis of Workers using Artificial Intelligence
and Computer Vision” is purely related to improving health of worker by reducing the risk of
injuries due to bad postures. In our project we are applying Ergonomics techniques to check the
posture of worker is riskless or not. So, if we found any risk of injury, we will improve the
workspace of worker or we will correct the posture of worker. This goal is briefly studied in
Section 1.4.3 (workplace safety training), Section 2.1.2 (ergonomic assessment using Kinect
sensor), Section 4.1.2 (percent of risk in posture) and Section 4.3.6 (Engineer and Society).
As we are using artificial intelligence to get better results for ergonomic posture analysis which
is a technologically modification in field. We can get better angles and at different positions we
can find the angles of worker’s posture will help us to check the risk factor more accurately.
Moreover, the other applications of this system like fatigue analysis, gaiting system are
innovation in medical field. Using AI techniques will improve the results, so it is also an
innovation in the field of ergonomics. Details are discussed in Section 2.1.1 (Kinect sensor),
Section 2.5 (Modern Tools Used), Section 4.3.2 (process after applying AI) and 4.3.3
(technological improvement in our project).
1.5 Summary
This is an introductory chapter and deals with the concept of human body tracking and object
recognition using Kinect. It provides the introduction of Microsoft Kinect along with it’s
different applications. It describes that how different images can be formed using different
cameras of Kinect like infrared, depth image and RGB camera. The aim is to apply it on posture
analysis for ergonomic assessment.
2 RELATED WORK
2.1 Literature Review
A research paper was published in 2012 by Kourosh Khoshelham and Sander Oude Elberink
named “Accuracy and Resolution of Kinect Depth Data for Indoor Mapping Applications”. In
this research paper he describes the usage of kinect sensor for measuring depth of the given
object. In 2013, Enrique J. Fernandez-Sanchez , Javier Diaz and Eduardo Ros presented their
research on the topic “Background Subtraction Based on Color and Depth Using Active
Sensors”. In this paper tracking using algorithms and depth measurement sensor are used.
Different depth measuring sensors are taken and algorithms are developed to calculate the depth
of an object. Developing algorithm takes a lot of time while using a sensor is much easier and
accurate.
Kourosh Khoshelham and Accuracy and Resolution of Usage and Analysis of depth
Sander Oude Elberink (2012) Kinect Depth Data for Indoor measurements of data within
Mapping Applications a closed workplace
Solution:
Kinect is the most suitable sensor available which we can use with much ease and accuracy to
obtain body angles, tracking voices, tracking colors, tracking body angles. It is also less costly
than other sensors and systems. So Kinect sensor should be preferred.
2.1.2 Ergonomic Assessment using Kinect Sensor:
In 2013 a research paper was published by Jorge Alcaide-Marzal named “ Using Kinect sensor in
observational methods for assessing postures at work “ which examines the potential use of
Kinect range sensor in observational methods for assessing postural loads. In this study it is
shown that sensors can detect the position of the joints at high sampling rates without attaching
sensors or markers directly to the subject under study
Summary
Table 2.2 shows summary of work done by researchers on ergonomic assessment using Kinect
sensor which includes Tracking 2-D motion of human postures. The main outcomes of every
researcher is summarized to make the comparison and identification of research gap
Soution:
Kinect is the most suitable sensor available which we can use with much ease and accuracy to
obtain body angles, tracking voices, tracking colors, tracking body angles. It is also less costly
than other sensors and systems. So Kinect sensor should be preferred. By doing fatigue analysis
and gate analysis, the injury factor is reduced and fatigue in muscles can be reduced. Any posture
mistake can be observed from the observed data and can be corrected which in turn improve the
posture.
Table 2.3 shows the research gap analysis based on ergonomics or posture analysis. It shows the
main outcomes of every researcher who have done work on ergonomics and research gap has
been identified that how it is different from tracking human posture using Kinect by calculating
the degree of freedom of different links of body. Also how many links theory shows that can be
measured using Kinect and what is actual value while tracking.
Table 2.3 shows the research gap analysis based on sensors that can be used for tracking both
human body and objects. It shows how sensors differ in cost with respect to functionality. Here
the major comparison is being done between infrared and Kinect sensor.
The whole project tasks are distributed among both group members to utilize the abilities
efficiently and effectively.
Team members
1. Muhammad Jawad
2. Usama Masood
2 Found and studied related Found and studied related research Literature
research papers papers review and
research gap
3 Tracking of different angles Tracking of different angles and joints Human Tracking
and joints of human body of human body
4 Tracking of machines and Tracking of machines and Object Tracking
objects using Kinect sensor objects using Kinect sensor
Table 2.5 shows the work distribution table of our project. It summarizes that which tasks are
performed by which group member individually and also work done by both group members.
Basically it shows the division of work.
The table 2.6 shows the work schedule in which the list of different activities and their duration
is shown. The expected time of each activity is shown in weeks that is the required to complete
certain activity.
Activity Time
Project Selection 1 Week
Discussion With supervisor 1Week
Literature review 3 Weeks
Research gap 2 Week
Analysis of Research papers 1 Week
Methodology/ Framework 2 Weeks
Selection of Sensors 1 Week
Hardware Design 2 Week
Experimentation 2 Weeks
Data collection 2 Weeks
Coding with python 1 Week
Tracking 2 weeks
Analysis by applying it on different application 2 weeks
Applying Artificial Intelligence Techniques 2 weeks
Report Writing 2 weeks
Extent of stake holder involvement and level of conflicting requirements
(CEP attribute-6)
Stake holders for the final product will be industrial workers or construction workers
that are working in specific posture. It also includes organization top management.
Figure 2.6 shows the Gantt chart of all the activities along with their durations. It is helpful
because it gives the overall picture of the project with starting and end date. Using this chart we
can find the current position of project that how much work is done and what needs to be done.
Using this we can track our project to check how much we are following the schedule.
Using all the possible sources, an approximate cost analysis of the project is highlighted below:
2.4.1 Hardware
2.4.2 Software
Modern tools can improve every area of practice, and the best part is, they are easily accessible.
Modern practice management streamlines process, saving tons of time, and therefore saving
money. Here are some modern tools that helped us in this project:
Purpose Technique
This chapter gives an insight into the related work done by eminent researchers in the fields of
Ergonomics, computer vision, and Artificial Intelligence. It represents the research done on
Kinect sensor for image tracking and its applications, especially to track human body. The
project completion time is calculated using Gantt chart and PERT which is 26 weeks.
This project that is about, to analyze the Ergonomic posture of worker using computer vision ,
will result to find the angle or degree of freedom of different body links and joints. It will be used
to Ergonomic assessment to reduce the fatigue level of worker. Learning the skills of computer
vision and Artificial Intelligence and
apply it on wide variety of applications
3 METHODOLOGY
3.1 Experimental Design
To observe the body posture, we will take different samples that is by visiting different industries
and several departments and identify the workers working in awkward position. Then the image
tracking will be done of that worker using the Kinect sensor with python codes as a input to the
sensor which will operate according to the instruction given. To make a better use of it we will
apply it to different other applications as well such as object tracking and checking the bowling
action of bowler and also the fatigue level of player.
Data will be collected by tracking the posture of workers using different cameras of Kinect
sensor. Python coding will be used to feed the input to the sensor. So based upon application
tracking will be done and data is collected. Using the sensor different angles of the body joints
will be calculated and recorded and analysis will be performed to apply it according to the
applications.
After doing the literature Review the project is carefully divided into 3 parts with 5
Select
phases. Infrare
d or Sensor
Phase-1- Development of Structure for overall project
Kinect
Phase-2- Selection of appropriate sensor
Phase-4- Experimentation
Image Trackingand tracking using the Kinect sensor
by Kinect
Phase-5- Implementation of Computer Vison Select
for Postural analysis
Programming
language
Kinect sensor and Postural Analysis
Conceptual Design
Angle reading of
Tracking Using Computer Vision
body joints
Data Collection
Image
Manipulation
Perform and Preparation
Tracking to Integrating AI
Improvement
in the find degree Model
Image
posture of freedom
Augmentation
CNN
1. Kinect which is a game controller technology introduced by Microsoft in November
2010. This automated real-time worker tracking system providesImplementation
an opportunity to track
Motion detection
the construction worker location andKinect
With their movements in a specified indoor work area.
2. We will use the Kinect sensor for the application of postural analysis of worker using the
Ergonomic
techniques of computer vision.
Analysis using Model Training
3. The python
main focus is to read the different angles of body joints with the help of Kinect
sensor camera. The object is placed in front of sensor and it will detect the motion of
object or body
4. The programming language that we will use for the input to the Kinect sensor is python.
We use this language for programming because it is easy as compared to other
programming languages.
5. Once we will be able to read the angles of body joints using the python coding then we
can apply it to many applications other than postural analysis.
6. We can use it to test the fatigue analysis of football player, we can also use it for tracking
of object.
7. We can also use it for the examining of sitting posture of interviewer during the interview
to check the confidence level
8. One other application that we can apply it is gating system and also can check the
bowling action of bowler.
9. So we are not specific to one application we can apply it to multiple applications.
In the initial phase tracking of human body is performed using Kinect. For this purpose the
Kinect device is placed at appropriate height and distance from the object or human body.
Different types of images and postures can be analyzed using every camera of Kinect that is
depth image, infrared image, face recognition, voice recognition and skeleton image formation.
Tracking can be performed in both seated and standing position by changing the movement of
body parts in front of camera
4 ANALYSIS
4.1 Result and Discussion:
Postural analysis of worker is performed as a sample to collect the data of different working
postures. The Kinect sensor is adjusted at an appropriate angle and distance so that it can easily
captures the data. The worker in front of sensor is performing his task which can include
twisting, bending, standing on one leg, moving/walking and other postures. Kinect is recording
all of these postures. Observation frequency of sensor is 5 per second which means that it records
5 observations in 1 sec. In this sample analysis, worker is working with varying postures and
readings are taken for the observation time of 36 seconds. So total observed postures are 182.
Also the worker is carrying no or small load so it is taken as below 10 kg.
Load : Below 10 kg
The table 4.1 shows the percentage of time in different postures recorded by sensor. It has been
divided into three body postures that is Legs, Trunk and Arms. For legs the maximum percentage
is 39.56%, showing that worker spends more time standing on both legs straight and spends least
time in walking and kneeling on one or both legs. For Trunk the maximum percentage is 53.3%
showing that worker performs more working with Bent/twisted trunk. For arms, the maximum
percentage is both the arms over shoulder which is 75.82%.
4.1.2 Percent of risk in posture
Risk 1 24 13.19%
Risk 3 23 19.23%
Risk 4 35 12.64%
The table 4.2 shows the percentage of postures in each risk category. The total number of
postures for Risk 1 are 24 that is 13.19% of the postures of the worker are normal means that no
risk is involved. More number of time is spend by worker in risk 2 that is 54.95% of the postures
are slightly harmful means Corrective action should be taken during next regular review of
working methods. Risk 3 which is distinctly harmful involves the percentage of 19.23% and
corrective action is taken as soon as possible for these postures. The extremely harmful
percentage of postures is 12.64% to which immediate corrective action must be applied.
2.38
Slightly harmful
CODE
NUMBER Trunk Arms Legs Load RISK
1 4 1 5 1 4
2 4 1 5 1 4
3 4 1 5 1 4
4 4 1 5 1 4
5 4 1 5 1 4
6 4 1 5 1 4
7 2 2 4 1 4
8 2 1 4 1 4
9 4 2 5 1 4
10 4 2 5 1 4
The table 4.3 shows the observed postures in which only 10 out of 182 observations are shown.
It shows the risk code of different parts of the body as shown in figure. The legs value of 5
indicates that worker spends most of the working time in standing on one bent knee which is
extremely risk. Trunk value of 4 shows bent and twisted posture involving high risk.
The figure 4.1 shows the Kinect studio which is used for the recording purpose. It allows the
developers to record and playback the Kinect data. We can record both the color and depth data
which can used for further analysis in the future. While the worker posture is being tracked we
can use Kinect studio to record the posture and all the tracking which is performed.
Figure 4-8 Skeleton image of worker under Examination
The figure 4.2 shows the skeleton image of person in sitting position. Here the skeleton image is
formed using the 20 body joints as shown in figure 4.2 along with the labeling of joints names
and numbering. The values of joint centers coordinates are recorded. For analysis purpose the
number of joints in the tracking can be reduced according to our requirements. For example if we
want to focus on specific joints then we will consider those joints in the tracking.
.
Depth of Analysis Required (Attribute of CEP -3)
Depth of analysis is required to analyze the tracking of human body and objects using Kinect
sensor. Tracking using infrared, depth and RGB cameras of sensor. Computer and Machine Vision
for extracting information for real time inspection. Finding the degree of freedom of body joints
using sensor
Depth is a representation of a surface and free space. It show how closer the objects are. In case
of human body recognition, if we stand in front of Kinect sensor the depth image of a person will
be brighter if he moves closer to the sensor and will be darker if we move away from the camera.
It gives the dense representation of images of objects. So depth image is a image channel in
which each pixel relates to a distance between the image plane and the corresponding object in
the RGB image. So we used processing 3 programming language used to create images,
animations and interaction. We run the code to get the depth image as shown in the figure 4.3.
The code is written in the Appendix and is taken from the Shiffman/ openKinect for processing.
The library that is used is simple open NI which has features of skeleton tracking and gesture
recognition.
A brief discussion is made on the societal and environmental impacts that are caused due to this
project. In industries many workers work as labor performing specific work for seven to eight
hours in particular posture. If the worker performs the working is wrong posture for prolonged
period of time then it may cause serious health injuries like musculoskeletal disorder or back and
neck injuries and also the fatigue element in worker in less period of time. As worker
performance is directly related to the productivity of organization so work environment and
conditions should be make suitable for workforce.
In this project we mainly focus on posture analysis of worker by detecting its motion using
sensor and then comparing it with standard posture values thus fatigue element of worker can be
reduced by making correction in the posture. Similarly, we can use it for security purposes like
face detection and object identification
Our project has major impacts on society and environment as it is beneficial for health of industrial
workers by reducing the fatigue level during working due to improved working posture
The process differences doing ergonomics studies using sensor and without using sensor shows
that by using sensor we had performed the work more precisely and, in less time, using Artificial
Intelligence technique. This is also known as subtractive manufacturing system.
The other innovation in our project is real time image processing using Microsoft Kinect
software. Our project will use Artificial Intelligence for analyzing the posture of worker.
4.3.3 Technology Improvement In Our Project:
In our project
we had used Kinect sensor which submerges the results of depth sensor, motion sensor
and voice recognition and process images directly to the computer screen. The nodes are
shown on structural view and the motion can easily be detected on screen.
The results obtained are then used to check out the angle of different joints and to find
out the scores assigned.
After getting the angle the values are copied to MS Excel. These values are then used to
find RULA/REBA scores.
These scores are then used to conclude either the worker is having a bad posture for
work or it is okay to work in that posture.
There will be many other applications we can perform by slightly changing our program.
For example
Fatigue analysis of a worker by checking out his posture and relate it with the posture
values obtained before performing work
Confidence level of an interviewer by checking out his way of sitting and compare it with
ideal case
Biomechanics of a player can be analyzed by comparing it with ideal situation
4.3.6 Engineer and society:
Artificial intelligence is the most advanced field of today. Our project is also related to artificial
intelligence. Our project is to do ergonomics study using artificial intelligence. Ergonomics is a
field in which we perform tasks to reduce risk factor of getting injured. Our project can be
applied at any place to find out the wrong working postures. This technique is actually used to
improve health of worker and reduce his/her injury factor. So it is highly applicable in industry
to reduce the injury factor of workers and to improve health of workers.
In this project tracking of human body is performed Using the Kinect sensor, Which is the
motion sensing input device. It basically work on Stereo Matching Algorithm which is based on
deep learning. It is used in the applications of object detection, robotics and remote sensing. The
goal was to locate the position of major joints of body which is shown in Skelton image
generated by Kinect sensor. Then to calculate the degree of freedom of body joints as the worker
changes his posture while working. Microsoft Kinect Sdk and programming languages like
python and processing 3 is used to perform the basic tracking. The main objective was to apply it
on industrial workers to check whether working posture is correct or not. As it is necessary for
workers to work in safe environment, so posture must be correct to reduce the risk level and
fatigue. The risk score of worker is calculated by observing his posture in front of sensor In
which he performs the task in different postures and observations are recorded by sensor with
respect to time. After that percentage of risk in each posture is calculated which includes legs,
trunk and arms. So analysis is performed to check which posture is contributing most to the risk
factor.
Skeleton tracking with kinect is performed using the programming language python in which
shows 20 body joints. Along with that depth image is formed using the processing 3 language.
As our project is related to health and safety so it is recommended to propose solutions to the
problems which are identified for the safety of industrial workers. Once risk score is calculated
and affected body joints are detected, correct posture was recommended to the workers. This
should be implemented by industries to change the working posture by providing the suitable
rests and working at appropriate height. Along with industrial workers we can apply this project
to different applications for future research like object detection, postural analysis of interview
students by observing his posture, bowling action of player can also be observed using this. So
Computer vision is used the form of Kinect tracking and analysis is performed using the
Artificial Intelligence.
Appendices
Appendix A
Depth of Analysis Analysis to be performed for tracking human body and objects using
Kinect sensor.
Tracking using infrared, depth and RGB cameras of sensor
Computer and Machine Vision for extracting information for real
time inspection
Finding the degree of freedom of body joints using sensor.
Extent of Stake Stake holders for the final product will be industrial workers or
Holder’s Involvement construction workers that are working in specific posture. It also
and level of Conflicting includes organization top management.
Requirements
The resources required for the project include Kinect sensor and
Range of Resources
connecting wires to connect with computer. Also availability of
money for buying Kinect sensor. People (worker) availability is also
necessary to perform experimentation on tracking
Appendix C