AI impacts surrounding human life, such as the economy, health, education, and agricultural production; however, the crop prices in the harvest season are still on manual calculation, which causes doubts about accuracy. In this study, an image-based approach is proposed to help farmers calculate rice prices more accurately. YOLOv5 is used to detect and extract the scales in the images taken from the harvesting of rice crops. Then, various image processing techniques, such as brightness balance, background removal, etc., are compiled to determine the needle position and number on the extracted scale. Lastly, geometric transformations are proposed to calculate the weight. A real dataset of 709 images is used for the experiment. The proposed method achieves good results in terms of mAP@0.5 at 0.995, mAP@[0.5:0.95] at 0.830 for scale detection, and MAE at 3.7 for weight calculation.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.