This is a two-stage object detection model for detecting butterflies in images.
pip install -r requirements.txt
Place the dataset in the following structure:
datasets
├─ Annotations
│ ├─ IMG_000001.xml
│ └─ ...
├─ JPEGImages
│ ├─ IMG_000001.jpg
│ └─ ...
└─ TestData
├─ IMG_000001.jpg
└─ ...
Run train_detection.ipynb.
You can test the model with detection.py.
Run train.ipynb.
You can test the model with classification.py.
Run predict.py.