Datasets:
[Community Model] Add flax_capsule_det
Browse files## 🌿 Model Contribution: `flax_capsule_det`
This community model was submitted automatically via `pliman::pliman_model_share()`.
### 📌 Model Metadata
- **Model Name:** `flax_capsule_det`
- **Architecture:** `YOLO26l`
- **Vision Task:** `DETECT`
- **Target Classes:** `capsula`
- **Species / Crop:** Linum usitassimum
- **Organ / Target:** capsule
- **Author(s):** Tiago Olivoto & Mateus Zunino (NEPEM - UFSC)
- **Date:** 2026-10-30
- **Model Size:** 77.92 MB (ONNX format)
### 📝 Description
Model for flax capsule detection
### 📊 Test Benchmark Results
| Metric | Value | Description |
| :--- | :---: | :--- |
| **Precision (P)** | `98.59%` | Correctness of detections |
| **Recall (R)** | `98.95%` | Proportion of targets found |
| **F1-Score** | `0.9877` | Harmonic mean of P and R |
| **mAP@50** | `0.9794` | Mean Average Precision at IoU 0.50 |
| **mAP@50-95** | `0.7566` | COCO standard evaluation metric |
| **Mean IoU** | `0.8760` | Average overlap quality for True Positives |
| **Counting R²** | `0.9992` | Coefficient of determination (Actual vs Pred count) |
| **Counting MAE** | `0.28` | Mean Absolute Error (objects/image) |
| **Counting RMSE** | `1.00` | Root Mean Squared Error |
| **Test Scale** | `295 imgs` | Evaluated on 5712 objects |
### 🖼️ Visual Reproduction & Detection Preview
| 📷 Original Raw Image | 🎯 Model Detections |
| :---: | :---: |
| <a href="https://huggingface.co/datasets/NEPEM-UFSC/dl_models/resolve/main/flax_capsule_det_sample.jpg"><img src="https://huggingface.co/datasets/NEPEM-UFSC/dl_models/resolve/main/flax_capsule_det_sample.jpg" width="450" alt="Original Raw Image"/></a> | <a href="https://huggingface.co/datasets/NEPEM-UFSC/dl_models/resolve/main/flax_capsule_det_preview.jpg"><img src="https://huggingface.co/datasets/NEPEM-UFSC/dl_models/resolve/main/flax_capsule_det_preview.jpg" width="450" alt="Model Detections"/></a> |
### 🔬 Quick Test & Reproducibility
Run an immediate verification directly in R:
```r
library(pliman)
# 1. Download model weights:
# During PR review, download directly from this PR branch:
pliman_download_model("https://huggingface.co/datasets/NEPEM-UFSC/dl_models/resolve/main/flax_capsule_det.onnx", model_name = "flax_capsule_det")
# (Once merged into main, you can simply run: pliman_download_model("flax_capsule_det"))
# 2. Run inference using the sample image:
sample_url <- "https://huggingface.co/datasets/NEPEM-UFSC/dl_models/resolve/main/flax_capsule_det_sample.jpg"
res <- image_detect_dl(sample_url, model = "flax_capsule_det")
```
### 🚀 How to use on your own images
```r
library(pliman)
# 1. Download the model (if not already downloaded):
pliman_download_model("flax_capsule_det")
# 2. Run inference on any local image:
res <- image_detect_dl("my_image.jpg", model = "flax_capsule_det")
```
Files changed (4)
123version https://git-lfs.github.com/spec/v1oid sha256:d8c753ed9cb49a0656f98b809ee27586c8a1078fd276e11915b61c6a9d15befdsize 817066661234567891011121314151617181920212223242526272829303132333435363738{
"model_name": "flax_capsule_det",
"filename": "flax_capsule_det.onnx",
"architecture": "YOLO26l",
"sample_image": "flax_capsule_det_sample.jpg",
"preview_image": "flax_capsule_det_preview.jpg",
"task": "detect",
"classes": "capsula",
"num_classes": 1,
"size_mb": 77.92,
"species": "Linum usitassimum",
"organ": "capsule",
"description": "Model for flax capsule detection",
"author": "Tiago Olivoto & Mateus Zunino",
"institution": "NEPEM - UFSC",
"email": null,
"orcid": null,
"date_shared": "2026-10-30",
"framework": "pliman / ONNX Runtime (YOLO26l)",
"license": "CC-BY-4.0",
"metrics": {
"test_images": 295,
"total_gt_objects": 5712,
"total_predicted": 5733,
"precision": 0.9859,
"recall": 0.9895,
"f1_score": 0.9877,
"mean_iou": 0.876,
"map50": 0.9794,
"map75": 0.9477,
"map50_95": 0.7566,
"mae": 0.275,
"rmse": 1,
"r2": 0.9992,
"slope": 1.003,
"intercept": 0.005
}
}
Large File Pointer Details
- SHA256: cb6ab2aacb3862fd5d767c8bd91d7051cafff90c6bd528b96dc02360940f8c62
- Pointer size: 132 Bytes
- Size of remote file: 1.95 MB

Large File Pointer Details
- SHA256: fe896480a94cb27a9b189f19a347a92e134571f101b686f897b02959bd4089f5
- Pointer size: 132 Bytes
- Size of remote file: 2.42 MB