agrivision-api / README.md
Giftmutie's picture
Update README.md
8a68f73 verified
|
Raw
History Blame Contribute Delete
873 Bytes
metadata
title: AgriVision API
emoji: πŸš€
colorFrom: green
colorTo: blue
sdk: docker
pinned: false

AgriVision API

Crop disease and pest detection API powered by YOLOv8m trained on 29 classes.

Endpoint

POST /predict

Send an image and receive:

  • Predicted disease or pest
  • Type (Disease / Pest / Healthy)
  • Confidence score
  • Severity level (High / Medium / Low / None)
  • Treatment recommendation
  • Top 3 predictions

Example Response

{
  "prediction": "tomato_late_blight",
  "type": "Disease",
  "confidence": 0.9721,
  "severity": "High",
  "treatment": "Apply metalaxyl or cymoxanil fungicides immediately...",
  "top3": [...]
}

title: Agrivision Api emoji: πŸ“š colorFrom: blue colorTo: purple sdk: docker pinned: false license: mit

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference