This article presents a real-time object detection and distance estimation system implemented on a low-cost platform. The system uses a Raspberry Pi 5 and two cameras in a stereoscopic configuration to capture pairs of images. Object detection is performed using YOLO neural networks and distance estimation is based on the disparity between the centers of the detected bounding boxes. The system is evaluated in terms of detection performance, inference speed and depth estimation accuracy. Three YOLO models (YOLOv8n, YOLO11n and YOLO12n) are tested at different resolutions. Among them, the YOLO11n with a resolution of 320 \(\times \) 320 achieves the best balance between processing speed and detection quality in stereoscopic operation. The system has a low error in depth estimation at close range, with absolute errors of less than 1.2 cm up to 60 cm. At greater distances, accuracy is affected by the reduction in the size of the bounding box, which limits the reliability of the disparity. Possible improvements include using segmentation-based localization and optimizing the stereo configuration. The proposed system is suitable for short-range applications in controlled environments and serves as a basis for future improvements in embedded vision systems.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Stereoscopic Vision and Object Detection with YOLO on Raspberry Pi for Distance Estimation

  • Leonardo Pilarski,
  • Tiago Silva,
  • Vitor Filipe,
  • Tiago Pinto,
  • João Barroso,
  • André Schneider Oliveira,
  • José Lima

摘要

This article presents a real-time object detection and distance estimation system implemented on a low-cost platform. The system uses a Raspberry Pi 5 and two cameras in a stereoscopic configuration to capture pairs of images. Object detection is performed using YOLO neural networks and distance estimation is based on the disparity between the centers of the detected bounding boxes. The system is evaluated in terms of detection performance, inference speed and depth estimation accuracy. Three YOLO models (YOLOv8n, YOLO11n and YOLO12n) are tested at different resolutions. Among them, the YOLO11n with a resolution of 320 \(\times \) 320 achieves the best balance between processing speed and detection quality in stereoscopic operation. The system has a low error in depth estimation at close range, with absolute errors of less than 1.2 cm up to 60 cm. At greater distances, accuracy is affected by the reduction in the size of the bounding box, which limits the reliability of the disparity. Possible improvements include using segmentation-based localization and optimizing the stereo configuration. The proposed system is suitable for short-range applications in controlled environments and serves as a basis for future improvements in embedded vision systems.