JayGab's picture
Create README.md
c198fd1 verified
|
raw
history blame
1.34 kB
---
language: en
tags:
- tensorflow
- classification
- plant-disease-detection
license: mit
---
# Leafy Vegetable Disease Detection Model
## Model Description
This model is trained to detect diseases in leafy vegetables using images. It utilizes the PlantVillage dataset to identify various plant diseases.
## Intended Use
This model can be used for:
- Detecting diseases in images of leafy vegetables.
- Providing feedback and recommendations for farmers and agricultural specialists.
## How to Use
You can use this model by sending an image of a leafy vegetable to the Inference API endpoint.
## Model Details
- **Input**: Image (JPEG/PNG)
- **Output**: Prediction of disease type with confidence scores.
## Training Data
This model is trained on the PlantVillage dataset, which contains labeled images of healthy and diseased plants.
## Limitations
- The model's performance may vary based on image quality and environmental conditions.
- It may not recognize diseases not present in the training dataset.
## Example
Here’s an example of how to use this model with the Inference API:
```python
import requests
url = "https://api-inference.huggingface.co/models/JayGab/Leafy-Vegetable-Disease-Detection"
files = {'file': open('path_to_image.jpg', 'rb')}
response = requests.post(url, files=files)
print(response.json())