Recent machine learning models are capable of automated identification of plant diseases from digital photographs. When combined with drones and high-quality cameras, such models can reduce the time and effort needed to monitor large fields.

tomatoes-1561565_1920

However, even the latest algorithms struggle under specific challenging conditions. One notable example is the effect of background interference on disease classification results. In some cases, diseased leaves acquire a colour similar to that of soil, which tends to confuse the automatic classifier, particularly when the affected areas are on the edges of the leaves. Other problems include the variability of symptoms caused by a single disease and the similarities that exist between different diseases.

In a new study, a team of researchers set out to develop a model that could handle these challenges. They focused on five common diseases that affect tomato leaves and developed a machine learning model, called PLPNet, that can accurately detect these diseases from images taken in real-time. The study, led by Professor Guoxiong Zhou from China’s Central South University of Forestry and Technology, was recently published in Plant Phenomics.

Training dataset

The team first focused on producing a good dataset to train the model. To this end, they gathered images from an open, but rather outdated, dataset called ‘Plant Village’. They thoroughly analyzed the images and eliminated the ones that would not make good training candidates, such as blurry or inadequately lit pictures.

In addition to the final 3,524 images they obtained from Plant Village, the team also downloaded another 1,909 images from the internet. Finally, a careful labelling of all images was performed to identify each lesion on the leaves.

Next, the team designed the network architecture of PLPNet. They used three distinct techniques that, by working together, led to the highest classification accuracy. The first was a perceptual adaptive convolution (PAC) backbone, which helped the model extract the most defining characteristics of each disease by adjusting the ‘focus’ of the network when analyzing an image.

The second was a location reinforcement attention mechanism (LRAM) module, which helped detect diseases on leaf edges and filtered out background interference. The third module was a proximity feature aggregation network (PFAN) implementing switchable atrous convolution and deconvolution. This structure helped the model learn the smallest detail for each disease, which massively improved its performance in disease detection and classification.

Promising results

The team thoroughly tested their model after training and analyzed the performance gained by each of its parts. They also compared the performance of PLPNet against many other state-of-the-art models for plant disease detection. The results were extremely promising, as PLPNet achieved an accuracy of 94.5% at a speed of over 25 frames per second, rendering it suitable for field use.

“PLPNet significantly enhances the accuracy of detection while maintaining the standard detection speed. Consequently, it outperforms other testing models and demonstrates the effectiveness of our enhanced approach,” Professor Zhou said.

Tomatoes are widely cultivated worldwide and are of major economic importance. The team expects PLPNet to have a positive impact on their cultivation, reducing the burden of financial losses caused by diseased tomato plants.

“This research can assist producers in detecting tomato leaf diseases in a timely and precise manner, as well as in making specific controls based on the kind of disease detected,” concludes Prof. Zhou, “This provides a new reference for deep learning in ensuring modern tomato agriculture.”