A comprehensive review on soil classification using deep learning and computer vision techniques


Soil classification is one of the major affairs and emanating topics in a large number of countries. The population of the world is rising at a majorly rapid pace and along with the increase in population, the demand for food surges actively. Typical techniques employed by the farmers are not adequate enough to fulfill the increasing requirements and therefore they have to hinder the cultivating soil. For proper crop yield, farmers should be aware of the correct soil type for a particular crop, which affects the increased demand for food. There are various laboratory and field methods to classify soil, but these have limitations like time and labor-consuming. There is a requirement of computer-based soil classification techniques which will help farmers in the field and won’t take a lot of time. This paper talks about different computer-based soil classification practices divided into two streams. First is image processing and computer vision-based soil classification approaches which include the conventional image processing algorithms and methods to classify soil using different features like texture, color, and particle size. Second is deep learning and machine learning-based soil classification approaches, such as CNN, which yields state-of-the-art results. Deep learning applications mostly diminish the dependency on spatial-form designs and preprocessing techniques by facilitating the end-to-end process. This paper also presents some databases created by the researchers according to the objective of the study. Databases are created under different environmental and illumination conditions, using different appliances such as digital cameras, digital camcorder, and a smartphone camera. Also, evaluation metrics are briefly discussed to layout some graded measures for differentiation. This review serves as a brief guide to new researchers in the field of soil classification, it provides fundamental understanding and general knowledge of the modern state-of-the-art researches, in addition to skillful researchers considering some dynamic trends for future work.

This is a preview of subscription content, access via your institution.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12


  1. 1.

    Ajdadi FR, Gilandeh YA, Mollazade K, Hasanzadeh RPR (2016) Application of machine vision for classification of soil aggregate size. Soil Tillage Res 162:8–17

    Article  Google Scholar 

  2. 2.

    Aydemir S, Keskin S, Drees LR (2004) Quantification of soil features using digital image processing (DIP) techniques. Geoderma 119:1–8

    Article  Google Scholar 

  3. 3.

    Aziz MM, Ahmed DR, Ibrahim BF (2016) Determine the Ph. Of soil by using neural network based on Soil’s colour. Int J Advanced Res Comput Sci Software Eng 11:51–54

    Google Scholar 

  4. 4.

    Azizi A, Gilandeh YA, Mesri-Gundoshmian T, Saleh-Bigdeli AA, Moghaddam HA (2020) Classification of soil aggregates: a novel approach based on deep learning. Soil Tillage Res 199:104586

    Article  Google Scholar 

  5. 5.

    Barman U, Choudhury RD (2020) Soil texture classification using multi-class support vector machine. Inf Process Agric 7(2):318–332

    Google Scholar 

  6. 6.

    Barman U, Choudhury RD, Talukdar N, Deka P, Kalita I, Rahman N (2018) Predication of soil pH using HSI colour image processing and regression over Guwahati, Assam, India. Journal of Applied and Natural Science 10(2):805–809

    Article  Google Scholar 

  7. 7.

    Barman U, Choudhury RD, Uddin I (2019) Predication of Soil pH using K mean Segmentation and HSV Color Image Processing. 6th Int. Conf. Comput. Sustain. Glob. Dev. INDIACom.

  8. 8.

    Bogrekci I, Godwin RJ (2007) Development of an image-processing technique for soil tilth sensing. Biosyst Eng 97:323–331

    Article  Google Scholar 

  9. 9.

    Botelho M, Dalmolin R, Pedron F, Azevedo A, Rodrigues R, Miguel M (2006) Color measurement in soils from Rio Grande do Sul state with Munsell charts and by colorimetry. Cienc Rural 36:1179–1185

    Article  Google Scholar 

  10. 10.

    Breul P, Gourves R (2006) In field soil characterization: approach based on texture image analysis. Journal of Geotechnical and Geoenvironmental Engineering 132(1):102–107

  11. 11.

    Brungard CW, Boettinger JL, Duniway MC, Wills SA, Edwards TC (2015) Geoderma machine learning for predicting soil classes in three semi-arid landscapes. Geoderma 239–240:68–83

    Article  Google Scholar 

  12. 12.

    Chandan Thakur R (2018) Recent Trends Of Machine Learning In Soil Classification: A Review. International Journal of Computational Engineering Research. 25–32.

  13. 13.

    Chu J, Guo Z, Leng L (2018) Object detection based on multi-layer convolution feature fusion and online hard example mining. IEEE Access 6:19959–19967

    Article  Google Scholar 

  14. 14.

    Chung SO, Cho KH, Cho JW, Jung KY, Yamakawa T (2012) Soil texture classification algorithm using RGB characteristics of soil images. J Fac Agric Kyushu Univ 57:393–397

    Google Scholar 

  15. 15.

    de O. Morais PA, Souza DM, de M. Carvalho MT, Madari BE, de Oliveira AE (2019) Predicting soil texture using image analysis. Microchem. J. 146:455–463

    Article  Google Scholar 

  16. 16.

    DORNIK A, DRĂGUŢ L, URDEA P (2018) Classification of soil types using geographic object-based image analysis and random forests. Pedosphere 28:913–925

    Article  Google Scholar 

  17. 17.

    Ehret B (2010) Pattern recognition of geophysical data. Geoderma 160(1):111–125

    Article  Google Scholar 

  18. 18.

    Gurubasava, Mahantesh SD (2018) Analysis of Agricultural soil pH using Digital Image Processing. 6, 1812–1816

  19. 19.

    Han P, Dong D, Zhao X, Jiao L, Lang Y (2016) A smartphone-based soil color sensor: for soil type classification. Comput Electron Agric 123:232–241

    Article  Google Scholar 

  20. 20.

    Heung B, Chak H, Zhang J, Knudby A, Bulmer CE, Schmidt MG (2016) Geoderma an overview and comparison of machine-learning techniques for classi fi cation purposes in digital soil mapping. Geoderma 265:62–77

    Article  Google Scholar 

  21. 21.

    Honawad PSK, Chinchali PSS, Pawar PK, Deshpande PP (2017) Soil Classification and Suitable Crop Prediction. 25–29

  22. 22.

    Kovačević M, Bajat B, Gajić B (2010) Soil type classification and estimation of soil properties using support vector machines. Geoderma 154:340–347

    Article  Google Scholar 

  23. 23.

    Leng L, Zhang J (2012) Palmhash code for palmprint verification and protection. 25th IEEE Canadian Conference on Electrical and Computer Engineering (CCECE). IEEE

  24. 24.

    Leng L, Zhang J (2013) Palmhash code vs palmphasor code. Neurocomput 108(1–2)

  25. 25.

    Leng L, Zhang J, Xu J, Khan MK, Alghathbar K (2010) Dynamic weighted discrimination power analysis in DCT domain for face and palmprint recognition. International conference on information and communication technology convergence (ICTC). 467–471

  26. 26.

    Leng L, Zhang J, Chen G, Khan MK, Alghathbar K (2011) Two-directional two-dimensional random projection and its variations for face and palmprint recognition. Int Confer Computation Sci Appl:458–470

  27. 27.

    Leng L, Zhang S, Bi X, Khan MK (2012) Two-dimensional cancelable biometric scheme. International Conference on Wavelet Analysis and Pattern Recognition. IEEE. pp. 164–169

  28. 28.

    Leng L, Li M, Teoh ABJ (2013) Conjugate 2DPalmHash code for secure palm-print-vein verification. International congress on image and signal processing (CISP) IEEE. pp. 705–1710

  29. 29.

    Leng L, Li M, Kim C, Bi X (2017) Dual-source discrimination power analysis for multi-instance contactless palmprint recognition. Multimed Tools Appl 76:333–354

    Article  Google Scholar 

  30. 30.

    Leng L, Yang Z, Kim C, Zhang Y (2020) A Light-Weight Practical Framework for Feces Detection and Trait Recognition. Sensors 20(9):2644

    Article  Google Scholar 

  31. 31.

    Ließ M, Glaser B, Huwe B (2012) Geoderma uncertainty in the spatial prediction of soil texture comparison of regression tree and random Forest models. Geoderma 170:70–79

    Article  Google Scholar 

  32. 32.

    Maniyath SR, Hebbar R, Akshatha KN, Architha LS, Rama Subramoniam S (2018) Soil color detection using Knn classifier. Proc. - 2018 Int. Conf. Des. Innov. 3Cs Comput. Commun. Control. ICDI3C 2018:52–55

    Google Scholar 

  33. 33.

    Mengistu AD, Alemayehu DM (2018) Soil characterization and classification: a hybrid approach of computer vision and sensor network. Int J Electr Comput Eng 8:989–995

    Google Scholar 

  34. 34.

    Murti GSRK, Satyanarayana KVS (1971) Influence of chemical characteristics in the development of soil colour. Geoderma 5:243–248

    Article  Google Scholar 

  35. 35.

    O’Donnell TK, Goyne KW, Miles RJ, Baffaut C, Anderson SH, Sudduth KA (2010) Identification and quantification of soil redoximorphic features by digital image processing. Geoderma 157:86–96

    Article  Google Scholar 

  36. 36.

    Ok S, Hyun K, Youl K (2012) Texture Classification Algorithm Using RGB Characteristics of Soil Images 57, 393–397

  37. 37.

    Pethkar S (2018) Classification of soil image using feature extraction. Int J Res Appl Sci Eng Technol 6:819–823

    Article  Google Scholar 

  38. 38.

    Protz R, Sweeney SJ, Fox CA (1992) An application of spectral image analysis to soil micromorphology, 1. Methods Anal 53:275–287

    Google Scholar 

  39. 39.

    Rahman SAZ, Mitra KC, Islam SM (2018) Soil classification using machine learning methods and crop suggestion based on soil series. International Conference of Computer and Information Technology (ICCIT). IEEE. pp. 1–4

  40. 40.

    Rao A, Abhishek JU, Manjunatha GNS, Beham R (2016) Machine Learn Soil Classific Crop Detect 4:792–794

    Google Scholar 

  41. 41.

    Sharma HK, Kumar S (2018) Soil Classification & Characterization Using Image Processing. 2018 Second International Conference on Computing Methodologies and Communication (ICCMC). pp. 885–890

  42. 42.

    Shenbagavalli R, Ramar K (2011) Classification of soil textures based on Laws features extracted from preprocessing images on sequential and random windows. Bonfring Int J Adv Image Process 1:15–18

    Article  Google Scholar 

  43. 43.

    Shenbagavalli R, Ramar K (2014) Feature extraction of soil images for retrieval based on statistics. Int J Comput Appl 88:8–12

    Google Scholar 

  44. 44.

    Shukla G, Garg RD, Srivastava HS, Garg PK (2018) An effective implementation and assessment of a random forest classifier as a soil spatial predictive model. Int J Remote Sens 39:2637–2669

    Article  Google Scholar 

  45. 45.

    Sofou A, Evangelopoulos G, Maragos P (2005) Soil image segmentation and texture analysis: a computer vision approach. Geoscience and Remote Sensing Letters 2(4):394–398

    Article  Google Scholar 

  46. 46.

    Srunitha K, Padmavathi S (2016) Performance of SVM classifier for image based soil classification. Int. Conf. on Signal Processing, Communication, Power and Embedded System. SCOPES: 411–415

  47. 47.

    Suchithra MS, Pai ML (2020) Improving the prediction accuracy of soil nutrient classification by optimizing extreme learning machine parameters. Inf Process Agric 7(1):72–82

    Google Scholar 

  48. 48.

    Sudarsan B, Ji W, Adamchuk V, Biswas A (2018) Characterizing soil particle sizes using wavelet analysis of microscope images. Comput Electron Agric 148:217–225

    Article  Google Scholar 

  49. 49.

    Taghizadeh-Mehrjardi R, Nabiollahi K, Minasny B, Triantafilis J (2015) Comparing data mining classifiers to predict spatial distribution of USDA-family soil groups in Baneh region. Geoderma 253:67–77

    Article  Google Scholar 

  50. 50.

    Terribile F, FitzPatrick EA (1992) The application of multilayer digital image processing techniques to the description of soil thin sections. Geoderma 55:159–174

    Article  Google Scholar 

  51. 51.

    VandenBygaart AJ, Protz R (1999) The representative elementary area (REA) in studies of quantitative soil micromorphology. Geoderma 89(3–4):333–346

    Article  Google Scholar 

  52. 52.

    Wei PG, Sheng WQ (2013). Prediction of soil organic matter using artificial neural network and topographic indicators in hilly areas. Nutr Cycling Agroecosyst. pp. 333–344.

  53. 53.

    Wu W, Di Li A, He XH, Ma R, Liu H, Bin Liv JK (2018) A comparison of support vector machines, artificial neural network and classification tree for identifying soil texture classes in southwest China. Comput Electron Agric 144:86–93

    Article  Google Scholar 

  54. 54.

    Yang Z, Leng L, Kim BG (2019) StoolNet for Color Classification of Stool Medical Images. Electronics 8(12):1464

    Article  Google Scholar 

  55. 55.

    Yu Y, Xu T, Shen Z, Zhang Y, Wang X (2019) Compressive spectral imaging system for soil classification with three-dimensional convolutional neural network. Opt Express 27:23029–23048

    Article  Google Scholar 

  56. 56.

    Zádorová T, Pení V, Va R, Daniel Ž (2015) Colluvial soils as a soil organic carbon pool in different soil regions. Geoderma 254:122–134

    Article  Google Scholar 

  57. 57.

    Zhang Y, Hartemink AE (2019) Digital mapping of a soil profile. Eur J Soil Sci 70:27–41

    Article  Google Scholar 

  58. 58.

    Zhang X, Younan NH, King RL (2003) Soil texture classification using wavelet transform and Maximum Likelihood Approach. 7929–7931

  59. 59.

    Zhang X, Younan NH, O’Hara CG (2005) Wavelet domain statistical hyperspectral soil texture classification. IEEE Trans Geosci Remote Sens 43:615–618

    Article  Google Scholar 

  60. 60.

    Zhang Y, Chu J, Leng L, Miao J (2020) Mask-refined R-CNN: a network for refining object details in instance segmentation. Sensors 20(4):1010

    Article  Google Scholar 

  61. 61.

    Zhao Z, Lien T, Rees HW, Yang Q, Xing Z, Meng F (2008) Predict soil texture distributions using an artificial neural network model 5, 36–48

Download references


This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

Author information



Corresponding author

Correspondence to Pallavi Srivastava.

Ethics declarations

Declaration of interest

The authors declare that they have no conflict of interest.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Srivastava, P., Shukla, A. & Bansal, A. A comprehensive review on soil classification using deep learning and computer vision techniques. Multimed Tools Appl (2021). https://doi.org/10.1007/s11042-021-10544-5

Download citation


  • Soil classification
  • Deep learning
  • Convolutional neural network
  • Computer vision
  • Soil science