Giter VIP home page Giter VIP logo

identify's Introduction

iDentify: Dental Anomaly Detection using YOLOv9 with Data Augmentation

Overview

iDentify is a web-based application designed to facilitate the detection and classification of dental anomalies from panoramic X-rays. The tool consists of two main components: a React Vite-based front-end application and a backend system incorporating a trained YOLOv9-c model wrapped in a FastAPI container.

Inference on Panoramic X-ray

Features

Front-End

The frontend is built using React Vite, a modern web development framework that allows for efficient and scalable development. The application offers several functionalities, including:

  • Welcome page
  • Sign-up and login (using Firebase Authentication)
  • Dashboard for image upload, result viewing, zoom feature, and PDF export with detailed text descriptions of detected dental anomalies
  • Feedback page for model performance feedback

Back-End

The backend is a FastAPI application responsible for:

  • Receiving and processing image data
  • Running the detection algorithm
  • Returning the results along with confidence scores for each classification of dental anomalies (Caries, Deep caries, Periapical lesion, and Impacted tooth)

Setup Instructions

Backend (FastAPI)

You have two options to run the backend:

  1. Using Docker: Pull the Docker image from Docker Hub and run it:

    docker pull kanwalmehreen/identifyapp:latest
    docker run -p 8000:8000 kanwalmehreen/identifyapp:latest
  2. Running Locally:

    1. Clone the repository:
      git clone https://github.com/kawiiii/iDentify.git
      cd iDentify/api
    2. Create a virtual environment:
      python -m venv venv
    3. Activate the virtual environment:
      • On Windows:
        venv\Scripts\activate
      • On macOS and Linux:
        source venv/bin/activate
    4. Install dependencies:
      pip install -r requirements.txt
    5. Download the model from Google Drive and place it in the api/models directory.
    6. Run the backend:
      uvicorn main:app --reload

You can access the backend at http://0.0.0.0:8000. Press CTRL+C to quit.

Frontend (React Vite)

  1. Clone the repository if you haven't already.
  2. Navigate to the frontend directory:
    cd iDentify/frontend
  3. Copy the .env.example file to create a new .env file:
    cp .env.example .env
    Fill in the Firebase keys and any other required environment variables in the newly created .env file.
  4. Install the dependencies:
    npm install
  5. Install react-modal:
    npm install react-modal
  6. Run the frontend development server:
    npm run dev

Once the development server is running, you can access the frontend application at http://localhost:5174/ .

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributors

identify's People

Contributors

kawiiii 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.