Skip to content

Detect brain diseases using YOLOv8 with high accuracy from brain MRI scans

Notifications You must be signed in to change notification settings

skald1311/brain-disease-detector

Repository files navigation

LinkedIn


Logo

Brain Disease Detector

Detect brain diseases using YOLOv8 with high accuracy from brain MRI scans

Report Bug · Request Feature


React TypeScript AWS-Lambda AWS-APIG Docker HTML5 Tailwind

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. Contact

About The Project

New Project

image

(back to top)

Built With

  • React
  • TypeScript
  • AWS-Lambda
  • AWS-APIG
  • Docker
  • HTML5
  • Tailwind

(back to top)

Installation

For local use, please download the files in here

NOTE: Since the project uses AWS Lambda and API Gateway, local use cannot use the same, therefore you won't have a frontend

Once you've obtained the files, you can follow these next steps

  1. Make a new folder and put these files in

    model.pt
    yolo_inference.py
  2. Optional: Create a virtual environment and activate it

    python -m venv .venv
    . .venv/Scripts/activate

    Some systems might be different (python3 rather python; . .venv/bin/activate rather than . .venv/Scripts/activate)

  3. Install ultralytics

    pip install ultralytics
  4. Open yolo_inference.py and change the <image_file_path> to your MRI scan image path

    from ultralytics import YOLO
    model = YOLO('model.pt')
    model.predict('<image_file_path>', save=True)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Duong Hoang - LinkedIn

Project Link: Github

(back to top)