Freshness to Forecast: Smart Pricing and Quality Detection of Products via YOLOv8 and AI Regression

Authors

  • Rucha Samant
  • Neeta Deshpande
  • Madhuri Gedam
  • Swati Varma
  • Kavita Moholkar
  • Avantika Jeure
  • Akanksha Pathak

DOI:

https://doi.org/10.47839/ijc.25.2.4660

Keywords:

Artificial Intelligence, Classification, Commodity Intelligence System, Regression model, YOLOv8

Abstract

The agricultural commodity market in India suffers from fragmented supply chains, price fluctuations, and limited real-time quality assessment. Farmers often depend on intermediaries, leading to reduced profits, delayed sales, and significant post-harvest losses, particularly for perishable produce. Existing systems mainly target narrow tasks such as fruit counting or yield estimation, lacking comprehensive solutions that integrate quality evaluation with market intelligence. This research proposes a Commodity Intelligence System (CIS) that addresses these challenges by combining YOLOv8-based deep learning for accurate classification of multiple crops with regression models for freshness detection and market price prediction. The CIS is trained on a custom dataset of five widely consumed commodities—capsicum, onion, potato, apple, and banana—captured under diverse conditions to enhance model robustness. Experimental results show improved classification accuracy and predictive performance over conventional approaches. The proposed CIS has potential applications in smart agriculture and supply chain intelligence, enabling transparent pricing, reduced wastage, and fairer market access for farmers and retailers.

References

H. Huang, B. Wang, J. Xiao, and T. Zhu, “Improved small-object detection using YOLOv8: A comparative study,” Applied and Computational Engineering, vol. 41, no. 1, pp. 80–88, 2024. https://doi.org/10.54254/2755-2721/41/20230714.

A. Bochkovskiy, C.-Y. Wang, and H.-Y. M. Liao, “YOLOv4: Optimal speed and accuracy of object detection,” arXiv preprint, arXiv:2004.10934, 2020. doi: 10.48550/arXiv.2004.10934.

G. S. Kakaraparthi and B. V. A. N. S. S. Prabhakar Rao, “Crop price prediction using machine learning,” International Research Journal of Modernization in Engineering, Technology and Science (IRJMETS), vol. 3, no. 6, pp. 3477–3480, 2021. doi: 10.56726/IRJMETS13356.

R. Ragunath and R. Rathipriya, “Forecasting agriculture commodity price trend using novel competitive ensemble regression model,” International Journal of Information Technology and Computer Science (IJITCS), vol. 17, no. 3, pp. 97–105, 2025. https://doi.org/10.5815/ijitcs.2025.03.07.

Z. Yang et al., “A method for tomato ripeness recognition and detection based on an improved YOLOv8 model,” Horticulturae, vol. 11, no. 1, 2025. https://doi.org/10.3390/horticulturae11010015.

J. Zhou, J. Ye, Y. Ouyang, J. Gao, and others, “On building real time intelligent agricultural commodity trading models,” Proc. 8th IEEE Int. Conf. on Big Data Computing Service and Machine Learning Applications (BigDataService), Fremont, CA, USA, Jun. 2022, pp. 1–8. https://doi.org/10.1109/BigDataService55688.2022.00021.

G. Prasad, U. R. Vuyyuru, and M. D. Gupta, “Agriculture commodity arrival prediction using remote sensing data: Insights and beyond,” arXiv preprint, arXiv:1906.07573, 2019. doi: 10.48550/arXiv.1906.07573.

L. Barbaglia, I. Wilms, and C. Croux, “Commodity dynamics: A sparse multi-class approach,” Energy Economics, vol. 60, pp. 62–72, 2016. https://doi.org/10.1016/j.eneco.2016.09.013.

Z. Chen, H. S. Goh, K. L. Sin, K. Lim, N. K. H. Chung, and X. Y. Liew, “Automated agriculture commodity price prediction system with machine learning techniques,” Advances in Science, Technology and Engineering Systems Journal (ASTESJ), vol. 6, no. 4, pp. 376–384, 2021. https://doi.org/10.25046/aj060445.

M. A. Jahin, S. A. Naife, A. K. Saha, and M. F. Mridha, “AI in supply chain risk assessment: A systematic literature review and bibliometric analysis,” arXiv preprint, arXiv:2401.10895, 2023. doi: 10.48550/arXiv.2401.10895.

M. Bhardwaj, J. Pawar, A. Bhat, and Y. Narahari, “An innovative deep learning based approach for accurate agricultural crop price prediction,” arXiv preprint, arXiv:2304.09761, 2023. https://doi.org/10.1109/CASE56687.2023.10260494.

V. C. Karthik, B. S. Naik, B. Manjunatha, H. N. G. H. Nayak, et al., “Advanced potato price prediction through N-BEATS deep learning architecture,” Journal of Experimental Agriculture International, vol. 46, no. 9, pp. 362–375, 2024. https://doi.org/10.9734/jeai/2024/v46i92833.

L. Zhang, L. Feng, and R. Liang, “Avocado price prediction using a hybrid deep learning model: TCN-MLP-attention architecture,” arXiv preprint, arXiv:2505.09907, 2025. https://doi.org/10.70711/aitr.v2i10.7151.

A. Praveenkumar, G. Kumar, S. D. Madival, and R. R. Kumar, “Deep learning approaches for potato price forecasting: Comparative analysis of LSTM, Bi-LSTM, and AM-LSTM models,” European Potato Journal, vol. 68, no. 2, 2024. https://doi.org/10.1007/s11540-024-09823-z.

R. K. Paul, M. Yeasin, P. Kumar, H. S. Roy, et al., “Deep learning technique for forecasting the price of cauliflower,” Current Science, vol. 124, no. 9, pp. 1065–1073, 2023. https://doi.org/10.18520/cs/v124/i9/1065-1073.

Y. Li, Y. He, Y. Zhou, Z. Gong, and R. Huang, “Yield evaluation of citrus fruits based on the YOLOv5 compressed by knowledge distillation,” arXiv preprint, arXiv:2211.08743, 2022. https://doi.org/10.1109/CSCWD57460.2023.10152740.

I. Ahmed, M. Alkahtani, Q. S. Khalid, and F. M. Alqahtani, “Improved commodity supply chain performance through AI and computer vision techniques,” IEEE Access, vol. 12, pp. 24116–24132, 2024. https://doi.org/10.1109/ACCESS.2024.3361756.

D. Siyu, S. T. C. Hooi, S. K. Ray, G. W. Wei, and S. Gupta, “Research and application of commodity recognition algorithm based on machine learning,” in Proc. Int. Conf. on Emerging Trends in Networks and Computer Communications (ETNCC), Windhoek, Namibia, 2024, pp. 1–8. https://doi.org/10.1109/ETNCC63262.2024.10767434.

P. Hou and S. Huang, “BCSM-YOLO: An improved product package recognition algorithm for automated retail stores based on YOLOv11,” IEEE Access, vol. 13, pp. 139665–139679, 2025. https://doi.org/10.1109/ACCESS.2025.3595175.

P. Herrera-Toranzo, J. Castro-Rivera, and W. Ugarte, “Detection and verification of the status of products using YOLOv5,” in Proc. Int. Conf. on Smart Business Technology (ICSBT), 2023, pp. 83–93. https://doi.org/10.5220/0012123500003552.

K. Drachal and M. Pawłowski, “Forecasting selected commodities’ prices with the Bayesian symbolic regression,” International Journal of Financial Studies, vol.12, no.2, p. 34, 2024. https://doi.org/10.3390/ijfs12020034.

B. Lim and S. Zohren, “A survey on deep learning for time-series forecasting,” Sensors, vol. 21, no. 16, p. 758, 2021. doi: 10.3390/s21165758.

R. L. Manogna, V. Dharmaji, and S. Sarang, “Enhancing agricultural commodity price forecasting with deep learning,” Scientific Reports, vol. 15, 20903, 2025. https://doi.org/10.1038/s41598-025-05103-z.

R. L. Manogna, V. Dharmaji, and S. Sarang, “A novel hybrid neural network‑based volatility forecasting of agricultural commodity prices: empirical evidence from India,” Journal of Big Data, vol. 12, Art. 85, 2025. https://doi.org/10.1186/s40537-025-01131-8.

D. Zhang, S. Chen, L. Ling, and Q. Xia, “A novel model selection framework for forecasting agricultural commodity prices using time series features and forecast horizons,” IEEE Access, vol. 8, pp. 28197-28209, 2020. https://doi.org/10.1109/ACCESS.2020.2971591.

P. Pandit, A. Sagar, B. Ghose, M. Paul, Ö. Kisi, D. K. Vishwakarma, L. Mansour, and K. K. Yadav, “Hybrid modeling approaches for agricultural commodity prices using CEEMDAN and time delay neural networks,” Scientific Reports, vol. 14, Article 26639, 2024. https://doi.org/10.1038/s41598-024-74503-4.

G. Avinash, V. Ramasubramanian, M. Ray, R. K. Paul, S. Godara, G. H. H. Nayak, R. R. Kumar, B. Manjunatha, S. Dahiya, and M. A. Iquebal, “Hidden Markov guided deep learning models for forecasting highly volatile agricultural commodity prices,” Applied Soft Computing, vol. 158, Art. 111557, 2024. https://doi.org/10.1016/j.asoc.2024.111557.

Downloads

Published

2026-06-30

How to Cite

Samant, R., Deshpande, N., Gedam, M., Varma, S., Moholkar, K., Jeure, A., & Pathak, A. (2026). Freshness to Forecast: Smart Pricing and Quality Detection of Products via YOLOv8 and AI Regression. International Journal of Computing, 25(2), 343-351. https://doi.org/10.47839/ijc.25.2.4660

Issue

Section

Articles