Automatic Detection of Oranges Peel Based on the YOLOv5 Model

Authors

  • Yukun Ma

DOI:

https://doi.org/10.54097/hset.v34i.5444

Keywords:

YOLOv5, Object Detection, Machine Learning, Orange.

Abstract

In recent years, the deep learning algorithms have been widely used in target detection with the development of artificial intelligence algorithms. This experiment tends to detect whether the oranges are totally peeled or not by using the YOLOv5 automatic detection system. By using this automatic detection, the factory can classify the peeled and unpeeled orange easily and successfully, hence improving the efficiency and quality of the production of orange products. To achieve this goal, this experiment uses the YOLOv5s.pt model for training the detection; for collecting the images, considering the real situation, this experiment collect the whole orange with peel, partly peeled, the whole orange without peel, and some cloves of peeled oranges; overall 1100 images were collected, 310 came from the real-life photos and other found online; the ratio of the number of training images and the validation images is 8:2; set up two classes which are “orange with peel” and “peeled orange”; Using the online tool to label the images for training; Using the PyTorch (1.12.1) as the deep learning library. The experimental result shows that the proposed method achieved 88.4% for the Mean Average Precision (mAP) value and 88.7% for the average recall rate. Besides, in the testing part, this result can successfully detect the “orange with peel” and the “peeled orange”.

Downloads

Download data is not yet available.

References

Zou Zhengxia, et al. Object detection in 20 years: A survey [R]. arXiv preprint arXiv:1905.05055 (2019).

Amit Yali, Pedro Felzenszwalb, and Ross Girshick. Object detection [J]. Computer Vision: A Reference Guide (2020): 1-9.

Cao Qiuyang, Shao Yeqin, Yin He. Automatic fruit recognition based on the Attention YOLOv5 model [J] (in Chinese). Computer Systems and Applications, 222,31(7):333-340

Fan Youchen, et al. Strawberry maturity recognition algorithm combining dark channel enhancement and YOLOv5 [J]. Sensors 22, no. 2 (2022): 419.

Wang Zhipeng, et al. Apple stem/calyx real-time recognition using YOLO-v5 algorithm for fruit automatic loading system [J]. Postharvest Biology and Technology 185 (2022): 111808.

USDA. Plants Profile. 2011, https://web.archive.org/web/20110512023634/http://plants.usda.gov/java/profile?symbol=CISI3

Wikifarmer, Orange Fruit Information.https://wikifarmer.com/orange-fruit-information/, 2022

Qiu Yuhang, et al. Semantic segmentation of intracranial hemorrhages in head CT scans [C]. 2019 IEEE 10th International Conference on Software Engineering and Service Science (ICSESS). IEEE, 2019.

Du Getao, et al. Medical image segmentation based on u-net: A review [J]. Journal of Imaging Science and Technology 64 (2020): 1-12.

Alom Md Zahangir, et al. Recurrent residual U-Net for medical image segmentation [J]. Journal of Medical Imaging 6.1 (2019)

Downloads

Published

28-02-2023

How to Cite

Ma, Y. (2023). Automatic Detection of Oranges Peel Based on the YOLOv5 Model. Highlights in Science, Engineering and Technology, 34, 176-182. https://doi.org/10.54097/hset.v34i.5444