Edge AI system estimates grapevine leaf damage in real time

DefoliationCAM: An Edge-AI System for Real-Time Insect Defoliation Severity Assessment in Grapevines

Computer Vision and Pattern Recognition

Summary

Insect damage to grapevine leaves can hurt the plants and reduce grape yields, but checking how bad the damage is usually requires people to look and judge by eye. The authors built a solar-powered, smart camera system called DefoliationCAM that takes high-resolution pictures of grapevine leaves and uses AI to figure out how much leaf loss there is. It sends this information wirelessly to a web dashboard so farmers can check remotely and decide if more detailed inspection or treatment is needed. The system runs quickly and was tested successfully in a real vineyard for several weeks.

What this means in practice

  • For vineyard managers: Monitor vineyard leaf damage remotely and frequently to decide when to send scouts or apply insecticides based on objective AI analysis.
  • For precision agriculture teams: Deploy autonomous edge AI units with solar power and low-bandwidth transmission for real-time crop health monitoring under field conditions.

Authors

Fuchen Li, Wei-Zhen Liang, Pin-Chu Lai, Xin Qiao, Jingqiu Chen, Haw Yen, Zonglin Yanga, Chi-En Chiang, Rudolph Avalos, Abbigail L. Rath

Abstract

Insect-induced defoliation threatens grapevine health and yield, yet severity assessment relies on subjective manual scouting. We developed DefoliationCAM (D-CAM), a solar-powered edge AI system that estimates canopy defoliation and transmits results via LoRa to a web dashboard. The pipeline uses YOLOX-Nano to localize grapevine cordons in 4K images and a MobileNet-based classifier with lightweight channel attention to classify 320 x 320 pixel patches. The 29,674 field-collected patches were labeled as background or one of four damage levels: no to negligible, mild, moderate, and severe. Merging moderate and severe classes reduced the class imbalance ratio from approximately 40:1 to 8.8:1. Synthetic augmentation increased macro-F1 from 0.768 to 0.838. The classifier outperformed ResNet-50 in macro-F1 with fewer parameters (1.08 M versus 23.52 M). Patch predictions were aggregated into a canopy-level Non-linear Global Defoliation Severity (NGDS) score and validated against an entomologist's ratings of 86 held-out canopy images. Quadratic discriminant analysis identified boundaries of 9% and 29% separating negligible damage, mild damage requiring monitoring, and action-level damage warranting on-site scouting and insecticide treatment consideration. The 29% boundary aligned with the 25%-30% action threshold range for Japanese beetle management in grapevine. Using TensorRT FP16 on an NVIDIA Jetson Orin Nano, the pipeline processed each 4K image in approximately 1.5 s, with a complete operating cycle of 57-60 s. A five-week deployment of two field units demonstrated the feasibility of autonomous solar-powered operation, LoRa communication, and remote defoliation monitoring. D-CAM supports frequent, objective canopy damage assessment for targeted scouting and timely pest-management decisions.