Code Monkey home page Code Monkey logo

ahad1317 / smart-tuberclosis-detector--nvidiajetson Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 102.2 MB

With the power of NVIDIA Jetson Nano, our tuberculosis detector revolutionizes the early diagnosis of TB through advanced image analysis

CMake 2.69% Shell 2.67% Dockerfile 0.09% C++ 56.67% Cuda 5.23% Python 11.30% Jupyter Notebook 0.40% C 15.11% OCaml 0.10% CSS 4.38% JavaScript 0.64% HTML 0.73%
docker jetson jetson-inference jetson-nano model nvidia nvidia-jetson-nano

smart-tuberclosis-detector--nvidiajetson's Introduction

Smart Tuberculosis Detection with NVIDIA Jetson Nano ๐Ÿš€

Smart Psio (2)

Abstract ๐Ÿ“„

This project harnesses the NVIDIA Jetson Nano to develop a sophisticated, real-time tuberculosis detection system utilizing advanced deep learning and image processing techniques. This innovative solution aims to aid in the early detection and monitoring of tuberculosis, offering a non-invasive, transformative approach to managing this respiratory disease.

Objective ๐ŸŽฏ

The main goal is to develop a reliable and accessible tuberculosis detection system for use in both clinical and home settings. This technology seeks to empower patients and healthcare providers with improved capabilities for the early detection and management of tuberculosis.

Existing System: Challenges ๐Ÿ˜ฐ

Current diagnostic methods for tuberculosis rely heavily on sputum analysis and chest X-rays, which are not only invasive but also have several limitations:

  • Diagnostic Delays: Lengthy lab results can delay treatment.
  • Accessibility Issues: Limited access to advanced medical facilities in remote areas.
  • Cost and Resource Intensive: High costs and significant healthcare infrastructure required.

Proposed System ๐ŸŒŸ

The proposed system includes:

  • Automated Detection: Using deep learning algorithms to identify tuberculosis indicators from chest X-ray images.
  • Real-Time Analysis: Instant feedback facilitated by the NVIDIA Jetson Nano's robust processing power.
  • User-Friendly Interface: Easy-to-use interface for both patients and healthcare professionals.

Software Requirements ๐Ÿ› ๏ธ

  • Python 3.8 or higher
  • TensorFlow 2.x
  • OpenCV for image processing
  • NVIDIA JetPack SDK
  • Additional dependencies can be found in requirements.txt

Application ๐ŸŒ

The system can be utilized in various settings:

  • Home Monitoring: Allows patients to perform regular health check-ups.
  • Clinical Assistance: Assists healthcare professionals in making more accurate diagnoses.
  • Research: Supports ongoing research and data collection on tuberculosis.

System Requirements ๐Ÿ–ฅ๏ธ

  • NVIDIA Jetson Nano: Primary computing device.
  • High-resolution camera module: For capturing chest X-ray images.
  • Adequate lighting conditions: Essential for high-quality image capture.
  • memory card
  • card reader
  • other setups: follow the hardwarw setup section

Setup and Installation

  1. Hardware Setup:

    • Ensure the setup is in a well-lit area.
    • Here is jetson connection setup :

    jetson setup

Follow these commands for software installation and working :

  • Open terminal

  • clone the repository and open directiry in terminal

git clone https://github.com/Ahad1317/Smart-tuberclosis-detector--NvidiaJetson
  • run docker container (enter jetson password)
docker/run.sh
  • check if model has installed properly(camera will run)
video-viewer /dev/video0
  • Now download the dataset and paste into -- Download here: Dataset
python/training/classification/data/xray
  • In same folder create labels.txt containing the label "Tuberculosis"

  • Train xray dataset

python3 train.py --model-dir=models/xray --batch-size=4 --workers=1 --epochs=35 data/xray
  • export the trained model in onnx file
python3 onnx_export.py --model-dir=models/xray

Testing

  • open the repo directly in terminal

  • run docker docker/run.sh

  • change directory

cd python/training/classification
  • to test:
imagenet --model=models/xray/resnet18.onnx --input_blob=input_0 --output_blob=output_0 --labels=data/xray/labels.txt data/Project/Test02/Input/mix data/Project/Test02/Output
  • For webcam based detection
imagenet --model=models/xray/resnet18.onnx --input_blob=input_0 --output_blob=output_0 --labels=data/xray/labels.txt /dev/video0

Conclusion ๐Ÿ“œ

In conclusion, this project not only aims to provide a technological solution to a complex medical problem but also strives to make healthcare more accessible and efficient. Through the use of cutting-edge technology like the NVIDIA Jetson Nano, Smart tuberuclosis Detection has the potential to transform how psoriasis is managed and treated, improving the quality of life for millions of patients worldwide.

Shout outs ๐Ÿ“ฃ

The product is built by the following member(s):

Abdul Ahad
Abdul Ahad
Disha Yadav
Disha Yadav

Feel free to star and fork this repository if you find this project interesting!

smart-tuberclosis-detector--nvidiajetson's People

Contributors

ahad1317 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.