Air Quality Prediction & Pollution Hotspot Mapper
Build a pipeline that ingests public air-quality sensor data, forecasts PM2.5/AQI with uncertainty, and maps pollution hotspots — informational environmental...
Build a beginner-friendly image classifier that triages crop and leaf photos into disease classes with confidence scores — a transfer-learning computer-vision project with an honest screening-aid boundary.

A computer-vision project that classifies photos of crop leaves into disease categories (or a healthy class) using a fine-tuned convolutional neural network, and presents each prediction with a confidence score so a human can decide what to do next. The workflow is the classic image-classification pipeline — preprocessing, dataset preparation, augmentation, training, validation, testing, prediction — implemented with standard Python libraries and a pre-trained model, which keeps it achievable as a first machine-learning project.
>Predictions are screening aids, not diagnoses. A model output is a statistical guess based on the images it was trained on; it can be wrong, and it should never be treated as an authoritative agronomic diagnosis. This project does not recommend pesticides, chemicals, or treatments, and it never claims to guarantee crop protection or yield. Its job is to flag which leaves deserve a closer, expert look.
Crop diseases spread quickly, and early symptoms are easy to miss. A farmer walking a large field cannot inspect every leaf; expert agronomists are scarce and expensive; and by the time a problem is obvious by eye, it has often already spread. What’s missing for most growers is a cheap first-pass screening tool: photograph a leaf, get a fast indication of whether it looks diseased and how confident the model is, and use that to decide which plants warrant a closer, expert look. Image classification is the right tool for this because the question is inherently visual — and modern transfer learning makes it feasible for a student project rather than a research lab.
The project starts from a public, labeled plant-image dataset — for example PlantVillage, a widely used public collection of leaf photos labeled with diseases and a healthy class. Images are organized into folders by class, and the dataset is split into train / validation / test sets before any training, using a class-balanced split so every disease appears in all three partitions.
Each image is resized to the input size the pre-trained model expects (for example, 224×224), normalized with the model’s expected channel statistics, and converted to batches. Augmentation — random flips, rotations, slight brightness and contrast shifts — is applied to the training set only, which teaches the model to be robust to how a photo was actually taken in the field (different angles, lighting, phone cameras). Test and validation images are not augmented, so evaluation measures the model on realistic, unmodified photos.
Instead of training a network from scratch, the project starts from a model pre-trained on a large general image collection (for example, a ResNet or EfficientNet backbone), replaces the final classification layer with one matching the project’s classes, and fine-tunes. This is the transfer-learning step that makes the project feasible on a laptop: most of the visual understanding is already learned, and the fine-tune teaches it the specifics of leaf textures and disease patterns.
Training runs in epochs over the augmented training set; after each epoch the model is evaluated on the held-out validation set. Because plant-disease classes are often imbalanced (some diseases are far more common in the dataset than others), accuracy alone is misleading — the project tracks per-class precision, recall, and F1 alongside overall accuracy, and watches validation metrics to stop before the model starts memorizing the training set (overfitting).
The held-out test set — images the model never saw during training or validation — produces the final evaluation: a confusion matrix showing which classes are confused with which, and per-class precision/recall/F1. The confusion matrix is where the project learns its honest limits: if two similar-looking diseases are routinely confused, that is a finding to report, not hide.
A small inference path loads the trained model and classifies a new photo, returning the predicted class plus the model’s confidence (the softmax probability) for every class, not just the top one. The UI shows the top predictions with their probabilities and marks low-confidence cases as “uncertain — check manually,” because a leaf photo taken in bad light deserves a different response than a clean, high-confidence one.
A simple results screen (or notebook) shows the image, the predicted classes with probabilities, and a per-class performance summary. A brief model card records the dataset, split, metrics, and known confusions so anyone reading the results understands what the model can and cannot do.
Multi-class severity grading, a phone-camera capture flow, and per-plant multi-leaf analysis are natural second-phase additions.
This project is the site’s first agricultural computer-vision Idea, and it sits in the CV family as a distinct job. The AI-Powered Campus Attendance via Facial Recognition classifies people — detecting and matching faces for attendance — and the Medical Image Annotation Tool for Researchers builds annotation workflows for researchers labeling medical images. This project classifies plant leaves to triage crop disease: a different subject, a different objective (screening field photos for expert review rather than identity or labeling), and a different audience (farmers and agronomy students rather than institutions or ML research teams). All three share the computer-vision foundation and the responsible-use framing — but #051 is agricultural plant-disease triage, not facial recognition and not medical annotation. It also follows the dataset-first research pattern of the Open-Source Medical Dataset Explorer for AI Researchers, which tackles the same “find a good public dataset and understand its limits” problem for medical data that this project faces for plant data.
| Tool type | Approach | Limitation |
|———–|———-|————|
| Research-grade plant disease models | Large curated models from ag-tech labs | Not something a student can build or inspect end to end |
| Mobile “plant doctor” apps | Cloud photo diagnosis | Opaque, often unverifiable, sometimes diagnosis claims |
| Generic image classifiers | Any pre-trained model applied to photos | No plant-specific training, no honest per-class reporting |
| Manual scouting | Human experts walk fields | Expensive and scarce |
This project’s differentiators: a fully transparent student-buildable pipeline, per-class evaluation and confusion analysis, a confidence-aware screening boundary, and an explicit no-treatment-recommendation rule.
Browse more Project Ideas · Beginner Ideas
Build a pipeline that ingests public air-quality sensor data, forecasts PM2.5/AQI with uncertainty, and maps pollution hotspots — informational environmental...
Build a computer-vision pipeline that classifies camera frames into fog and visibility levels with confidence — a prototype visibility-monitoring system...
A research tool for exploring and comparing crop trait and germplasm data from public agricultural databases — normalized schemas, provenance...
Ready to level up? These ideas offer more complexity:
Published on September 9, 2026
A team of developers, researchers, and innovators who review and publish practical ideas for builders and creators.
Published on September 9, 2026
A team of developers, researchers, and innovators who review and publish practical ideas for builders and creators.