Object Detection Algorithm for Lingwu Long Jujubes Based on the Improved SSD

The detection of Lingwu long jujubes in a natural environment is of great significance for robotic picking. Therefore, a lightweight network of target detection based on the SSD (single shot multi-box detector) is presented to meet the requirements of a low computational complexity and enhanced prec...

Full description

Bibliographic Details
Published in:Agriculture
Main Authors: Yutan Wang, Zhenwei Xing, Liefei Ma, Aili Qu, Junrui Xue
Format: Article
Language:English
Published: MDPI AG 2022-09-01
Subjects:
Online Access:https://www.mdpi.com/2077-0472/12/9/1456
_version_ 1851077569074429952
author Yutan Wang
Zhenwei Xing
Liefei Ma
Aili Qu
Junrui Xue
author_facet Yutan Wang
Zhenwei Xing
Liefei Ma
Aili Qu
Junrui Xue
author_sort Yutan Wang
collection DOAJ
container_title Agriculture
description The detection of Lingwu long jujubes in a natural environment is of great significance for robotic picking. Therefore, a lightweight network of target detection based on the SSD (single shot multi-box detector) is presented to meet the requirements of a low computational complexity and enhanced precision. Traditional object detection methods need to load pre-trained weights, cannot change the network structure, and are limited by equipment resource conditions. This study proposes a lightweight SSD object detection method that can achieve a high detection accuracy without loading pre-trained weights and replace the Peleenet network with VGG16 as the trunk, which can acquire additional inputs from all of the previous layers and provide itself characteristic maps to all of the following layers. The coordinate attention module and global attention mechanism are added in the dense block, which boost models to more accurately locate and identify objects of interest. The Inceptionv2 module has been replaced in the first three additional layers of the SSD structure, so the multi-scale structure can enhance the capacity of the model to retrieve the characteristic messages. The output of each additional level is appended to the export of the sub-level through convolution and pooling operations in order to realize the integration of the image feature messages between the various levels. A dataset containing images of the Lingwu long jujubes was generated and augmented using pre-processing techniques such as noise reinforcement, light variation, and image spinning. To compare the performance of the modified SSD model to the original model, a number of experiments were conducted. The results indicate that the <i>mAP</i> (mean average precision) of the modified SSD algorithm for object inspection is 97.32%, the speed of detection is 41.15 fps, and the parameters are compressed to 30.37% of the original networks for the same Lingwu long jujubes datasets without loading pre-trained weights. The improved SSD target detection algorithm realizes a reduction in complexity, which is available for the lightweight adoption to a mobile platform and it provides references for the visual detection of robotic picking.
format Article
id doaj-art-e73be3d794c54eccbda2a6d074e92e24
institution Directory of Open Access Journals
issn 2077-0472
language English
publishDate 2022-09-01
publisher MDPI AG
record_format Article
spelling doaj-art-e73be3d794c54eccbda2a6d074e92e242025-08-19T22:33:05ZengMDPI AGAgriculture2077-04722022-09-01129145610.3390/agriculture12091456Object Detection Algorithm for Lingwu Long Jujubes Based on the Improved SSDYutan Wang0Zhenwei Xing1Liefei Ma2Aili Qu3Junrui Xue4School of Mechanical Engineering, Ningxia University, Yinchuan 750021, ChinaSchool of Mechanical Engineering, Ningxia University, Yinchuan 750021, ChinaSchool of Mechanical Engineering, Ningxia University, Yinchuan 750021, ChinaSchool of Mechanical Engineering, Ningxia University, Yinchuan 750021, ChinaSchool of Mechanical Engineering, Ningxia University, Yinchuan 750021, ChinaThe detection of Lingwu long jujubes in a natural environment is of great significance for robotic picking. Therefore, a lightweight network of target detection based on the SSD (single shot multi-box detector) is presented to meet the requirements of a low computational complexity and enhanced precision. Traditional object detection methods need to load pre-trained weights, cannot change the network structure, and are limited by equipment resource conditions. This study proposes a lightweight SSD object detection method that can achieve a high detection accuracy without loading pre-trained weights and replace the Peleenet network with VGG16 as the trunk, which can acquire additional inputs from all of the previous layers and provide itself characteristic maps to all of the following layers. The coordinate attention module and global attention mechanism are added in the dense block, which boost models to more accurately locate and identify objects of interest. The Inceptionv2 module has been replaced in the first three additional layers of the SSD structure, so the multi-scale structure can enhance the capacity of the model to retrieve the characteristic messages. The output of each additional level is appended to the export of the sub-level through convolution and pooling operations in order to realize the integration of the image feature messages between the various levels. A dataset containing images of the Lingwu long jujubes was generated and augmented using pre-processing techniques such as noise reinforcement, light variation, and image spinning. To compare the performance of the modified SSD model to the original model, a number of experiments were conducted. The results indicate that the <i>mAP</i> (mean average precision) of the modified SSD algorithm for object inspection is 97.32%, the speed of detection is 41.15 fps, and the parameters are compressed to 30.37% of the original networks for the same Lingwu long jujubes datasets without loading pre-trained weights. The improved SSD target detection algorithm realizes a reduction in complexity, which is available for the lightweight adoption to a mobile platform and it provides references for the visual detection of robotic picking.https://www.mdpi.com/2077-0472/12/9/1456long jujubestarget detectionSSDconvolutional neural network
spellingShingle Yutan Wang
Zhenwei Xing
Liefei Ma
Aili Qu
Junrui Xue
Object Detection Algorithm for Lingwu Long Jujubes Based on the Improved SSD
long jujubes
target detection
SSD
convolutional neural network
title Object Detection Algorithm for Lingwu Long Jujubes Based on the Improved SSD
title_full Object Detection Algorithm for Lingwu Long Jujubes Based on the Improved SSD
title_fullStr Object Detection Algorithm for Lingwu Long Jujubes Based on the Improved SSD
title_full_unstemmed Object Detection Algorithm for Lingwu Long Jujubes Based on the Improved SSD
title_short Object Detection Algorithm for Lingwu Long Jujubes Based on the Improved SSD
title_sort object detection algorithm for lingwu long jujubes based on the improved ssd
topic long jujubes
target detection
SSD
convolutional neural network
url https://www.mdpi.com/2077-0472/12/9/1456
work_keys_str_mv AT yutanwang objectdetectionalgorithmforlingwulongjujubesbasedontheimprovedssd
AT zhenweixing objectdetectionalgorithmforlingwulongjujubesbasedontheimprovedssd
AT liefeima objectdetectionalgorithmforlingwulongjujubesbasedontheimprovedssd
AT ailiqu objectdetectionalgorithmforlingwulongjujubesbasedontheimprovedssd
AT junruixue objectdetectionalgorithmforlingwulongjujubesbasedontheimprovedssd