Recent advances in artificial intelligence and computer vision have led to significant progress in the use of agricultural technologies for yield prediction, pest detection, and real-time monitoring of plant conditions. However, collecting large-scale, high-quality image datasets in the agriculture sector remains challenging, particularly for specialized datasets such as plant disease images. This study analyzed the effects of the image size (320–640+) and the number of labels on the performance of a YOLO-based object detection model using diverse agricultural datasets for strawberries, tomatoes, chilies, and peppers. Model performance was evaluated using the intersection over union and average precision (AP), where the AP curve was smoothed using the Savitzky–Golay filter and EEM. The results revealed that increasing the number of labels improved the model performance to a certain degree, after which the performance gradually diminished. Furthermore, while increasing the image size from 320 to 640 substantially enhanced the model performance, additional increases beyond 640 yielded only marginal improvements. However, the training time and graphics processing unit usage scaled linearly with increasing image sizes, as larger size images require greater computational resources. These findings underscore the importance of an optimal strategy for selecting the image size and label quantity under resource constraints in real-world model development.
Soil water content (SWC) critically governs the physical and mechanical behavior of soils. However, conventional methods such as oven drying are laborious, time-consuming, and difficult to replicate in the field. To overcome these limitations, we developed an image-based interpolation framework that leverages histogram statistics from 12 soil surface photographs spanning 3.83% to 19.75% SWC under controlled lighting. For each image, pixel-level values of red, green, blue (RGB) channels and hue, saturation, value (HSV) channels were extracted to compute per-channel histograms, whose empirical means and standard deviations were used to parameterize Gaussian probability density functions. Linear interpolation of these parameters yielded synthetic histograms and corresponding images at 1% SWC increments across the 4–19% range. Validation against the original dataset, using dice score (DS), Bhattacharyya distance (BD), and Earth Mover’s Distance (EMD) metrics, demonstrated that the interpolated images closely matched observed color distributions. Average BD was below 0.014, DS above 0.885, and EMD below 0.015 for RGB channels. For HSV channels, average BD was below 0.074, DS above 0.746, and EMD below 0.022. These results indicate that the proposed method reliably generates intermediate SWC data without additional direct measurements, especially with RGB. By reducing reliance on exhaustive sampling and offering a cost-effective dataset augmentation, this approach facilitates large-scale, noninvasive soil moisture estimation and supports machine learning applications where field data are scarce.