Crop disease diagnostics

Read the signs
on a leaf.

Compare a crop leaf photo against 38 plant-health classes and see how the model ranks each match.

Tomato leaf Generated illustration

Browser classifier

Analyze a leaf

Choose one clear close-up in even light. The photo stays on your device.

Leaf photo

Drop your leaf photo here JPEG, PNG or WebP · up to 12 MB

Or try a dataset example

Prediction results

Ready when you are

Run an analysis to see the closest matches and their model scores.

Model evaluation

Research results

Data and validation metrics for the ViT notebook and the model used in the live scanner.

99.70%ViT final validation accuracy
95.41%MobileNetV2 upstream validation
38Classes across 14 crops

Vision Transformer notebook

Fine-tuned for two epochs on 70,295 images, with 17,572 validation images from the Kaggle New Plant Diseases Dataset.

Validation stages recorded in the original notebook
StageTrain lossVal. lossAccuracy

Epoch validation used random augmentation. The final pass used deterministic preprocessing on the same validation split. Scores are rounded from the saved notebook output.

MobileNetV2 browser model

The live demo uses a public MobileNetV2 ONNX export. The upstream model card reports 95.41% accuracy and 0.15 cross-entropy loss on its evaluation split.

Both experiments use PlantVillage-derived imagery. A held-out field test and a like-for-like comparison are unavailable.

View supported crops and conditions

    On-device assistant

    Ask the crop guide

    Ask about leaf photos, model scores, supported crops, and what to check after a scan.

    Start with a question

    This guide matches questions to built-in answers and can explain your latest result. Chat history clears when you reload the page.

    Crop guide chat

    Ask me how to take a better photo, interpret a score, or check what the scanner can recognize.