pediatric-wrist-abnormality-detection-system

A repository for an automated system using object detection and machine learning techniques to diagnose wrist abnormalities in children, adolescents, and young adults, providing high accuracy and precision in diagnosis through a user-friendly mobile application.

https://github.com/abdulmanaf12/pediatric-wrist-abnormality-detection-system

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: sciencedirect.com
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.0%) to scientific vocabulary

Keywords

deep-learning healthcare machine-learning medical-imaging object-detection yolo
Last synced: 9 months ago · JSON representation ·

Repository

A repository for an automated system using object detection and machine learning techniques to diagnose wrist abnormalities in children, adolescents, and young adults, providing high accuracy and precision in diagnosis through a user-friendly mobile application.

Basic Info
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
deep-learning healthcare machine-learning medical-imaging object-detection yolo
Created over 3 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Citation

README.md

Enhancing Wrist Abnormality Detection with YOLO: Analysis of State-of-the-Art Single-Stage Detection Models

Introduction

The proposed project aims to provide a solution to the scarcity of radiologists and lack of specialized training among medical professionals in diagnosing and treating wrist abnormalities in children, adolescents, and young adults. With the incidence rate of distal radius and ulna fractures being higher during puberty, timely and accurate diagnosis is crucial. To address this, the project aims to provide an automated system using object detection algorithms and computer vision and machine learning techniques, enabling users to easily input pediatric wrist x-ray images and receive an output indicating the presence and location of any anomalies. The system is designed to be user-friendly, providing high accuracy and precision in diagnosis, and accessible through a mobile application without an internet connection. The project aims to reduce the dependency on manual interpretation of x-ray images, which can be time-consuming and subject to errors, and to make the diagnostic process more efficient for both patients and doctors. The research paper further highlights the effectiveness of single-stage deep neural network-based detection models, specifically YOLOv8x, in enhancing pediatric wrist imaging, with a fracture detection mean average precision (mAP) of 0.95 and an overall mAP of 0.77 on the GRAZPEDWRI-DX pediatric wrist dataset. In summary, the project aims to provide an innovative and efficient solution to improve the diagnosis and treatment of wrist abnormalities, ultimately improving patient care and convenience.

Installation

To run this machine learning project on Flask, you need to follow these steps:

  1. Clone the project repository from GitHub:

bash git clone https://github.com/AbdulManaf12/FYP-Project.git

  1. Navigate to the project directory:

bash cd FYP-Project

  1. Create a virtual environment for the project:

bash python3 -m venv env

  1. Activate the virtual environment:

bash source env/bin/activate

  1. Install the required packages using pip:

bash pip install -r requirements.txt

  1. Export the Flask app:

bash export FLASK_APP=app.py

  1. Run the Flask app:

bash flask run

The app should now be running on your local machine. You can access it by opening a web browser and navigating to http://localhost:5000.

Results

In this section, we present a comprehensive analysis of the performance of various models for wrist abnormality detection on the GRAZPEDWRI-DX dataset. We conducted a total of 23 detection procedures using different variants of each YOLO model and a two-stage detection model (Faster R-CNN) on a test set consisting of 1016 randomly selected samples. The performance of each model was evaluated using metrics such as precision, recall, and mean average precision (mAP).

Below are the weights of the YOLOv8 model along with their corresponding results:

YOLOv8 Weights

| Model variants | size
(pixels) | Precision | Recall | mAP@0.5 | mAP@0.5:0.95 | | ------------------------------------------------------------------------------------------ | --------------------- | --------- | ------ | ------- | ------------ | | YOLOv8n | 640 | 0.73 | 0.58 | 0.59 | 0.36 | | YOLOv8s | 640 | 0.72 | 0.63 | 0.65 | 0.39 | | YOLOv8m | 640 | 0.60 | 0.60 | 0.56 | 0.36 | | YOLOv8l | 640 | 0.74 | 0.60 | 0.62 | 0.41 | | YOLOv8x | 640 | 0.79 | 0.64 | 0.77 | 0.53 |

Presented below is a summary of the mean average precision (mAP) scores achieved by all YOLO variants and Faster R-CNN, for both the fracture class and all classes combined.

Acknowledgement

We would like to express our sincere appreciation and gratitude to all those who have supported and contributed to the development and success of our project, "Pediatric Wrist Abnormality Detection System".

First and foremost, we would like to thank our project supervisor, Dr. Sher Muhammad Daudpota, for his guidance, support, and expertise throughout the project. His valuable insights and feedback have been instrumental in shaping our research and system development.

We also extend our thanks to Mam Faryal Shamsi, Saif Hassan, and Babar Shah, the members of our internal committee, for their valuable input and feedback during the project's development.

We would also like to thank our research supervisors, Dr. Sher Muhammad Daudpota (Sukkur IBA, Pakistan), Ali Shariq (NTNU Norway), and Zenun Kastrati (LNU Sweden), for their support and encouragement throughout our research and development process.

Finally, we would like to acknowledge our fellow team member, Ammar Ahmed, for his contributions and collaboration throughout the project.

We also extend our thanks to all those who have provided resources and support to us during the project, including open-source libraries, datasets, and software.

Thank you all for your invaluable contributions and support.

Contact Info

For any questions or feedback regarding this project, please feel free to contact the authors:

  • Ammar Ahmed \ LinkedIn: https://www.linkedin.com/in/ammar-ahmed68/ \ Email: ammarlodhi68@gmail.com
  • Abdul Manaf \ LinkedIn: https://www.linkedin.com/in/abdul-manaf-6493a3188/ \ Email: abdulmanafsahito@gmail.com

Citation

bibtex @article{ahmed2024enhancing, title={Enhancing wrist abnormality detection with YOLO: Analysis of state-of-the-art single-stage detection models}, author={Ahmed, A. and Imran, A. S. and Manaf, A. and Kastrati, Z. and Daudpota, S. M.}, journal={Biomedical Signal Processing and Control}, volume={93}, pages={106144}, year={2024}, month={Jul}, doi={10.1016/j.bspc.2024.106144} url={https://www.sciencedirect.com/science/article/pii/S1746809424002027} }

Owner

  • Name: Abdul Manaf
  • Login: AbdulManaf12
  • Kind: user
  • Location: Sukkur, Pakistan

Deep Learning Engineer

Citation (CITATION.cff)

# Citation File Format 1.2.0

title: "Enhancing wrist abnormality detection with YOLO: Analysis of state-of-the-art single-stage detection models"
authors:
  - name: "Ahmed, A."
  - name: "Imran, A. S."
  - name: "Manaf, A."
  - name: "Kastrati, Z."
  - name: "Daudpota, S. M."
license: "CC-BY-4.0"
version: "1.0"
date-released: "2024-07-01"

GitHub Events

Total
Last Year

Dependencies

android-application-src/app/build.gradle maven
  • androidx.appcompat:appcompat 1.3.1 implementation
  • androidx.appcompat:appcompat 1.5.1 implementation
  • androidx.constraintlayout:constraintlayout 2.1.4 implementation
  • androidx.core:core-ktx 1.7.0 implementation
  • androidx.core:core-ktx 1.6.0 implementation
  • androidx.webkit:webkit 1.4.0 implementation
  • com.github.MikeOrtiz:TouchImageView 1.4.1 implementation
  • com.google.android.material:material 1.7.0 implementation
  • junit:junit 4.13.2 testImplementation
requirements.txt pypi
  • flask *
  • pytorch *
  • ultralytics *
android-application-src/build.gradle maven