3D Positioning Method for Pineapple Eyes Based on Multiangle Image Stereo-Matching
Abstract
:1. Introduction
2. Materials and Methods
2.1. Structure and Working Principle of the Test Platform
2.2. Image Acquisition of Pineapple Eyes
2.3. Pineapple Eye Recognition Algorithm Based on YOLOv5
2.4. Three-Dimensional Positioning Algorithm for Pineapple Eyes
2.5. Flow Diagram of 3D Positioning Algorithm
2.6. Probe Positioning Test
3. Results and Discussion
3.1. YOLOv5 Model Performance Evaluation
3.2. Result of Probe Positioning Test
3.3. Discussion
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Jin, Y. Pineapple Market and Industry Investigation and Analysis Report. Agric. Prod. Mark. 2021, 8, 46–47. [Google Scholar]
- Gong, Y. Research on Strategies for Optimization and Upgrading of Pineapple Industry in Zhanjiang. Master’s Thesis, Guangdong Ocean University, Zhanjiang, China, 2020. [Google Scholar]
- Jia, W.; Zhang, Z.; Shao, W.; Hou, S.; Ji, Z.; Liu, G.; Yin, X. FoveaMask: A Fast and Accurate Deep Learning Model for Green Fruit Instance Segmentation. Comput. Electron. Agric. 2021, 191, 106488. [Google Scholar] [CrossRef]
- Li, B.; Ning, W.; Wang, M.; Li, L. In-Field Pineapple Recognition Based on Monocular Vision. Trans. Chin. Soc. Agric. Eng. 2010, 26, 345–349. [Google Scholar] [CrossRef]
- Lin, G.; Zou, X. Citrus Segmentation for Automatic Harvester Combined with AdaBoost Classifier and Leung-Malik Filter Bank. IFAC-Pap. 2018, 51, 379–383. [Google Scholar] [CrossRef]
- Lv, J.; Wang, F.; Xu, L.; Ma, Z.; Yang, B. A Segmentation Method of Bagged Green Apple Image. Sci. Hortic. 2019, 246, 411–417. [Google Scholar] [CrossRef]
- Kurtulmus, F.; Lee, W.S.; Vardar, A. Green Citrus Detection Using “Eigenfruit”, Color and Circular Gabor Texture Features under Natural Outdoor Conditions. Comput. Electron. Agric. 2011, 78, 140–149. [Google Scholar] [CrossRef]
- Wang, D.; He, D. Fusion of Mask RCNN and Attention Mechanism for Instance Segmentation of Apples under Complex Background. Comput. Electron. Agric. 2022, 196, 106864. [Google Scholar] [CrossRef]
- Kasinathan, T.; Singaraju, D.; Uyyala, S.R. Insect Classification and Detection in Field Crops Using Modern Machine Learning Techniques. Inf. Process. Agric. 2021, 8, 12. [Google Scholar] [CrossRef]
- Li, H.; Zhang, M.; Gao, Y. Green ripe tomato detection method based on machine vision in greenhouse. Trans. Chin. Soc. Agric. Eng. 2017, 33, 328–334+388. [Google Scholar]
- Wang, C.; Zou, X.; Tang, Y.; Luo, L.; Feng, W. Localisation of Litchi in an Unstructured Environment Using Binocular Stereo Vision. Biosyst. Eng. 2016, 145, 39–51. [Google Scholar] [CrossRef]
- Zhao, Y.; Gong, L.; Zhou, B.; Huang, Y.; Liu, C. Detecting Tomatoes in Greenhouse Scenes by Combining AdaBoost Classifier and Colour Analysis. Biosyst. Eng. 2016, 148, 127–137. [Google Scholar] [CrossRef]
- Altaheri, H.; Alsulaiman, M.; Muhammad, G. Date Fruit Classification for Robotic Harvesting in a Natural Environment Using Deep Learning. IEEE Access 2019, 7, 117115–117133. [Google Scholar] [CrossRef]
- Koirala, A.; Walsh, K.B.; Wang, Z.; McCarthy, C. Deep Learning—Method Overview and Review of Use for Fruit Detection and Yield Estimation. Comput. Electron. Agric. 2019, 162, 219–234. [Google Scholar] [CrossRef]
- Lv, J.; Xu, H.; Han, Y.; Lu, W.; Xu, L.; Rong, H.; Yang, B.; Zou, L.; Ma, Z. A Visual Identification Method for the Apple Growth Forms in the Orchard. Comput. Electron. Agric. 2022, 197, 106954. [Google Scholar] [CrossRef]
- Zhang, X.; Gao, Q.; Pan, D. Picking recognition research of pineapple in complex field environment based on improved YOLOv3. J. Chin. Agric. Mech. 2021, 42, 201–206. [Google Scholar] [CrossRef]
- Tian, Y.; Yang, G.; Wang, Z.; Wang, H.; Li, E.; Liang, Z. Apple Detection during Different Growth Stages in Orchards Using the Improved YOLO-V3 Model. Comput. Electron. Agric. 2019, 157, 417–426. [Google Scholar] [CrossRef]
- Yu, Y.; Zhang, K.; Yang, L.; Zhang, D. Fruit Detection for Strawberry Harvesting Robot in Non-Structural Environment Based on Mask-RCNN. Comput. Electron. Agric. 2019, 163, 104846. [Google Scholar] [CrossRef]
- Zhang, C.; Ding, H.; Shi, Q.; Wang, Y. Grape Cluster Real-Time Detection in Complex Natural Scenes Based on YOLOv5s Deep Learning Network. Agriculture 2022, 12, 1242. [Google Scholar] [CrossRef]
- Ji, W.; Meng, X.; Qian, Z.; Xu, B.; Zhao, D. Branch Localization Method Based on the Skeleton Feature Extraction and Stereo Matching for Apple Harvesting Robot. Int. J. Adv. Robot. Syst. 2017, 14, 1729881417705276. [Google Scholar] [CrossRef] [Green Version]
- Rong, X.; Jiang, H.; Ying, Y. Recognition of Clustered Tomatoes Based on Binocular Stereo Vision. Comput. Electron. Agric. 2014, 106, 75–90. [Google Scholar] [CrossRef]
- Wang, C.; Tang, Y.; Zou, X.; Luo, L.; Chen, X. Recognition and Matching of Clustered Mature Litchi Fruits Using Binocular Charge-Coupled Device (CCD) Color Cameras. Sensors 2017, 17, 2564. [Google Scholar] [CrossRef] [Green Version]
- Ge, L.; Yang, Z.; Sun, Z.; Zhang, G.; Zhang, M.; Zhang, K.; Zhang, C.; Tan, Y.; Li, W. A Method for Broccoli Seedling Recognition in Natural Environment Based on Binocular Stereo Vision and Gaussian Mixture Model. Sensors 2019, 19, 1132. [Google Scholar] [CrossRef]
- Luo, W.; Schwing, A.G.; Urtasun, R. Efficient Deep Learning for Stereo Matching. In Proceedings of the IEEE Conference on Computer Vision & Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 5695–5703. [Google Scholar]
- Guo, H.; Liu, Y.F.; Wang, Y.; Shen, X. Calibration of Binocular Vision Measurement of Large Gear Workpiece Welding. J. Donghua Univ. Sci. 2013, 4, 455–459. [Google Scholar]
- Zhang, B.; Huang, W.; Wang, C.; Gong, L.; Zhao, C.; Liu, C.; Huang, D. Computer Vision Recognition of Stem and Calyx in Apples Using Near-Infrared Linear-Array Structured Light and 3D Reconstruction. Biosyst. Eng. 2015, 139, 25–34. [Google Scholar] [CrossRef]
- Hongsheng, S.; Zhenwei, W.; Hong, C. Three-Dimensional Reconstruction of Complex Spatial Surface Based on Line Structured Light. In Proceedings of the IECON 2021—47th Annual Conference of the IEEE Industrial Electronics Society, Toronto, ON, Canada, 13–16 October 2021; pp. 1–5. [Google Scholar]
- Chen, C.; Tian, Y.; Lin, L.; Chen, S.; Li, H.; Wang, Y.; Su, K. Obtaining World Coordinate Information of UAV in GNSS Denied Environments. Sensors 2020, 20, 2241. [Google Scholar] [CrossRef]
- Zhao, D.-A.; Lv, J.; Ji, W.; Zhang, Y.; Chen, Y. Design and Control of an Apple Harvesting Robot. Biosyst. Eng. 2011, 110, 112–122. [Google Scholar] [CrossRef]
- Tsai, R. A Versatile Camera Calibration Technique for High-Accuracy 3D Machine Vision Metrology Using off-the-Shelf TV Cameras and Lenses. IEEE J. Robot. Autom. 1987, 3, 323–344. [Google Scholar] [CrossRef] [Green Version]
- Olenskyj, A.G.; Sams, B.S.; Fei, Z.; Singh, V.; Raja, P.V.; Bornhorst, G.M.; Earles, J.M. End-to-End Deep Learning for Directly Estimating Grape Yield from Ground-Based Imagery. Comput. Electron. Agric. 2022, 198, 107081. [Google Scholar] [CrossRef]
- Wu, T.-H.; Wang, T.-W.; Liu, Y.-Q. Real-Time Vehicle and Distance Detection Based on Improved Yolo v5 Network. In Proceedings of the 2021 3rd World Symposium on Artificial Intelligence (WSAI), Guangzhou, China, 18–20 June 2021; pp. 24–28. [Google Scholar]
- Zhou, X.; Wei, G.; Fu, W.L.; Du, F. Application of Deep Learning in Object Detection. In Proceedings of the 2017 IEEE/ACIS 16th International Conference on Computer and Information Science (ICIS), Wuhan, China, 24–26 May 2017. [Google Scholar]
- Xu, X.; Zhang, X.; Zhang, T. Lite-YOLOv5: A Lightweight Deep Learning Detector for On-Board Ship Detection in Large-Scene Sentinel-1 SAR Images. Remote Sens. 2022, 14, 1018. [Google Scholar] [CrossRef]
Models | Precision (%) | Recall (%) | mAP (%) | Average Time(s) |
---|---|---|---|---|
YOLOv5l | 98.0 | 96.6 | 98.0 | 0.015 |
YOLOv5s | 98.3 | 96.2 | 97.6 | 0.012 |
YOLOv5m | 97.9 | 96.3 | 97.8 | 0.019 |
YOLOv5x | 98.1 | 96.5 | 98.0 | 0.024 |
Models | mAP (%) | Average Time (s) |
---|---|---|
YOLOv5l | 99.2 | 0.015 |
Mask R-CNN | 97.5 | 0.021 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Liu, A.; Xiang, Y.; Li, Y.; Hu, Z.; Dai, X.; Lei, X.; Tang, Z. 3D Positioning Method for Pineapple Eyes Based on Multiangle Image Stereo-Matching. Agriculture 2022, 12, 2039. https://0-doi-org.brum.beds.ac.uk/10.3390/agriculture12122039
Liu A, Xiang Y, Li Y, Hu Z, Dai X, Lei X, Tang Z. 3D Positioning Method for Pineapple Eyes Based on Multiangle Image Stereo-Matching. Agriculture. 2022; 12(12):2039. https://0-doi-org.brum.beds.ac.uk/10.3390/agriculture12122039
Chicago/Turabian StyleLiu, Anwen, Yang Xiang, Yajun Li, Zhengfang Hu, Xiufeng Dai, Xiangming Lei, and Zhenhui Tang. 2022. "3D Positioning Method for Pineapple Eyes Based on Multiangle Image Stereo-Matching" Agriculture 12, no. 12: 2039. https://0-doi-org.brum.beds.ac.uk/10.3390/agriculture12122039