Detecting and counting pistachios based on deep learning

被引:0
|
作者
Mohammad Rahimzadeh
Abolfazl Attar
机构
[1] Iran University of Science and Technology,School of Computer Engineering
[2] Sharif University of Technology,Department of Electrical Engineering
关键词
Deep learning; Convolutional neural network; Pistachio counting; Multi-object counting; Object detection; Motile-object counting;
D O I
10.1007/s42044-021-00090-6
中图分类号
学科分类号
摘要
Pistachios are nutritious nuts that are sorted based on the shape of their shell into two categories: Open mouth and Closed mouth. The open-mouth pistachios are higher in price, value, and demand than the closed-mouth pistachios. Because of these differences, it is considerable for production companies to precisely count the number of each kind. This paper aims to propose a new system for counting the different types of pistachios with computer vision. We have introduced and shared a new data set of pistachios, including six videos with a total length of 167 s and 3927 labeled pistachios. Unlike many other works, our model counts pistachios in videos, not images. Counting objects in videos need assigning each object between the video frames so that each object be counted once. The main two challenges in our work are the existence of pistachios’ occlusion and deformation of pistachios in different frames, because open-mouth pistachios that move and roll on the transportation line may appear as closed mouth in some frames and open mouth in other frames. Our novel model first is trained on the RetinaNet object detector network using our data set to detect different types of pistachios in video frames. After gathering the detections, we apply them to a new counter algorithm based on a new tracker to assign pistachios in consecutive frames with high accuracy. Our model is able to assign pistachios that turn and change their appearance (e.g., open-mouth pistachios that look closed mouth) to each other so does not count them incorrectly. Our algorithm performs very fast and achieves good counting results. The computed accuracy of our algorithm on six videos (9486 frames) is 94.75%.
引用
收藏
页码:69 / 81
页数:12
相关论文
共 50 条
  • [1] Fitcam: detecting and counting repetitive exercises with deep learning
    Japhne, Ferdinandz
    Janada, Kevin
    Theodorus, Agustinus
    Chowanda, Andry
    JOURNAL OF BIG DATA, 2024, 11 (01)
  • [2] Chromosome analysis method based on deep learning: Counting chromosomes and detecting abnormal chromosomes
    Kang, Seungyoung
    Han, Junghun
    Lee, Inkyung
    Joo, Haemi
    Chung, Yousun
    Yang, Sejung
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2024, 91
  • [3] Detection and Counting of Algae Based on Deep Learning
    Tsai, Shu-Min
    Chuang, Ming-Lin
    Huang, Po-Shin
    2022 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - TAIWAN, IEEE ICCE-TW 2022, 2022, : 597 - 598
  • [4] Survey on Deep Learning Based Crowd Counting
    Yu Y.
    Zhu H.
    Qian J.
    Pan C.
    Miao D.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2021, 58 (12): : 2724 - 2747
  • [5] Deep Count: Fruit Counting Based on Deep Simulated Learning
    Rahnemoonfar, Maryam
    Sheppard, Clay
    SENSORS, 2017, 17 (04)
  • [6] Comparison of Deep Learning Methods for Detecting and Counting Sorghum Heads in UAV Imagery
    Li, He
    Wang, Peng
    Huang, Chong
    REMOTE SENSING, 2022, 14 (13)
  • [7] Precision Pistachios: Enhancing Agricultural Quality Control with Deep Learning
    Kaur, Arpanpreet
    2024 SECOND INTERNATIONAL CONFERENCE ON INTELLIGENT CYBER PHYSICAL SYSTEMS AND INTERNET OF THINGS, ICOICI 2024, 2024, : 1346 - 1351
  • [8] Automatic Counting Method for Centipedes Based on Deep Learning
    Yao, Jin
    Chen, Weitao
    Wang, Tao
    Yang, Fu
    Sun, Xiaoyan
    Yao, Chong
    Jia, Liangquan
    IEEE ACCESS, 2024, 12 : 84726 - 84737
  • [9] Deep Learning Based Efficient Crowd Counting System
    Al-Ghanem, Waleed Khalid
    Qazi, Emad Ul Haq
    Faheem, Muhammad Hamza
    Quadri, Syed Shah Amanullah
    CMC-COMPUTERS MATERIALS & CONTINUA, 2024, 79 (03): : 4001 - 4020
  • [10] An algorithm for counting the number of people based on deep learning
    Wu, Linlin
    Yuan, Zhihan
    Zhang, Tianyuan
    BASIC & CLINICAL PHARMACOLOGY & TOXICOLOGY, 2021, 128 : 183 - 183