You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Maize Disease Detection Model

This model identifies common maize diseases from leaf images.

Model Description

  • Developed by: [Your Name/Team]
  • Model type: Image Classification (CNN)
  • Task: Maize Disease Detection
  • Training Data: Maize leaf disease dataset
  • Validation Accuracy: XX%

Diseases Detected

  • Northern Leaf Blight
  • Gray Leaf Spot
  • Common Rust
  • Healthy Plants

Usage

This model accepts leaf images and returns disease classifications with confidence scores.

from PIL import Image
import requests

API_URL = "https://api-inference.huggingface.co/models/Janvierscode/maize-disease-detection"
headers = {"Authorization": "Bearer YOUR_API_TOKEN"}

def query(image_path):
    with open(image_path, "rb") as f:
        data = f.read()
    response = requests.post(API_URL, headers=headers, data=data)
    return response.json()

# Example usage
result = query("path/to/image.jpg")
print(result)
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support