Welcome to Journal of Graphics share: 

Journal of Graphics ›› 2025, Vol. 46 ›› Issue (6): 1274-1280.DOI: 10.11996/JG.j.2095-302X.2025061274

• Image Processing and Computer Vision • Previous Articles     Next Articles

Coffee fruit maturity prediction model based on image blocking interaction

ZHANG Xinyun(), ZHANG Liwen, ZHOU Li, LUO Xiaonan()   

  1. Institute of Artificial Intelligence Cross Research, Guilin University of Electronic Science and Technology, Guilin Guangxi 541004, China
  • Received:2025-03-13 Accepted:2025-04-23 Online:2025-12-30 Published:2025-12-27
  • Contact: LUO Xiaonan
  • About author:First author contact:

    ZHANG Xinyun (1997-), master student. Her main research interests cover digital image processing and speech processing. E-mail:wxqys178@163.com

  • Supported by:
    Guangxi Science and Technology Major Special Project(桂科AA24263013)

Abstract:

With the popularity of coffee culture and growing consumer demand, the maturity of coffee fruits has become a key determinant of quality and market value. However, irrational harvesting leads to uneven quality and impacts economic benefits. Through advanced ripeness detection techniques, harvesting accuracy can be improved to provide data-based decision support for farmers; however, the existing methods still have technical challenges in terms of robustness in complex backgrounds and high-density small-target detection. Therefore, a coffee tree fruit ripeness prediction model based on image-chunking interaction was proposed, which achieved the complementary fusion of local and global feature information by introducing a spatial-blocking interaction attention mechanism (SBIAM), so that the model can focus on the fruit region as well as effectively inhibit the background interference, enhancing the model's ability to pay attention to key features. In addition, a normalized Wasserstein distance (NWD) loss function was introduced to solve the problems such as the prediction-position deviation common in coffee-fruit classification, thereby improving the accuracy and robustness of coffee-fruit ripeness detection in complex scenes. Experimental results demonstrated that the proposed improved model not only enhanced the detection accuracy, but also achieved a good balance between performance and efficiency.

Key words: coffee fruit, maturity prediction model, spatial block interaction, attention mechanism, NWD loss function

CLC Number: