DOI QR코드

DOI QR Code

A study on object distance measurement using OpenCV-based YOLOv5

  • Received : 2021.07.31
  • Accepted : 2021.08.30
  • Published : 2021.09.30

Abstract

Currently, to prevent the spread of COVID-19 virus infection, gathering of more than 5 people in the same space is prohibited. The purpose of this paper is to measure the distance between objects using the Yolov5 model for processing real-time images with OpenCV in order to restrict the distance between several people in the same space. Also, Utilize Euclidean distance calculation method in DeepSORT and OpenCV to minimize occlusion. In this paper, to detect the distance between people, using the open-source COCO dataset is used for learning. The technique used here is using the YoloV5 model to measure the distance, utilizing DeepSORT and Euclidean techniques to minimize occlusion, and the method of expressing through visualization with OpenCV to measure the distance between objects is used. Because of this paper, the proposed distance measurement method showed good results for an image with perspective taken from a higher position than the object in order to calculate the distance between objects by calculating the y-axis of the image.

Keywords

References

  1. "CoronaBoard", CoronaBoard, last modified, accessed June 02, 2021, https://coronaboard.com/.
  2. "Coronavirus Disease-19, Republic of Korea", Ministry of Health and Welfare, last modified June 02, 2021, accessed Sep 06, 2021, http://ncov.mohw.go.kr/baroView.do
  3. "World Health Organization", WHO, last modified Sep 06, 2021 accessed Sep 06, 2021, https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public
  4. S.C. Yoon, "Korea's response to COVID-19 using ICT and its achievements", Korea International Cooperation Agency, pp.1- 64, 2020
  5. "Coronavirus Disease-19, Republic of Korea", Ministry of Health and Welfare, last modified June 02, 2021, accessed Sep 06, 2021, http://ncov.mohw.go.kr/socdisBoardView.do?brdId=6&brdGubun=1
  6. D.T. Kim, "Characteristics of Korea's COVID-19 response system from the perspective of democratic governance", Korea International Cooperation Agency, pp. 1-168, 2020.
  7. "Korea Institute of Science and Technology.", KIST, last modified Sep 06, 2021 accessed Sep 06, 2021, https://www.kist.re.kr/kist_web/?sub_num=2935&state=view&idx=3229&sty=T&ste=%EC%BD%94%EB%A1%9C%EB%82%98&ord=10
  8. Alex Bewley, Zongyuan Ge, Lionel Ott, Fabio Ramos, Ben Upcroft, "Simple Online and Realtime Tracking" IEEE International Conference on Image Processing (ICIP), pp.3464-3468, 2016. DOI: 10.1109/ICIP.2016.7533003
  9. "CODE PROJECT For those who code", CODE PROJECT, last modified June 02, 2021, accessed June 02, 2021, https://www.codeproject.com/articles/865935/object-tracking-kalman-filter-with-ease
  10. Tuan Linh Dang, Gia Tuyen Nguyen, Thang Cao, "Object Tracking Using Improved Deep_Sort_YOLOv3 Architecture" ICIC Express Letters, Vol.14, No.10, pp.961-969, 2020. DOI:10.24507/icicel.14.10.961
  11. "KM-Hana Tistory", KM-Hana, last modified, accessed June 02, 2021, https://kmhana.tistory.com/22
  12. N. Wojke, A. Bewley and D. Paulus, "Simple online and realtime tracking with a deep association metric," IEEE International Conference on Image Processing (ICIP), pp.3645-3649, 2017. DOI: 10.1109/ICIP.2017.8296962
  13. R. De Maesschalck, D. Jouan-Rimbaud, D.L. Massart, "The Mahalanobis distance" Chemometrics and Intelligent Laboratory Systems, Vol.50, No.1, pp.1-18, 2000, DOI: https://doi.org/10.1016/S0169-7439(99)00047-7
  14. "KM-Hana Tistory", KM-Hana, last modified, accessed June 02, 2021, https://kmhana.tistory.com/23
  15. "Gazelle and Computer Science Tistory", Gazelle and Computer Science, last modified, accessed June 02, 2021, https://gazelle-and-cs.tistory.com/29