错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

DANN: A Deep Attention Neural Network for Automatic Fruit Image Classification

  • Abhik Ganguly,
  • Rounak Chakraborty,
  • Dipayan Ghosh,
  • Pawan Kumar Singh,
  • Aimin Li

摘要

Classifying fruits is crucial in various fields, including agriculture, food processing, and computer vision. Typical fruit sorting often uses simple features along with basic machine-learning models. It struggles with complex fruit images. Here, we introduce a deep-learning model for fruit sorting. We propose a custom-designed CNN with an attention feature called DANN. Three standard datasets, namely, Fruits-360, FIDS30, and FRUITSGB, are used to evaluate the proposed DANN model. Testing shows that the proposed DANN model automatically classifies the fruit images with enhanced accuracies of 98.38%, 87.3% and 98% for the three above datasets, respectively. We adjust settings like batch size and epochs for training. Our CNN model with attention performs better than typical machine learning models. This research shows that adding attention to CNN improves the performance of fruit image classification. It helps in the agriculture and food industries. Our model opens paths for more research with bigger datasets and different models. This work highlights deep learning and attention for good fruit classification. It helps in farming and food quality.