International Journal of Advances in Applied Sciences (IJAAS) Vol. No. June 2026, pp. ISSN: 2252-8814. DOI: 10. 11591/ijaas. Comparison of thermal and non-thermal images for tomato fruit detection Sulfayanti Faharuddin Situju1. Wawan Firgiawan1,2. Hironori Takimoto3 Department of Informatics. Faculty of Engineering. Universitas Sulawesi Barat. Mamuju. Indonesia Artificial Intelligence Study Center. Universitas Sulawesi Barat. Mamuju. Indonesia Department of Information and Communication Engineering. Faculty of Computer Science and Systems Engineering. Okayama Prefectural University. Soja. Japan Article Info ABSTRACT Article history: Farmers use manual observation to sort, grade, and estimate tomato production results to meet market demands. However, this method requires a lot of energy and time, making it unsuitable for large-scale tomato cultivation utilizing the detection process. This study aims to develop the automatic tomato detection technology in an industrial environment based on a conveyor belt by using thermal or non-thermal imaging and you only look once version 8 (YOLOv. The dataset consists of 570 images obtained from each thermal and non-thermal camera and has undergone augmentation techniques to enrich the data variety. The model was trained and validated using 640y640-pixel images for 40 epochs. In this paper, we conduct a comparative analysis of the tomato detection result using YOLOv8 on thermal and non-thermal imaging. The results indicate that the model trained with thermal data significantly outperformed the non-thermal model, achieving 99% precision, 98% recall, 98% F1-score, and 99% mean average precision . AP)50 during validation. The thermal model received a 99% accuracy rate during validation, while the non-thermal model attained 94% accuracy, exhibiting a slightly poorer performance and committing several mistakes in detection. The use of thermal cameras on moving automation systems has demonstrated its capability and effectiveness, making it more optimal for application in the agricultural industry. Received Dec 27, 2024 Revised Mar 5, 2026 Accepted Apr 22, 2026 Keywords: Object detection RGB image Thermal imaging Tomato You only look once version 8 This is an open access article under the CC BY-SA license. Corresponding Author: Sulfayanti Faharuddin Situju Department of Informatics. Faculty of Engineering. Universitas Sulawesi Barat Prof. Dr. Baharuddin Lopa. SH Street. Talumung, 91412 Majene. West Sulawesi. Indonesia Email: sulfayanti@unsulbar. INTRODUCTION Tomato plants, known by their Latin name Lycopersicon esculentum Mill, are annual shrubs belonging to the Solanaceae family . Tomatoes can be consumed directly. However, in Indonesia, tomatoes are a food ingredient widely used to make typical Indonesian dishes, such as chili sauce, soup, and other traditional foods. In addition, the content of protein, carbohydrates, fat, minerals, and vitamins that are useful for health also adds to the utility of this plant . Food consumption data shows increased tomato consumption from 2017 to 2021 . This then gave birth to efforts to increase tomato production in order to meet the needs of the community for this commodity. Tomato cultivation is carried out from pre-harvest to post-harvest. Post-harvest cultivation is carried out to maintain the quality of tomatoes to be marketed because, during the storage period, there can be changes in conditions or even a decrease in quality. for example, tomatoes become overripe or too soft. Journal homepage: http://ijaas. ISSN: 2252-8814 The quality of tomatoes is usually sorted immediately after the tomatoes are picked by selecting good quality to be marketed and discarding abnormal tomatoes. The tomatoes to be marketed will be selected again through grading . evel of ripenes. based on color and size for specific market purposes or consumer The process of sorting, grading, and estimating tomato production results by farmers is carried out through manual observation to ensure market needs. This method requires a lot of energy and time, so it is unsuitable for large-scale tomato cultivation . Therefore, technology such as automatic tomato sorting conveyor tools can help farmers sort, grade, and count tomatoes so that each process can be more effective and efficient. Technology can also reduce post-harvest process errors caused by humans . The tomato detection and counting method underpins the creation of an automated tomato sorting conveyor, as object detection is the initial phase in the mechanization of the agricultural sector, aimed at identifying target objects and categorizing them appropriately . , . These methods have utilized many computer vision and deep learning methods by exploring images to detect and count tomatoes in agricultural environments . Ae. The deep learning method is used to detect objects such as tomatoes because of its ability to handle the complexity of the detected object environment and various lighting conditions, such as a mask-region-based convolutional neural network (Mask-R-CNN) . , . Faster-R-CNN . and you only look once (YOLO) . Ae. , . , . YOLO's dominance is inseparable from its role, which has been proven to detect objects quickly and efficiently . These studies utilize red, green, blue (RGB) images, such as: reference . improved the performance of YOLOv8 in the online automated maturity grading and counting process by adopting the multi-head self-attention (MHSA) attention mechanism in YOLOv8's backbone, . developed an automatic tomato detection and classification system that can identify tomato ripeness in real time, . research utilized Mask-R-CNN to distinguish tomatoes from stems in the development of a harvesting robot, . compared the results of tomato detection and counting using YOLOv4. YOLOv4-tiny. YOLOv3, and YOLOv3-tiny, and . also demonstrated tomato classification results using YOLOv8 on tomato image augmentation data. Other research combined RGB images with other image types to improve the performance of tomato detection and counting. In . , an image-based approach was introduced that utilizes RGB and spectral images to evaluate the number of ripe tomatoes ready for In . , combines object detection with multiple objects tracking and specific tracking region counting to enhance tomato cluster counting ability. In . , carries out a target tracking network that can identify and count tomatoes at different growth stages, which is referred to as YOLO-DeepSORT. Some research about object detection is also applied to RGB images taken using a regular camera, and images taken via infrared . Ae. In . , offers a rapid detection and recognition model using a YOLO model with a multi-scale self-attention mechanism, specifically designed for small road targets in infrared detection contexts. In . , utilizes both the original image and its corresponding encoded version, derived through a textural descriptor method, are utilized as inputs to a deep learning model that incorporates target attention and size attention mechanisms for object detection. According to . , a network using RetinaNet on visible and thermal infrared (TIR) cameras from unmanned aerial vehicles (UAV. to detect and classify ground objects. While, . conducted an analysis of the current state of research on the fusion of visible and infrared images for object detection. Infrared images in object detection show faster detection capabilities in challenging environments, such as low light intensity or when detection is required for small objects in the image. Object detection is also done by utilizing images obtained from a thermal camera . Ae. In . , introduces a neural network model designed to detect small and tiny objects using the vehicle detection in aerial imagery (VEDAI) dataset . , which is the thermal imaging captured by UAVs, utilizing the YOLOv5 architecture enhanced with a transformer encoder at the final stage. In . , supports automated animal detection and classification in thermal images by introducing a novel algorithm for extracting thermal features. Subsequently, a thermal signature for each identified object is computed using morphological operations. In the study by . , a Faster-R-CNN is applied to thermal and visual spectrum imagery on 4-wheeler, 2-wheeler, traffic light, and human objects to perform a comparative evaluation, revealing that thermal camera images have outperformed results compared to visible spectrum images. In . , proposed a tomato detection method in a complex natural environment based on the based on residual and C-SPP enhanced YOLOv4 (RC-YOLOv. , and resulted a 88% accuracy in a natural According to . , visible and thermal images, specifically car, person, bicycle, and dog as the dataset, and adopts RetinaNet as the baseline model to integrate features from multiple data sources for object detection. A thermal camera is valuable for detecting heat signatures, allowing them to work effectively in low visibility conditions, such as at night, where conventional cameras have difficulty. The application of thermal imaging technology in agriculture is feasible due to temperature differentials that facilitate object detection, which can subsequently be employed for numerous reasons, including prediction and identification . Ae. These works illustrate the trend of thermal use in edge computing for field robotics . , . , lower-cost sensor deployment . , . , and climate-resilient agriculture . Ae. Shalash et al. indicate that artificial intelligenceAethermal imaging integration Int J Adv Appl Sci. Vol. No. June 2026: 451-461 Int J Adv Appl Sci ISSN: 2252-8814 facilitates the prompt detection of fluctuations due to pests or diseases, enabling timely treatment and Meanwhile. Awais et al. demonstrate that thermal imaging may discern variations in water status and the crop water stress index (CWSI). On the other hand, . indicates that thermal imaging enhances fruit grading processes, ensures food safety, and reduces post-harvest losses. Additionally, thermal imaging is an environmentally sustainable technology that generates no waste or hazardous emissions . These studies illustrate the effectiveness of thermal imaging in distinguishing between stressed and non-stressed plants and in acquiring detailed data on canopy temperature. This information can facilitate the comprehension and interpretation of canopy temperature . This method possesses significant potential for application in tropical agriculture, given that tropical regions experience high temperatures and intense sunlight . , . Research in . integrated thermal and visible light imagery with depth data to create a system for the remote detection of plants afflicted by the tomato powdery mildew fungus. This research utilizes the handcrafted feature method for feature extraction and a support vector machine (SVM) for classification. Deep learning adapted to process thermal imaging provides robust object detection, even in complex Thus, the combination of thermal imaging and deep learning allows for high accuracy in detecting and distinguishing objects based on temperature . , . In . , proposed a method for the classification of plant and crop diseases with a thermal camera and a CNN. This study works on 28 plants and 6 crop disease classifications. Previous studies show that RGB images are used for tomato detection, and integrated thermal technology is especially used for tomato disease detection. Meanwhile, this study attempts to develop technology for detecting tomatoes on a moving conveyor machine using the YOLOv8 model. This research involved creating a library of non-thermal and thermal images of tomatoes, implementing YOLOv8 for tomato detection in moving conditions, demonstrating the reliability of tomato detection using a combination of thermal technology and deep learning, and presenting a comparative analysis of the tomato detection outcomes utilizing thermal and non-thermal imaging. Non-thermal images are the images obtained from an RGB camera, while thermal images are the images obtained from a thermal camera. The YOLOv8 model is used to obtain detection accuracy according to industrial conditions. Therefore, this research contributes to demonstrating the comparison of the tomato detection results using YOLOv8 in non-thermal images and thermal camera images. Generally, this study emphasizes the development of advanced technology to improve the accuracy and efficiency of tomato detection in various field conditions, such as fruit transfer machines or belt conveyors. PROPOSED METHOD This study proposes using the YOLOv8 algorithm for tomato detection, using a thermal and non-thermal images dataset to determine the performance of each technology in detecting moving objects on a belt conveyor machine. The YOLOv8 model was chosen for this task due to its superiority in real-time object detection and its efficiency in image processing . YOLO detector is a widely used single-stage object detection network that balances accuracy and speed well. This study uses the latest version of YOLOv8 . eb referenc. for tomato detection. Mosaic data augmentation is used in YOLOv8. This data augmentation method applies several augmentation methods to new training images, such as flip, rotation, scaling, and color change. This can improve the model's accuracy during the training process compared to not using it. This augmentation aims to simulate various environmental and lighting conditions during the detection process, as suggested in the study . YOLOv8 comprises three primary components: backbone, neck, and head. The backbone is tasked with extracting various features from the input. It operates by dividing feature maps into two halves. The Neck function integrates the features from the backbone. The Head in YOLOv8 identifies the object by directly predicting its center. Figure 1 illustrates the main architecture of YOLOv8. METHOD The method in this research involves several main stages: data collection, data preprocessing, including augmentation, image labeling, and split data. generating a model. model validation from the training and testing phase to produce the detection results. These stages apply to both types of images used, namely non-thermal and thermal images. The stages of this study can be seen in Figure 2. Data acquisition Data acquisition was carried out using thermal and non-thermal cameras. Data were taken while tomatoes ran on a belt conveyor machine, simulating industrial conditions. Data collection was initially conducted by operating the conveyor at a controlled speed to ensure a consistent flow of tomatoes. The RGB and thermal cameras were positioned with a consistent distance and angle for data collection, specifically perpendicular to the conveyor surface for data uniformity. Throughout the acquisition process, tomatoes were Comparison of thermal and non-thermal images for tomato A (Sulfayanti Faharuddin Situj. A ISSN: 2252-8814 randomly positioned on the conveyor, displaying tomato colors, dimensions, and orientations. The resultant data comprised RGB and thermal images of the tomatoes, respectively. The data were subsequently organized systematically to enhance the annotation process and analysis that followed. The data collection and testing scenarios can be seen in Figure 3. Detection using non-thermal Detection using non-thermal Detection using non-thermal Detection using non-thermal Figure 1. The YOLOv8 architecture for thermal and non-thermal images of tomato detection Figure 2. The stages in the research Figure 3. Data collection process on the conveyor belt machine Int J Adv Appl Sci. Vol. No. June 2026: 451-461 Int J Adv Appl Sci ISSN: 2252-8814 Camera specifications Table 1 shows the differences in specifications between the RGB camera for non-thermal data and the thermal camera for thermal imaging data. The MobIR air thermal camera utilizes a vanadium oxide (VO. microbolometer sensor in the long-wave infrared (LWIR) spectrum, offering 120y90-pixel IR resolution, a temperature measurement ranges from 20 AC to 120 AC, and a 25 Hz frame rate for precise heat detection. Meanwhile, the Logitech C270 RGB camera employs a CMOS sensor for visible light, delivering higher HD 720p . 0y720-pixe. resolution at up to 30 fps, though it lacks any thermal measurement capabilities. Table 1. Camera specifications Technical parameters Sensor types and spectrum Resolution Temperature measurement range Frame rate MobIR air . hermal camer. VO y microbolometer . ong range infrared/LWIR) 120y90-pixel (IR resolutio. 20 AC to 120 AC 25 Hz Logitech C270 (RGB camer. CMOS . isible light/RGB) sensor HD 720p . 0y720-pixe. Not applicable Up to 30 fps Imaging conditions The research was performed in a tropical setting characterized by daytime temperatures of 31 AC to 34 AC and relative humidity levels of 70% to 90%. Image data from thermal was acquired outdoors under a direct sunlight environment on sunny, rainless days to reduce interference from infrared radiation caused by water vapor. The acquisition process occurred from 9:30 to 11:00 AM to mitigate the impact of intense sun radiation, which could distort tomato temperature measurements. The camera was positioned above the conveyor, maintaining a fixed distance from the object to guarantee data consistency. The gathered data comprised video footage of tomatoes positioned on the moving conveyor. The dataset consists of two types of images, namely, images from thermal and regular . on-therma. Thermal images are used to overcome the challenges of poor lighting and ensure consistent detection in various environmental conditions, as studies have shown that the use of thermal is very effective in detecting objects in low or complex lighting situations . Using thermal imaging also helps distinguish objects with similar colors or textures from the background, thereby improving the quality of the data obtained . The results indicated that the thermal imaging could effectively display tomato objects, as they discernible than other objects in the background. This condition can support the development of a plant sorting system using an outdoor conveyor, as in . Preprocessing Data preprocessing is essential to prepare the acquired data for utilization in the model training Preprocessing is implemented on both thermal and non-thermal datasets. The acquired video data was extracted into image frames. Subsequently, image data obtained from videos recorded with thermal and non-thermal cameras is labeled or annotated. Moreover, augmentation techniques are employed to enhance the variability of the dataset. Each camera type has 570 images that have undergone an augmentation process to enhance data variability and improve model training quality. The augmentation methods encompass rotation, flipping, saturation, exposure, and blurring. Augmentation enhances the model's diversity and improves its generalization to novel data. The final stage involves partitioning each dataset into training and Table 2 presents the visual representations derived from the labelling and augmentation methods. Detection algorithm The YOLOv8 model from Ultralytics was trained using a dataset that has 640y640-pixel images from non-thermal and thermal images dataset respectively. The training process involves fine-tuning the parameters using the Adam optimization algorithm, effectively accelerating convergence and reducing loss during training. Fine-tuning aims to optimize the model performance to achieve the best results in detecting tomatoes on conveyor belt machines. The training phase in this study utilizes the Tesla T4 graphics processing unit (GPU). It is excellent for deep learning tasks such as image processing with the YOLOv8 model and object detection. With 15 GB of memory and CUDA version 12. 2, the Tesla T4 is excellent for processing large datasets in industrial environments that require real-time processing. These specifications ensure fast and accurate model training, making it applicable in industrial situations such as automatic tomato Following 40 epochs of training, a validation process was conducted to assess the efficacy and performance of the trained model . , . Evaluation metrics Model testing is performed after training to assess the model's performance in detecting tomatoes. Evaluation is performed using a separate test dataset, which the model never sees during training, to ensure Comparison of thermal and non-thermal images for tomato A (Sulfayanti Faharuddin Situj. A ISSN: 2252-8814 that the model can generalize well to new data. Test data in the form of a video of tomatoes on a moving The metrics used to measure model performance include precision, recall. F1-score, mean average precision . AP), and intersection over the union (IoU). Precision and recall measure the model's accuracy in detecting relevant objects, while the precision and recall of the F1-score balance . Specifically, precision is a metric to measure how accurate the model's predictions are by comparing the correct predictions . rue positive (TP)) to the total positive predictions (TP false positive (FP)). Recall is a metric to measure how many objects the model successfully detects out of all the objects present . etected and misse. F1-score is the harmonic mean of precision and recall, balancing accuracy and completeness. In addition, mAP provides a comprehensive picture of the model's detection performance under various object overlap mAP is the average of the average precision (AP) values for all classes and the IoU threshold, while AP is calculated as the area under the precision-recall curve for each class. IoU is a metric that quantifies the overlapping area between a predicted bounding box and a ground truth bounding box. On a conveyor, part of the tomato's surface is covered, and the tomato can change position due to movements such as rotation. This condition requires very precise bounding box detection, so the model must do more than just detect the tomato. Therefore, mAP is necessary because it serves a crucial function in assessing the precision of object localization. This metric has also been widely used to determine the results of object detection in the agricultural sector . , . , . , . Table 2. Represent images from preprocessing Non-thermal Thermal Image labelling Image augmentation Additionally, inference time measures a model's time to process a single image or batch of images. This time is usually measured in milliseconds . or frames per second (FPS). There is no fixed formula for inference, but this metric indicates the model's ability to detect tomatoes effectively within a system. ycEycyceycaycnycycycnycuycu = ycIyceycaycaycoyco = ycNycE ycNycE yaycE ycNycE ycNycE yaycA ya1 Oe ycIycaycuycyce = 2 y ycEycyceycaycnycycnycuycu x ycIyceycaycaycoyco ycEycyceycaycnycycnycuycu ycIyceycaycaycoyco ycoyaycE = OcycA ycn=1 yaycEycn ycu Int J Adv Appl Sci. Vol. No. June 2026: 451-461 Int J Adv Appl Sci ISSN: 2252-8814 RESULTS AND DISCUSSION Training and validation were conducted to compare the performance of the YOLOv8 model in detecting tomatoes using thermal data and non-thermal data. Training was conducted for 40 epochs. Tables 3 and 4 present the normalized results of the confusion matrix for tomato detection utilizing YOLOv8 on thermal and non-thermal datasets, respectively. YOLOv8 effectively identifies tomato objects, particularly in thermal datasets, with an error rate of up to 1%. Both confusion matrices reveal that certain backgrounds are misidentified as tomatoes, indicating that YOLOv8 has heightened sensitivity in detecting tomato objects across both dataset types. Thus. YOLOv8 demonstrates sufficient reliability for application in tomato object detection within industrial settings that employ conveyors. The primary evaluation measures, such as precision, recall, and F1-score for each model, come from validation data. The results of the mAP50 metric were measured to assess the model's accuracy in detecting objects. Inferences were obtained from testing using videos from each thermal and non-thermal camera. Table 5 compiles the metric evaluation results, while Figure 4 shows the results of the comparison of thermal (Figure 4. ) and non-thermal (Figure 4. ) testing on the testing dataset. Table 3. Normalized confusion matrix of tomato detection using YOLOv8 with thermal imaging Actual Tomato Background Prediction Tomato Background Table 4. Normalized confusion matrix of tomato detection using YOLOv8 with non-thermal imaging Method Actual YOLOv8 Tomato Background Prediction Tomato Background Table 5. Comparison of thermal and non-thermal testing results Metrics Precision Recall F1-score Metrics mAP50 Inference . Thermal 0 fps Non-thermal 2 fps Combination . hermal and non-therma. Figure 4. Comparison of material conditions for . thermal with less and normal amount and . non-thermal with less and normal amount The model trained with thermal images routinely outperforms the model employing solely non-thermal images. The thermal model is more precise and has stronger detection capabilities, particularly when it comes to identifying every tomato object in the image, as evidenced by its higher precision, recall, and F1-score. The thermal model's F1-score is 14. 6% higher than the non-thermal model. This suggests that the thermal model is substantially more successful in detection overall, not just marginally better. Utilizing the FP rate OO1Oeprecision approach, the ratio of non-thermal to thermal FP rates is 16:1. This indicates that the thermal detector commits 16 times fewer errors in identifying nonexistent objects compared to the non-thermal detector. Simultaneously, utilizing the false negative (FN) rate OO1Oerecall methodology, the FN rate ratio between non-thermal and thermal is 6. This shows that the Thermal model overlooks six times fewer things than the non-thermal model, rendering it more sensitive and nearly capable of detecting all The comprehensive comparison of the results indicates that thermal is significantly superior to Comparison of thermal and non-thermal images for tomato A (Sulfayanti Faharuddin Situj. A ISSN: 2252-8814 non-thermal. The relative mAP50 difference of thermal to non-thermal is approximately 28%, resulting in a much better overall precision-recall curve in the thermal model compared to the non-thermal model. Figure 5 displays the comparison of mAP graphs during the training process, showing the outcomes of the model training procedure. The training results on the thermal dataset show that the model consistently achieves a high mAP50 across all training epochs compared to the non-thermal dataset. In the first epoch, the model obtained a mAP50 of 0. 94712, but then increased in the next epoch. The model continued to show satisfying performance throughout the training process, with mAP50 ranging from 0. 94712 to 0. Even after several epochs, there is no discernible decline in mAP50 values' performance during the training process. Thermal not only excels at a singular point but also demonstrates superior consistency and proximity to the ideal across all epochs. This indicates that the model has effectively learned to generalize visual data pertaining to the object's temperature. In contrast, training on non-thermal data shows more significant performance fluctuations than thermal data. In the first epoch, the mAP50 value is much lower than the thermal data. Figure 5. Comparison of mAP graphs in the testing process Compared to the thermal dataset, the combination dataset exhibits a significantly higher FP rate in its model, approximately ten times greater. The rate indicates that the combination exhibits a higher incidence of false detection, yet maintains a high recall. Each combination and thermal model provide equivalent recall values, indicating that both effectively identify nearly all objects. The combination did not yield a significant result in sensitivity when compared to the use of thermal alone. This also occurs in mAP50. In comparison to using only non-thermal data, the combination of thermal and non-thermal data yielded greater precision, recall. F1-score, and mAP50 values. This demonstrates how tomato detection performance can be enhanced by using thermal images. Simultaneously, the inference values for both models, thermal and non-thermal, produce commendable results, notably Ou20 fps, rendering them appropriate for real-time applications. The thermal detection accuracy demonstrated superior results compared to non-thermal camera data. The thermal camera captures heat and generates color waves that correspond to the object's temperature, allowing Tomato Edge to effectively detect and precisely determine the shape of the tomato, differentiating it from surrounding objects as previously mentioned in . The utilization of a non-thermal for tomato detection yielded inadequate results due to the occasional blurriness of moving tomatoes on the conveyor. The image's blurriness limits the ability to identify the edges of the tomato, resulting in an inaccurate representation of its shape. This reduced the model's ability to accurately identify tomatoes. Consequently, our study demonstrated that thermal cameras possess benefits in identifying moving objects relative to non-thermal cameras. However, some additional considerations must be addressed: the study found that the influence of light circumstances does not a significantly differentiate the detection outcomes of thermal and non-thermal data. the roundness feature of the tomato object is the primary attribute that distinguishes it from the background, this perhaps leading to the misidentification of other round objects as tomatoes. a thermal camera can identify objects by their heat when there is a notable temperature disparity between the object and its surroundings, while RGB cameras depend on ambient light so performance drops sharply in dusk, night, or shaded areas. The analysis of the obtained findings indicates the need to integrate the thermal camera with sensors, cameras, or other devices as a hybrid detection method so that the thermal camera can work at room Nonetheless, this study has demonstrated that the thermal camera is effective in aiding automatic detection systems within industrial environments. Int J Adv Appl Sci. Vol. No. June 2026: 451-461 Int J Adv Appl Sci ISSN: 2252-8814 CONCLUSION This study has presented the comparison of thermal and non-thermal using YOLOv8-based for object detection. The system greatly enhances tomato detection performance. The analysis results show that the model trained using thermal data has very good consistency during the training process, without experiencing a significant decrease in performance. This is achieved by applying a dataset that has undergone augmentation techniques and is divided for training, validation, and testing purposes. This model outperformed the one trained on non-thermal camera data in terms of precision, recall. F1-score, and mAP50 On the other hand, the non-thermal model was unstable during the first few epochs and had higher performance fluctuations and mAP50 findings. Based on the confusion matrix of the validation data, the thermal model achieved 99% detection precision. In contrast, the non-thermal model showed higher errors, with some background cases being wrongly detected, such as tomatoes, and vice versa. As a result, thermal cameras have been shown to be more effective at supporting the tomato detection system. YOLOv8 has also demonstrated proficiency in detecting tomato items with an inference rate exceeding 20 fps across both dataset types, indicating its capability to specifically identify features of moving objects. When it comes to industrial automation activities that take place after harvest, such as the use of conveyor belts, this thermal technology can increase precision and efficiency. Future work is expected to focus on testing in more complex environments, including system integration for real-time tomato sorting machines. It might be valuable to conduct experiments that account for potential non-target objects or negative objects . uch as leaves or other fruits or vegetable. on the conveyor belt. It is desirable to evaluate the robustness of the method in cases where objects other than tomatoes appear by mistake. In addition, inference speed optimization will be a top priority so that the system can run more efficiently and effectively in real-time In the future, the insights gained from the proposed method could contribute to the development of a robust tomato detection system for automatic monitoring of tomato fields by robots, capable of tracking ripeness and fruit count under varying conditions. FUNDING INFORMATION This research was funded by the 2024 research grants from the Directorate of Research. Technology, and Community Service. AUTHOR CONTRIBUTIONS STATEMENT This journal uses the Contributor Roles Taxonomy (CRediT) to recognize individual author contributions, reduce authorship disputes, and facilitate collaboration. Name of Author Sulfayanti Faharuddin Situju Wawan Firgiawan Hironori Takimoto C : Conceptualization M : Methodology So : Software Va : Validation Fo : Formal analysis ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue ue I : Investigation R : Resources D : Data Curation O : Writing - Original Draft E : Writing - Review & Editing ue ue ue ue ue Vi : Visualization Su : Supervision P : Project administration Fu : Funding acquisition CONFLICT OF INTEREST STATEMENT Authors state no conflict of interest. DATA AVAILABILITY The data that support the findings of this study are available from the corresponding author, [SFS], upon reasonable request. REFERENCES