Color is an important property of soil that indicates soil composition and fertility. Soil organic matter (SOM) of darker color soils, which have rich humus and minerals, is higher than others such as red soils. The aim of this study is to construct models to predict SOM for a range of colors using a smartphone as an image-capturing device. Random forest of classification (RFC), random forest of logical regression (RFLR), convolutional neural network (CNN) and MobileNet models are compared, which is better for SOM prediction. Soil photos were collected by smartphone in a camera obscura with a steady light. After treatment by OpenCV, photos were separated by SOM content into five groups. The prediction accuracies of RFC, RFLR, CNN and MobileNet were 0.9743, 0.5614, 0.9600 and 0.7915, respectively. Based on these results, the RFC model for SOM has the best performance both in training and validation. The proposed combination of smartphone and machine learning-based prediction models provide a fast, economic, and robust approach to monitor, detect, and predict SOM contents in precision and intelligence agriculture.
Read full abstract