Research Article
BibTex RIS Cite

Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera

Year 2024, , 87 - 93, 30.06.2024
https://doi.org/10.47897/bilmes.1502873

Abstract

Today, cameras are used for many purposes such as image analysis and synthesis. Technological developments have also made the use of image processing techniques more widespread and distance measurements with cameras have become more precise. In addition, examinations show that the cameras are also used to determine precise target distance or depth mapping studies. In this study, using the Yolo v8 model with a single web camera, the doors in a closed area whose positions did not change were detected, and then the distance of the detected object to the camera was tried to be measured. A comparison was made between the actual distances of the camera to the detected object and the measured distances. For distance measurement, measurement was carried out with the Euclidean method using OpenCV libraries. The study was carried out to show how effectively web cameras can be used at short distances and how much deviation occurs in the measurements. It is thought that measurement errors will be minimized using a webcam in future studies.

References

  • [1] A. Vyas, S. Yu, and J. Paik, “Fundamentals of digital image processing,” in Multiscale Transforms with Application to Image Processing, pp. 3-11, Singapore, 2018.
  • [2] E. Avuçlu, “Examining The Effect Of Pre-processed Covid-19 Images On Classification Performance Using Deep Learning Methods,” International scientific and vocational studies journal, vol. 7, no. 2, pp. 94–102, Dec. 2023, doi: 10.47897/bilmes.1359954.
  • [3] Ç. Kurnaz and B. K. Gül, “Determination of the relationship between sodium ring width on iris and cholesterol level,” Gazi Üniversitesi Mühendislik-Mimarlık Fakültesi Dergisi, vol. 2018, no. 2018, Apr. 2018, doi: 10.17341/gazimmfd.416452.
  • [4] O. Ülkir, İ. Ertuğrul, and N. Akkuş, “Characterization of electrothermal micro-actuator using image processing algorithm,” Gazi Üniversitesi Mühendislik-Mimarlık Fakültesi Dergisi, vol. 36, no. 2, pp. 1159–1170, Mar. 2021, doi: 10.17341/gazimmfd.683386.
  • [5] M. Takatsuka, G. A. W. West, S. Venkatesh, and T. M. Caelli, “Low-cost interactive active range finder,” Machine Vision and Applications, vol. 14, no. 3, pp. 139–144, Jul. 2003, doi: 10.1007/s00138-003-0129-y.
  • [6] M. F. A. Hassan, A. Hussain, M. H. M. Saad, and K. Win, “3D distance measurement accuracy on low-cost stereo camera, Science International,” vol. 29, no. 3, pp. 599-605, 2017.
  • [7] J. H. Oh, J. Park, S. H. Lee, B. H. Lee, and J. I. Park, “Error modeling of depth measurement using FIR stereo camera systems,” in The Third International Conference on Digital Information Processing and Communications (ICDIPC2013), 2013.
  • [8] M. A. Mahammed, A. I. Melhum, and F. A. Kochery, “Object distance measurement by stereo vision,” International Journal of Science and Applied Information Technology (IJSAIT), vol. 2, no. 2, pp. 05-08, 2013.
  • [9] H. Tsung-Shiang and W. Ta-Chung, “An Improvement Stereo Vision Images Processing for Object Distance Measurement,” International Journal of Automation and Smart Technology, vol. 5, no. 2, pp. 85–90, Jun. 2015, doi: 10.5875/ausmt.v5i2.460.
  • [10] M. W. Tao, S. Hadap, J. Malik, and R. Ramamoorthi, “Depth from combining defocus and correspondence using light-field cameras,” in Proceedings of the IEEE International Conference on Computer Vision, pp. 673-680, 2013.
  • [11] M. Soyaslan, “Object distance detection through disparity map in stereo camera system”, Sakarya University Journal of Science (SAUJS), vol. 20, no. 2, pp. 111–119, 2016, doi: 10.16984/saufenbilder.77095.
  • [12] R. Srijha, “Methodology for distance measurement : A Comparative Study,” International Journal of Electronics, Electrical and Computational System IJEECS, vol. 6, no. 8, pp. 451–457, 2017.
  • [13] K. Y. Chen, P. K. Tsung, P. C. Lin, H. J. Yang, and L. G. Chen, “Hybrid motion/depth-oriented inpainting for virtual view synthesis in multiview applications,” in 2010 3DTV-Conference: The True VisionCapture, Transmission and Display of 3D Video IEEE., pp. 1-4, 2010.
  • [14] A. Rahman, A. Salam, M. Islam, and P. Sarker, “An Image Based Approach to Compute Object Distance,” International Journal of Computational Intelligence Systems, vol. 1, no. 4, pp. 304–312, Dec. 2008, doi: 10.1080/18756891.2008.9727627.
  • [15] O. Uslu and E. Özkan, “IP CCTV sistemlerinde pixel (PPM) hesaplaması ve doğru çözünürlük tespiti.” Accessed: May. 20, 2024. [Online]. Available: https://www.emo.org.tr/ekler/a48e0098ca1a33f_ek.pdf
  • [16] “Gerçek Zamanlı Nesne Takibi(Real-Time Object Detection w/Yolo-Python),” Smartera, Dec. 23, 2020. https://smartera.com.tr/gercek-zamanli-nesne-takibireal-time-object-detection-w-yolo-python/ (accessed Jun. 01, 2024).
  • [17] D. Çakmak, “YOLO (You Look Only Once) Algoritması,” Medium, Oct. 14, 2020. https://deryacakmak.medium.com/yolo-you-look-only-once-algoritmas%C4%B1-9e8819c5e4cf (accessed Jun. 01, 2024).

Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera

Year 2024, , 87 - 93, 30.06.2024
https://doi.org/10.47897/bilmes.1502873

Abstract

Today, cameras are used for many purposes such as image analysis and synthesis. Technological developments have also made the use of image processing techniques more widespread and distance measurements with cameras have become more precise. In addition, examinations show that the cameras are also used to determine precise target distance or depth mapping studies. In this study, using the Yolo v8 model with a single web camera, the doors in a closed area whose positions did not change were detected, and then the distance of the detected object to the camera was tried to be measured. A comparison was made between the actual distances of the camera to the detected object and the measured distances. For distance measurement, measurement was carried out with the Euclidean method using OpenCV libraries. The study was carried out to show how effectively web cameras can be used at short distances and how much deviation occurs in the measurements. It is thought that measurement errors will be minimized using a webcam in future studies.

References

  • [1] A. Vyas, S. Yu, and J. Paik, “Fundamentals of digital image processing,” in Multiscale Transforms with Application to Image Processing, pp. 3-11, Singapore, 2018.
  • [2] E. Avuçlu, “Examining The Effect Of Pre-processed Covid-19 Images On Classification Performance Using Deep Learning Methods,” International scientific and vocational studies journal, vol. 7, no. 2, pp. 94–102, Dec. 2023, doi: 10.47897/bilmes.1359954.
  • [3] Ç. Kurnaz and B. K. Gül, “Determination of the relationship between sodium ring width on iris and cholesterol level,” Gazi Üniversitesi Mühendislik-Mimarlık Fakültesi Dergisi, vol. 2018, no. 2018, Apr. 2018, doi: 10.17341/gazimmfd.416452.
  • [4] O. Ülkir, İ. Ertuğrul, and N. Akkuş, “Characterization of electrothermal micro-actuator using image processing algorithm,” Gazi Üniversitesi Mühendislik-Mimarlık Fakültesi Dergisi, vol. 36, no. 2, pp. 1159–1170, Mar. 2021, doi: 10.17341/gazimmfd.683386.
  • [5] M. Takatsuka, G. A. W. West, S. Venkatesh, and T. M. Caelli, “Low-cost interactive active range finder,” Machine Vision and Applications, vol. 14, no. 3, pp. 139–144, Jul. 2003, doi: 10.1007/s00138-003-0129-y.
  • [6] M. F. A. Hassan, A. Hussain, M. H. M. Saad, and K. Win, “3D distance measurement accuracy on low-cost stereo camera, Science International,” vol. 29, no. 3, pp. 599-605, 2017.
  • [7] J. H. Oh, J. Park, S. H. Lee, B. H. Lee, and J. I. Park, “Error modeling of depth measurement using FIR stereo camera systems,” in The Third International Conference on Digital Information Processing and Communications (ICDIPC2013), 2013.
  • [8] M. A. Mahammed, A. I. Melhum, and F. A. Kochery, “Object distance measurement by stereo vision,” International Journal of Science and Applied Information Technology (IJSAIT), vol. 2, no. 2, pp. 05-08, 2013.
  • [9] H. Tsung-Shiang and W. Ta-Chung, “An Improvement Stereo Vision Images Processing for Object Distance Measurement,” International Journal of Automation and Smart Technology, vol. 5, no. 2, pp. 85–90, Jun. 2015, doi: 10.5875/ausmt.v5i2.460.
  • [10] M. W. Tao, S. Hadap, J. Malik, and R. Ramamoorthi, “Depth from combining defocus and correspondence using light-field cameras,” in Proceedings of the IEEE International Conference on Computer Vision, pp. 673-680, 2013.
  • [11] M. Soyaslan, “Object distance detection through disparity map in stereo camera system”, Sakarya University Journal of Science (SAUJS), vol. 20, no. 2, pp. 111–119, 2016, doi: 10.16984/saufenbilder.77095.
  • [12] R. Srijha, “Methodology for distance measurement : A Comparative Study,” International Journal of Electronics, Electrical and Computational System IJEECS, vol. 6, no. 8, pp. 451–457, 2017.
  • [13] K. Y. Chen, P. K. Tsung, P. C. Lin, H. J. Yang, and L. G. Chen, “Hybrid motion/depth-oriented inpainting for virtual view synthesis in multiview applications,” in 2010 3DTV-Conference: The True VisionCapture, Transmission and Display of 3D Video IEEE., pp. 1-4, 2010.
  • [14] A. Rahman, A. Salam, M. Islam, and P. Sarker, “An Image Based Approach to Compute Object Distance,” International Journal of Computational Intelligence Systems, vol. 1, no. 4, pp. 304–312, Dec. 2008, doi: 10.1080/18756891.2008.9727627.
  • [15] O. Uslu and E. Özkan, “IP CCTV sistemlerinde pixel (PPM) hesaplaması ve doğru çözünürlük tespiti.” Accessed: May. 20, 2024. [Online]. Available: https://www.emo.org.tr/ekler/a48e0098ca1a33f_ek.pdf
  • [16] “Gerçek Zamanlı Nesne Takibi(Real-Time Object Detection w/Yolo-Python),” Smartera, Dec. 23, 2020. https://smartera.com.tr/gercek-zamanli-nesne-takibireal-time-object-detection-w-yolo-python/ (accessed Jun. 01, 2024).
  • [17] D. Çakmak, “YOLO (You Look Only Once) Algoritması,” Medium, Oct. 14, 2020. https://deryacakmak.medium.com/yolo-you-look-only-once-algoritmas%C4%B1-9e8819c5e4cf (accessed Jun. 01, 2024).
There are 17 citations in total.

Details

Primary Language English
Subjects Image Processing, Deep Learning
Journal Section Articles
Authors

Volkan Karaca 0009-0007-5002-7227

Ebubekir Yaşar 0000-0002-0780-893X

Publication Date June 30, 2024
Submission Date June 20, 2024
Acceptance Date June 30, 2024
Published in Issue Year 2024

Cite

APA Karaca, V., & Yaşar, E. (2024). Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera. International Scientific and Vocational Studies Journal, 8(1), 87-93. https://doi.org/10.47897/bilmes.1502873
AMA Karaca V, Yaşar E. Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera. ISVOS. June 2024;8(1):87-93. doi:10.47897/bilmes.1502873
Chicago Karaca, Volkan, and Ebubekir Yaşar. “Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera”. International Scientific and Vocational Studies Journal 8, no. 1 (June 2024): 87-93. https://doi.org/10.47897/bilmes.1502873.
EndNote Karaca V, Yaşar E (June 1, 2024) Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera. International Scientific and Vocational Studies Journal 8 1 87–93.
IEEE V. Karaca and E. Yaşar, “Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera”, ISVOS, vol. 8, no. 1, pp. 87–93, 2024, doi: 10.47897/bilmes.1502873.
ISNAD Karaca, Volkan - Yaşar, Ebubekir. “Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera”. International Scientific and Vocational Studies Journal 8/1 (June 2024), 87-93. https://doi.org/10.47897/bilmes.1502873.
JAMA Karaca V, Yaşar E. Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera. ISVOS. 2024;8:87–93.
MLA Karaca, Volkan and Ebubekir Yaşar. “Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera”. International Scientific and Vocational Studies Journal, vol. 8, no. 1, 2024, pp. 87-93, doi:10.47897/bilmes.1502873.
Vancouver Karaca V, Yaşar E. Performing Distance Measurements Of Fixed Objects Detected With Yolo Using Web Camera. ISVOS. 2024;8(1):87-93.


Creative Commons License
Creative Commons Atıf 4.0 It is licensed under an International License