Skip to content

Commit c42dc67

Browse files
authored
Update README.md
1 parent b98cfa5 commit c42dc67

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

README.md

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Lateral Sitting Posture Detection using YOLOv5
1+
# Real-Time Lateral Sitting Posture Detection using YOLOv5
22

33
<div align="center">
44
<img src="https://raw.githubusercontent.com/itakurah/SittingPostureDetection/main/data/images/posture.webp" width="80%" height="80%" alt="Sitting Posture">
@@ -8,23 +8,28 @@
88

99

1010

11-
This GitHub repository contains a posture detection program that utilizes [YOLOv5](https://github.com/ultralytics/yolov5), an advanced object detection algorithm, to detect and predict lateral sitting postures. The program is designed to analyze the user's sitting posture in real-time and provide feedback on whether the posture is good or bad based on predefined criteria. The goal of this project is to promote healthy sitting habits and prevent potential health issues associated with poor posture.
11+
This repository provides an open-source solution for **real-time sitting posture detection** using [YOLOv5](https://github.com/ultralytics/yolov5), a state-of-the-art object detection algorithm. The program is designed to analyze a users sitting posture and offer feedback on whether it aligns with ergonomic best practices, aiming to promote healthier sitting habits.
1212

13-
Key Features:
13+
## Key Features
1414

15-
* YOLOv5: The program leverages the power of YOLOv5, which is an object detection algorithm, to
16-
accurately detect the user's sitting posture from a webcam.
17-
* Real-time Posture Detection: The program provides real-time feedback on the user's sitting posture, making it suitable
18-
for use in applications such as office ergonomics, fitness, and health monitoring.
19-
* Good vs. Bad Posture Classification: The program uses a pre-trained model to classify the detected posture as good or
20-
bad, enabling users to improve their posture and prevent potential health issues associated with poor sitting habits.
21-
* Open-source: The program is released under an open-source license, allowing users to access the source code, modify
22-
it, and contribute to the project.
15+
* **YOLOv5**: The program leverages the power of YOLOv5, which is an object detection algorithm, to accurately detect the user’s sitting posture from a webcam.
16+
* **Real-time Posture Detection**: The program provides real-time feedback on the user's sitting posture, making it suitable for applications in office ergonomics, fitness, and health monitoring.
17+
* **Good vs. Bad Posture Classification**: The program uses a pre-trained model to classify the detected posture as good or bad, enabling users to improve their posture and prevent potential health issues associated with poor sitting habits.
18+
* **Open-source**: Released under an open-source license, allowing users to access, modify, and contribute to the project.
19+
20+
21+
---
2322

2423
### Built With
2524

2625
![Python]
2726

27+
## IEEE Conference Publication
28+
29+
We are pleased to announce that this project has been published in an IEEE conference paper, which provides a comprehensive overview of our methodology, technical approach, and results in applying YOLOv5 for lateral sitting posture detection. This paper, titled **"Lateral Sitting Posture Detection using YOLOv5,"** was presented at the 2024 IEEE International Conference on Biomedical Robotics and Biomechatronics (BioRob). For more in-depth information, please refer to the full paper available at:
30+
31+
**[Read the IEEE Publication on Xplore](https://doi.org/10.1109/BioRob60516.2024.10719953)**
32+
2833
# Getting Started
2934

3035
### Prerequisites
@@ -56,9 +61,11 @@ If you have an NVIDIA graphics processor, you can activate GPU acceleration by i
5661

5762
The default model is loaded if no model file is specified.
5863

59-
# Model
60-
The program uses a custom trained [YOLOv5s](https://github.com/ultralytics/yolov5/blob/79af1144c270ac7169553d450b9170f9c60f92e4/models/yolov5s.yaml) model that is trained on about 160 images per class for 146 epochs. The model has two classes: sitting_good and sitting_bad to give feedback about the current sitting posture.
61-
## Architecture
64+
# Model Information
65+
This project uses a custom-trained [YOLOv5s](https://github.com/ultralytics/yolov5/blob/79af1144c270ac7169553d450b9170f9c60f92e4/models/yolov5s.yaml) model fine-tuned on 160 images per class over 146 epochs. It categorizes postures into two classes:
66+
* `sitting_good`
67+
* `sitting_bad`
68+
# Architecture
6269
The architecture that is used for the model is the standard YOLOv5s architecture:
6370

6471
<img src="https://raw.githubusercontent.com/itakurah/SittingPostureDetection/main/data/images/architecture.png" width=75% height=75%>
@@ -67,7 +74,7 @@ The architecture that is used for the model is the standard YOLOv5s architecture
6774

6875
*Fig. 1: YOLOv5s network architecture (based on Liu et al.). The CBS module consists of a Convolutional layer, a Batch Normalization layer, and a Sigmoid Linear Unit (SiLU) activation function. The C3 module consists of three CBS modules and one bottleneck block. The SPPF module consists of two CBS modules and three Max Pooling layers.*
6976

70-
## Model Results
77+
# Model Results
7178
The validation set contains 80 images (40 sitting_good, 40 sitting_bad). The results are as follows:
7279
|Class|Images|Instances|Precision|Recall|mAP50|mAP50-95|
7380
|--|--|--|--|--|--|--|
@@ -87,8 +94,7 @@ F1, Precision, Recall, and Precision-Recall plots:
8794
# About
8895

8996
This project was developed by [Niklas Hoefflin](https://github.com/itakurah), [Tim Spulak](https://github.com/T-Lak),
90-
Pascal Gerber & Jan Bösch and supervised by [André Jeworutzki](https://github.com/AndreJeworutzki)
91-
and Jan Schwarzer as part of the [Train Like A Machine](https://csti.haw-hamburg.de/project/TLAM/) module.
97+
Pascal Gerber & Jan Bösch. It was supervised by [André Jeworutzki](https://github.com/AndreJeworutzki) and Jan Schwarzer as part of the [Train Like A Machine](https://csti.haw-hamburg.de/project/TLAM/) module.
9298

9399
# Sources
94100

0 commit comments

Comments
 (0)