Rice Growth Stage Classification via RF-Based Machine Learning and Image Processing

Rice is one of the most significant crops cultivated in Asian countries. In Taiwan, almost half of the arable land is used for growing rice. The life cycle of paddy rice can be divided into several stages: vegetative stage, reproductive stage, and ripening stage. These three main stages can be divided into more detailed stages. However, the transitions between stages are challenging to observe and determine, so experience is required. Thus, rice cultivation is challenging for inexperienced growers, even with the standard of procedure (SOP) provided. Additionally, aging and labor issues have had an impact on agriculture. Furthermore, smart farming has been growing rapidly in recent years and has improved agriculture in many ways. To lower the entry requirements and help novices better understand, we proposed a random forest (RF)-based machine learning (ML) classification model for rice growth stages. The experimental setup installed in the experiment fields consists of an HD smart camera (Speed-dome) to collect the image and video data, along with other internet of things (IoT) devices such as 7-in-1 soil sensors, a weather monitoring station, flow meter, and milometer connected with LoRa base station for numerical data. Then, different image processing techniques such as object detection, object classification, instance segmentation, excess green index (EGI), and modified excess green index (EGI) were used to calculate the paddy height and canopy cover (CC) or green coverage (GC). The proposed ML model uses these values as input. Furthermore, growth-related factors such as height, CC, accumulative temperature, and DAT are used to develop our model. An agronomist has been consulted to label the collected different stages of data. The developed optimal model has achieved an accuracy of 0.98772, and a macro F1-score of 0.98653. Thus, the developed model produces high-performance accuracy and can be employed in real-world scenarios.