Lightweight Object Detection Method for Panax notoginseng Based on PN-YOLO v8s-Pruned

WANG Faan, HE Zhongping, ZHANG Zhaoguo, XIE Kaiting, ZENG Yue

Abstract

In order to realize the adaptive grading conveyance and real-time monitoring of harvesting status in the process of Panax notoginseng combined harvesting operation, focusing on the characteristics of Panax notoginseng root-soil complex and the complex field harvesting conditions, a Panax notoginseng object detection method based on YOLO v8s and suitable for deployment on the Jetson Nano was proposed. Based on the accurate recognition of Panax notoginseng by YOLO v8s, the channel pruning algorithm was utilized to formulate a corresponding pruning strategies for its new model structural characteristics, which ensured the accuracy and improved the real-time detection performance at the same time. The improved model was deployed to Jetson Nano by using the TensorRT inference acceleration framework, which realized the flexible deployment of the Panax notoginseng object detection model. The experimental results showed that the mean average precision of the improved PN-YOLO v8s-Pruned model on the host side was 93.71%, although it was decreased by 0.94 percentage points compared with that of the original model, the number of parameters, computational complexity, and model size were 39.75%, 57.69%, and 40.25% of the original model, respectively, and the detection speed was increased by 44.26%. Compared with other models, the improved model demonstrated superior comprehensive detection performance in terms of computational complexity, detection accuracy, and real-time performance. After deployment at the Jetson Nano, the improved model had a detection speed of 18.9 frames per second, which was 2.7 times higher than before acceleration and 5.8 frames per second higher than the original model, and the deployment detection effect was better than the original model. The results of the bench tests showed that the mean average precision of Panax notoginseng detection was more than 87% under four conveyor separation harvesting conditions. The average accuracy of the Panax notoginseng counting under different conveyor separation harvesting conditions and different flow levels reached 92.61% and 91.76%, respectively. The field test results showed that the mean average precision of Panax notoginseng detection was more than 84%, and the average accuracy of the Panax notoginseng counting reached 88.11%, which could meet the detection requirements of Panax notoginseng under complex field harvesting conditions, and could provide technical support for the monitoring system of harvesting quality and the adaptive grading transportation system of combined harvesting operation based on edge computing equipments.

 

Keyword: Panax notoginseng ; complex harvesting conditions ; object detection ; channel pruning ; Jetson Nano ; YOLO v8s

 

Download Full Text:

PDF


References


LIN Y H, ZHANG F J, LI L X, et al. Identification of Panax notoginseng powder in different parts based on the electronic nose and time-domain feature extraction [ J ]. Journal of the Electrochemical Society, 2022, 169(4) ; 047510 -047519.

ZHANG Zhaoguo, WANG Yichi, LI Hanqing, et al. Design and test of hydraulic control tracked self-propelled greenhouse Panax notoginseng harvester [ J ]. Transactions of the Chinese Society for Agricultural Machinery, 2021 , 52(6) : 127 -135. (in Chinese)

WANG Faan, WEN Bo, XIE Xiaohong, et al. Operation mechanism analysis and parameter optimization of conveying and separating device of Panax notoginseng harvester [ J ]. Transactions of the Chinese Society for Agricultural Machinery, 2023, 54 ( Supp. 1 ) : 201 —211, 259. (in Chinese)

LIU Yijun, HE Yakai, WU Xiaomei, et al. Potato sprouting and surface damage detection method based on improved Faster R — С N N [ J ]. Transactions of the Chinese Society for Agricultural Machinery, 2024, 55( 1 ) ; 371 -378. (in Chinese)

ZHANG Zhaoguo, ZHANG Zhendong, LI Jianian, et al. Potato detection in complex environment based on improved YoloV4 model [ J]. Transactions of the CSAE, 2021 , 37(22) ; 170 -178. (in Chinese)

LESTARI S, RAHMAN A Y. ISTIADI. Quality detection of export purple sweet potatoes using Yolov4 — Tiny[C] // IEEE International Seminar on Intelligent Technology and Its Applications, Surabaya, Indonesia: IEEE, 2023 :610 -614.

LIONG S T, WU Y L, LIONG G B, et al. Moving towards agriculture 4. 0: an Al - AOI carrot inspection systemwith accurate geometric properties [j ]. Journal of Food Engineering, 2023, 357; 111632.

HUANG Jiacai, TANG An, CHEN Guangming, et al. Mobile recognition solution of tea buds based on Compact — YOLO v4 algorithm [J] . Transactions of the Chinese Society for Agricultural Machinery, 2023, 54(3) : 282 -290. ( in Chinese)

LUO Zhicong, LI Pengbo, SONG Feiyu, et al. Lightweight passion fruit detection model based on embedded device [J], Transactions of the Chinese Society for Agricultural Machinery, 2022, 53(11): 262 -269. 322. (in Chinese)

LI Y, HE L, CHEN J, et al. High-efficiency tea shoot detection method via a compressed deep learning model [ J]. International Journal of Agricultural and Biological Engineering, 2022, 15(3) : 159 - 166.

LIU Mochen, GAO Tiantian, MA Zongxu, et al. Target detection model of corn weeds in field environment based on MSRCR algorithm and YOLO v4 - tiny [J] . Transactions of the Chinese Society for Agricultural Machinery, 2022, 53(2) ; 246 -255 , 335. (in Chinese)

HUANG Hua, ZHANG Hao, HU Xiaolin, et al. Recognition and localization method for pepper clusters in complex environments based on improved YOLO v5[J ]. Transactions of the Chinese Society for Agricultural Machinery, 2024, 55(3) ; 243 -251. (in Chinese)

LI Mao, XIAO Yangvi, ZONG Wangyuan, et al. Detecting chestnuts using improved lightweight YOLO v8[ J]. Transactions of the CSAE, 2024, 40( 1 ) : 201 -209. (in Chinese)

LI X, WANG W H, HU X L, et al. Generalized focal loss v2 : learning reliable localization quality estimation for dense object detection [С] //Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021 : 1 1632 - 1 1641.

LOU H T, DUAN X H, GUO J M , et al. DC —YOLO v8; small-size object detection algorithm based on camera sensor [j]. Electronics, 2023, 12( 10): 2323.

WANG C, BOCHKOVSKIY A, LIAO H. YOLO v7: trainable bag of freebies sets new state of the art for real-time object detectors[ ЕВ/OL]. (2022 - 07 - 06 ) [ 2024 - 04 - 06]. https: //arxiv. org/abs/2207.02696.

MA Chaowei, ZHANG Hao, MA Xinming, et al. Method for the lightweight detection of wheat disease using improved YOLO v8[J ]. Transactions of the CSAE, 2024, 40(5) : 187 -195. (in Chinese)


Refbacks

  • There are currently no refbacks.