Skip to content

About

A diabetes detector made with love (and YOLOv11)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Andidet.AI & Diadet.AI - Image-Based Detection

This project is a Flask-based web application that uses YOLO (You Only Look Once) object detection models to perform predictions on uploaded images. The application allows users to choose between two different models: "Anedet AI" and "Diadet AI", which are likely used for medical diagnosis purposes such as detecting signs of anemia or diabetes from images.

Features

  • Web-Based Interface: A simple and user-friendly web interface for uploading images.
  • Model Selection: Users can select either the "Anedet AI" or "Diadet AI" model for their prediction task.
  • Image Prediction: The application accepts common image formats (PNG, JPG, JPEG, WEBP) and performs object detection to identify relevant features.
  • Display Results: The prediction output, including the detected class and confidence percentage, is displayed to the user.

How It Works

  1. Upload Image: The user selects an image file from their local machine and uploads it through the web interface.
  2. Choose Model: The user chooses which model ("Anedet AI" or "Diadet AI") to use for the analysis.
  3. Run Prediction: The Flask backend receives the image and the selected model. It uses the corresponding YOLO model to perform a prediction on the image.
  4. View Output: The application displays the uploaded image along with the prediction result, showing the detected class and the model's confidence level.

Project Structure

.
├── Anedet AI/
│   ├── best2.pt      # YOLO model for Anedet
│   └── model.ipynb   # Jupyter notebook for model training
├── Diadet AI/
│   ├── best.pt       # YOLO model for Diadet
│   └── model.ipynb   # Jupyter notebook for model training
├── app.py            # Main Flask application
├── requirements.txt  # Python dependencies
├── static/           # CSS, JavaScript, and images
└── templates/
    └── index.html    # HTML template for the web interface

Getting Started

Prerequisites

  • Python 3.x
  • pip

Installation

  1. Clone the repository:

    git clone https://github.com/Arocoboyy/Andidet.AI.git
    cd Andidet.AI
  2. Install dependencies:

    pip install -r requirements.txt

Running the Application

  1. Start the Flask server:

    python app.py
  2. Open your browser and navigate to http://127.0.0.1:5000 to use the application.

About

A diabetes detector made with love (and YOLOv11)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages