Add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: rfdetr
|
| 4 |
+
tags:
|
| 5 |
+
- plant-disease
|
| 6 |
+
- disease-detection
|
| 7 |
+
- agriculture
|
| 8 |
+
- computer-vision
|
| 9 |
+
- object-detection
|
| 10 |
+
- rf-detr
|
| 11 |
+
datasets:
|
| 12 |
+
- plant-disease-faxnj
|
| 13 |
+
metrics:
|
| 14 |
+
- map
|
| 15 |
+
pipeline_tag: object-detection
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# CropScan - Plant Disease Detection Model
|
| 19 |
+
|
| 20 |
+
CropScan is an RF-DETR model fine-tuned for plant disease detection. It identifies and localizes disease regions on plant leaves.
|
| 21 |
+
|
| 22 |
+
## Model Details
|
| 23 |
+
|
| 24 |
+
- **Model Architecture**: RF-DETR (medium)
|
| 25 |
+
- **Task**: Object Detection / Disease Localization
|
| 26 |
+
- **Performance**: mAP@50: 0.502
|
| 27 |
+
- **Training**: Fine-tuned on plant disease dataset
|
| 28 |
+
|
| 29 |
+
## Usage
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from rfdetr import RFDETRBase
|
| 33 |
+
|
| 34 |
+
model = RFDETRBase()
|
| 35 |
+
model.load_state_dict(torch.load("checkpoint_best_total.pth"))
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## Training Data
|
| 39 |
+
|
| 40 |
+
This model was trained on the Plant Disease dataset from Roboflow Universe.
|
| 41 |
+
|
| 42 |
+
```bibtex
|
| 43 |
+
@misc{plant-disease-faxnj_dataset,
|
| 44 |
+
title = { Plant disease Dataset },
|
| 45 |
+
type = { Open Source Dataset },
|
| 46 |
+
author = { Project },
|
| 47 |
+
howpublished = { \url{ https://universe.roboflow.com/project-oklwn/plant-disease-faxnj } },
|
| 48 |
+
url = { https://universe.roboflow.com/project-oklwn/plant-disease-faxnj },
|
| 49 |
+
journal = { Roboflow Universe },
|
| 50 |
+
publisher = { Roboflow },
|
| 51 |
+
year = { 2024 },
|
| 52 |
+
month = { feb },
|
| 53 |
+
}
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
## Intended Use
|
| 57 |
+
|
| 58 |
+
- Plant disease detection in agricultural applications
|
| 59 |
+
- Research on plant pathology
|
| 60 |
+
- Integration with segmentation models (e.g., SAM2) for precise mask generation
|
| 61 |
+
|
| 62 |
+
## Limitations
|
| 63 |
+
|
| 64 |
+
- Trained primarily on PlantVillage-style images
|
| 65 |
+
- Best performance on individual leaf images with clear backgrounds
|
| 66 |
+
- May require SAM2 integration for precise segmentation masks
|