Case Study · Agricultural Computer VisionResearch PrototypeModel Weights Unavailable

PhytoScan — Plant Health Classification Prototype

An interactive crop-health taxonomy explorer covering 38 indexed classes across 14 crop species.

Indexed Taxonomy
38 Classes
25 diseases + 1 mite pest + 12 healthy controls
Agricultural Species
14 Species
Tomato, Apple, Corn, Grape, and 10 others
Foliar Pathogens
4 Etiologies
Fungal, bacterial, viral, and mite damage
PhytoScan Taxonomy Workstation38-Class Pathology Benchmark
PhytoScan crop pathology classifier taxonomy explorer displaying 38 disease classes
Problem Addressed

Agricultural Foliar Pathology & Diagnostic Challenges

Foliar crop conditions cause devastating agricultural yield losses, but smallholder farmers often lack access to agronomic specialists. Visual symptom diagnosis is challenging because conditions manifest as overlapping chlorotic spots, necrotic lesions, and wilting patterns. Early detection requires fine-grained classification capable of distinguishing species-specific pathogens and pests while recognizing healthy controls.

Architecture & Implementation

38-Class Foliar Pathology Modeling

To explore automated foliar leaf diagnostics, I built a deep convolutional neural network classification pipeline:

  • 38-Class Multi-Etiology Taxonomy: Mapped 38 diagnostic classes spanning 14 agricultural crops, categorizing conditions across fungal, bacterial, viral, and mite damage plus 12 healthy controls.
  • Convolutional Feature Extraction: Deep CNN architecture with spatial pooling and regularization to learn distinguishing foliar lesion patterns.
  • Interactive Agricultural Taxonomy Explorer: Designed a responsive filtering interface allowing agronomists and developers to inspect all 14 crop species and 38 conditions with zero UI truncation.
Technology Stack

Tools & Frameworks

PyTorchConvolutional Neural Networks (CNN)OpenCVNumPyPlantVillage DatasetReactTypeScriptTailwind CSS
Verified Results

Taxonomic Ground Truth & Rigorous Verification

Our rigorous code audit and taxonomic parsing established verified baselines:

38 Verified Classes

Directly parsed from canonical class_indices.json, verifying 25 disease classes, 1 mite pest class, and 12 healthy controls.

Zero Fabrication Rule

Because original model weights are unavailable, interactive predictions are deactivated rather than simulated with mock probabilities.

Limitations

Model Weights Disclosure & Real-World Domain Gaps

  • !Model Checkpoint Unavailable: The model checkpoint (plant_disease_model.h5) was committed as an unresolved Git LFS pointer; interactive inference is disabled.
  • !Laboratory Dataset Backgrounds: PlantVillage images feature homogeneous, controlled laboratory backgrounds that do not directly generalize to outdoor field conditions without domain adaptation.
Technical Deep Dive

Taxonomy Explorer & Weight Audit Disclosures

Explore the interactive 38-class crop pathology directory and the technical Git LFS weight audit details below.

AuditModel Weights Unavailable & Git LFS Pointer Audit
Zero Fabrication Rule: Honest Architectural Boundary

Our technical audit revealed that plant_disease_model.h5 exists only as an unresolved Git LFS pointer (~130 bytes). In accordance with engineering integrity principles, we refuse to simulate inferences with random number generators. Interactive classification is disabled pending model retraining with open weight checkpoints.

TaxonomyInteractive 38-Class Pathology Directory

Explore the 38 Classification Classes

Non-Healthy Classes: 26 non-healthy (25 disease classifications and 1 mite-pest classification.) · 12 healthy controls

Tomato Pathology Classes

Solanum lycopersicum · 10 Distinct Diagnostic Categories

Bacterial Spotbacterial
Early Blightfungal
Late Blightfungal
Leaf Moldfungal
Septoria Leaf Spotfungal
Spider Mites (Two-Spotted)pest
Target Spotfungal
Yellow Leaf Curl Virusviral
Mosaic Virusviral
Healthy Controlhealthy
Interactive Playground Operational

Explore PhytoScan in the Interactive Workbench

Inspect the complete 38-class PlantVillage taxonomy with crop filters, condition cards, and authentic class index mappings.

Explore Crop Pathology Taxonomy →