Classification of Soil Images Using Convolutional Neural Network

Girish D. Chate S.S. Bhamare

Journal: International Journal of Image, Graphics and Signal Processing @ijigsp

Article in issue: 5 vol.17, 2025.

Free access

Soil image classification plays a crucial role in agricultural and environmental practices. Traditional methods of soil classification often involve manual labor, which can be time-consuming and prone to human error. Recent advances in computer vision and machine learning have opened new horizons for automating this classification process. This research paper presents a comprehensive study and evaluates the performance of four convolutional neural network (CNN) architectures a custom CNN, ResNet50, InceptionV3, and MobileNetV2 on a custom soil image dataset comprising 1800 labelled images across four soil classes such as Black, Laterite, Red and White. The dataset created using smartphone camera to captured images under varying natural conditions. The objective of this work is to explore the effectiveness and accuracy of different machine learning algorithms used in categorizing soil types based on visual data. Each model’s performance is evaluated in terms of classification accuracy, precision, recall, and F1-score. Results indicate that ResNet50 achieves the highest accuracy 97.3%, followed closely by MobileNetV2 94.7%. The custom CNN, while computationally efficient, achieved 88.2%. We conclude that transfer learning with deep CNNs is highly effective for soil classification, and MobileNetV2 is a strong recommended for mobile applications. The comparative analysis demonstrates their effectiveness in distinguishing between different soil types, textures, and compositions. It also highlights how important it is to select the appropriate CNN architectures for certain tasks related to soil classification. This work belongs to the increasing collection of information at the interface between soil science and computer vision. It offers a strategy to apply sophisticated deep learning-based algorithms to assess soil type more reliably and effectively, serving as a springboard for future research in the field of soil image analysis and classification.

Agriculture \ Soil Image \ Soil Classification \ CNN \ ResNet50 \ InceptionV3 \ MobileNetV2 \ Machine Learning

Similar articles in the section Agriculture in general

Ensembles of spectral-spatial convolutional neural network models for classifying soil types in hyperspectral images
Ensembles of spectral-spatial convolutional neural network models for classifying soil types in hyperspectral images

Firsov Nikita Aleksandrovich, Podlipnov Vladimir Vladimirovich, Ivliev Nikolay Aleksandrovich, Ryskova Darya Dmitrievna, Pirogov Artem Vladimirovich, Muzyka Artem Alekseevich, Makarov Andrey Romanovich, Lobanov Valeriy Evgenievich, Platonov Vladimir Igorevich, Babichev Alexandr Nikolaevich, Monastyrskiy Valeriy Alekseevich, Olgarenko Vladimir Igorevich, Nikolaev Petr Petrovich, Skidanov Roman Vasilevich, Nikonorov Artem Vladimirovich, Kazanskiy Nikolay Lvovich, Soyfer Victor Aleksandrovich

Neural network-aided classification of hyperspectral vegetation images with a training sample generated using an adaptive vegetation index
Neural network-aided classification of hyperspectral vegetation images with a training sample generated using an adaptive vegetation index

Firsov Nikita Aleksandrovich, Podlipnov Vladimir Vladimirovich, Ivliev Nikolay Aleksandrovich, Nikolaev Petr Petrovich, Mashkov Sergey Vladimirovich, Ishkin Pavel Aleksandrovich, Skidanov Roman Vasilyevich, Nikonorov Artyom Vladimirovich

Short address: https://sciup.org/15019978

IDS: 15019978   |   DOI: 10.5815/ijigsp.2025.05.03