Skip to content

24-25J-097/ent-disease-detection-webapp

Repository files navigation

ENT Insight - Flutter App

ENT Insight is a mobile application designed for analyzing Medical images related to ENT (Ear, Nose, and Throat) conditions using Deep learning APIs.

Getting Started

These instructions will help you set up and run the ENT Insight NextJs App on your local machine for development and testing purposes.

Features

  • Upload and analyze Medical images.
  • Real-time prediction and analysis results.
  • User-friendly interface.

Installation

Prerequisites

  1. Node (Latest Version): Install Node
  2. WebStorm/VSCode (IDE)
  3. Ngrok for backend API tunneling: Install Ngrok

Clone the Repository

git clone https://github.com/24-25J-097/ent-disease-detection-webapp.git

cd ent-disease-detection-webapp

Ngrok Setup for Backend API (If you have not done installed)

Step 1: Create an Account

  • Register an account and log in to the Ngrok dashboard official site.

Step 2: Install Ngrok

Step 3: Connect Ngrok to Your Account

  • Run the following command to authenticate Ngrok on your system:
ngrok config add-authtoken <token>

Step 4: Start the Backend Server

cd <path to ent-disease-detection-api>

npm start

Step 5: Start Ngrok Tunnel

ngrok http --domain=monarch-witty-platypus.ngrok-free.app 4000

Replace 4000 with your backend’s port. Ngrok will provide a public URL like https://.ngrok.io.

Configuration

Change ENV

  • Open the file .env-example (or wherever the API URL is configured).
  • Copy .env-example to .env
  • Update the NEXT_PUBLIC_FASTAPI_BASE_URL value:
#.env
NEXT_PUBLIC_FASTAPI_BASE_URL="https://<your-ngrok-url>.ngrok.io" 

Run the App 😊

Install Dependencies

npm install

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Screenshots

Sinuitis Water's View X-Ray

Pharyngitis Oral endoscopy images Analyze

Cholesteatoma Analyze

Foreign Body Detection

License

Copyright (c) 2024 24-25J-097

All rights reserved. No part of this software may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without prior written permission from the author, except for brief quotations in reviews or academic references.

Unauthorized use, modification, or distribution is strictly prohibited.