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.
utils.py
file with helper functions for easy preprocessing.pip install opencv-python
)Create a Virtual Environment:
python -m venv venv
Activate a Virtual Environment:
source venv/bin/activate
Install dependencies:
pip install -r requirements.txt
### 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