CS 663 Computer Vision • Project 1

Plant Disease Detection Using Mobile Images and Video

Module 6: Case Study • Plant Doctor Hybrid Video Analysis System

By Mahitha Rangineni • M.S. Computer Science • California State University, East Bay

Case Study: Plant Doctor

Paper Reference

Title: “Plant Doctor: A hybrid machine learning and image segmentation software to quantify plant damage in video footage” [5]
Authors: Montagut Marques, M. J., Mingxin, L., Shiojiri, K. T., Hagiwara, T., Hirose, K., Shiojiri, K., & Umezu, S.
Journal: Measurement, vol. 249, article 117094, 2025.

Research Goal: Plant Doctor was developed to monitor plant health automatically using video footage, without needing to pick leaves or take them to a lab. The researchers tested the system on urban plants and trees in Tokyo. The main goal was to create a non-invasive way to track plant health repeatedly over time using accessible video [5].

System Architecture

Plant Doctor combines three computer vision models into one pipeline:

1. YOLOv8 — Leaf Detection

YOLOv8 detects leaves in each video frame and draws bounding boxes around them. The authors chose YOLOv8 because it provides a good balance between accuracy and detection speed.

2. DeepSORT — Leaf Tracking

After leaves are detected, DeepSORT tracks each leaf across consecutive frames. It assigns a unique ID to each leaf so the system knows when the same leaf appears in multiple frames, avoiding duplicate counts.

3. Best-ROI Selection

Because camera movement can cause blur or bad angles, the software evaluates all views of a tracked leaf and picks the single clearest region of interest (ROI) for segmentation.

4. DeepLabV3+ — Damage Segmentation

The best view of the leaf is passed to DeepLabV3+, which segments the damaged spots (caused by pests, fungi, or bacteria) and calculates the percentage of the leaf affected.

Pipeline Summary

Video Input → YOLOv8 Leaf Detection → DeepSORT Tracking → Best Frame Selection → DeepLabV3+ Segmentation → Damage Ratio [5].

Dataset and Training

The researchers trained the YOLOv8-PD leaf detection model on 4,595 total images from three sources:

For the damage segmentation model, the authors created a dataset of 124 manually annotated sick-leaf images to train DeepLabV3+ [5].

Reported Results

Here are the main results reported in the paper:

Metric Result Notes
YOLO mAP@0.5 ≈ 0.99 YOLOv8-PD (reached at epoch 12 vs 39 for baseline)
YOLO mAP@0.5:0.95 0.954 YOLOv8-PD (baseline YOLOv8 reached 0.944)
Leaf IoU 0.96 DeepLabV3+ Plant Doctor (DLV3P-PD)
Damage IoU 0.76 DeepLabV3+ Plant Doctor (DLV3P-PD)
1-Minute Video Processing Time ≈ 50 minutes Total pipeline runtime on experimental hardware

Breakdown of the 50-Minute Video Processing Time

Processing a 1-minute video took about 50 minutes:

  • 13 minutes: Extracting leaf regions of interest using YOLO.
  • 16 minutes: Tracking leaves and picking the clearest view for each leaf.
  • 21 minutes: Segmenting damaged areas and calculating the damage ratio.

Important Findings and Limitations

This study highlights two key lessons for computer vision projects:

1. Why Damage Segmentation Is Harder Than Leaf Detection

The model achieved high accuracy for detecting leaves (mAP@0.5 ≈ 0.99) and segmenting whole leaves (IoU = 0.96), but damage segmentation was lower (IoU = 0.76).

2. The 50-Minute Video Processing Limitation

A 1-minute video taking 50 minutes means the current implementation is not real-time. This shows an important point: a detection model can be very accurate while the full video pipeline remains too slow for real-time mobile use.

3. Where the Pipeline Can Fail

Lessons for Mobile Deployment

To make a system like Plant Doctor practical on a phone or drone:

Comparison with Other Research

Iftikhar et al. 2024 [2] Plant Doctor 2025 [5]
Input Single image Video
Method Enhanced CNN (classification) YOLOv8 + DeepSORT + DeepLabV3+
Data PlantVillage (apple, corn, potato) 4,595 images (mostly smartphone)
Result 98.17% accuracy mAP@0.5 ≈ 0.99, damage IoU 0.76
Speed ∼10 s per image in mobile app ∼50 min per 1-minute video
Location / severity? No Yes

The single-image CNN from Iftikhar et al. [2] is fast and very accurate on clean lab images, but it only gives one label per photo. Plant Doctor [5] works on real-world video and measures how much of each leaf is damaged. However, it is much slower and is not yet fast enough for real-time use.

Why This Case Study Matters

Plant Doctor is a great example for this tutorial because it moves beyond single still images to multi-view video. It shows how detection, tracking, and segmentation can work together, while also giving honest data about processing time and real-world challenges [5].

Audio Guide

Module Narration

A 1–2 minute audio breakdown of the Plant Doctor case study, reported results, and processing-time bottlenecks.

🎧
Audio Narration (audio/case-study-audio.mp3) Audio recording scheduled. The media player will activate automatically once the audio file is uploaded to the repository.