/pneumonia-detection

Java Jee webapp for pneumonia detection

Primary LanguageJava

pneumonia-detection

Pneumonia Detection Web Application (Java JEE)

A Java JEE web application that connects suspected pneumonia patients with their doctors. Patients can enter their personal information, view their details, upload chest X-ray images, and review doctor reports. Doctors can sign in, access the patient list, confirm AI model analysis of X-ray images, and generate reports.

Table of Contents

Prerequisites

  • Java Development Kit (JDK)
  • Apache Tomcat
  • MySQL Database
  • Eclipse IDE, Intellij IDE (or any Java IDE of your choice)

Installation

  1. Clone the repository:

    git clone https://github.com/PIno-1963/pneumonia-detection.git
  2. Open the project in your Java IDE (Eclipse, IntelliJ, etc.).

  3. Configure the database connection in the Db.properties file.

  4. Change uploadDirectory (in src/main/java/com/example/pnuemonia_detection/PatientCreateAccountServlet.java) to your desired local directory.

  5. Deploy the project on your local Apache Tomcat server

Database Setup

Run the script in pneumonia.sql file to get the schema with test data.

Usage

1.Patient Portal:

  • Open the web application in your browser.
  • Visit the patient portal and sign up with your personal information.
  • Log in to view and update your details.
  • Upload chest X-ray images for analysis.
  • View reports generated by your doctor.

2.Doctor Portal:

  • Visit the doctor portal and sign in with your credentials.
  • Access the patient list and review their information.
  • Confirm AI model analysis of X-ray images.
  • Generate reports for patients.

Features

  • Patient Portal:

    • User authentication and personal information management.
    • Chest X-ray image upload and storage.
    • View reports generated by doctors.
  • Doctor Portal:

    • Secure login for doctors.
    • Access the patient list with details.
    • Confirm AI model analysis of X-ray images.
    • Generate reports for patients.

Technologies Used

  • Java JEE

    JEE

  • JavaServer Pages (JSP)

    JSP

  • MySQL Database

    MYSQL

  • CSS for styling

    CSS

-Apache Tomcat

TOMCAT

-Fast API

FASTAPI

Credits

Hamza MOUSSAOUI, Omar SIF EDDINE, Brahim BENTALEB