axondeepseg / axon-detection

Exploration of object detection applied to the AxonDeepSeg project
1 stars 0 forks source link

Axon Detection in Microscopy Images

This project focuses on preprocessing and segmenting axons and myelin from microscopy images stored in the BIDS format. It leverages OpenCV for image manipulation and is designed to work with object detection models like YOLO or RetinaNet.

Overview

General:

Getting Started

Prerequisites

Installation

  1. Create a Virtual Environment:

    
    python -m venv venv
  2. Activate a Virtual Environment:

    
    source venv/bin/activate
  3. Install dependencies:

    
    pip install -r requirements.txt

Running scripts


### Old yolo model:
   cd src
   python preprocessing.py
   python yolo_train.py

### Specific script for RetinaNet model:
   ```bash
   cd src
   python -m retinaNet.retinaNet_train