Application of Anti-Collision Visual Detection Algorithm in Warehouse Management System Using Raspberry Pi
DOI:
https://doi.org/10.26418/elkha.v17i2.93069Keywords:
Traffic management, computer vision, YOLOv5, Raspberry Pi, Arduino, warehouse safetyAbstract
Ensuring safety and efficiency at warehouse intersections has become increasingly vital in the era of automation and intelligent logistics. This study proposes a vision-based anti-collision traffic management system tailored to the dynamic warehouse environment. By combining YOLOv5 object detection with a real-time microcontroller-based actuation system, the system detects and prioritizes movement between forklifts and pedestrians. Four webcams positioned at warehouse intersections transmit visual data to a Raspberry Pi 4, which performs object detection and decision-making based on predefined priority rules. Actuation is executed via Arduino Uno and Nano for signaling "GO" or "STOP" using running text displays and buzzers. The system achieved a mean Average Precision (mAP) of 94.7% and a response latency below 500 milliseconds, enabling safe, real-time operation. Experimental results demonstrated high detection accuracy and effective prioritization logic in four operational scenarios. Compared to traditional sensor-based systems, this approach is more cost-effective, scalable, and adaptable to real-world warehouse conditions. The novelty of this research lies in its integration of modular computer vision, decentralized microcontroller-based actuation, and intelligent traffic prioritization within a low-cost architecture"”features rarely combined in prior industrial safety solutions. Beyond warehouse environments, the proposed system is highly adaptable to other industrial settings such as factories, loading docks, and construction zones, where dynamic human"“machine interactions demand similar real-time visual monitoring and signaling. This work lays a foundation for smart industrial ecosystems, with future extensions toward IoT integration, predictive analytics, and reinforcement learning"“based decision-making.References
A. Tubis, “Intelligent Warehouse in Industry 4.0—Systematic Literature Review,†Sensors, vol. 23, no. 8, 2023. doi: 10.3390/s23084105.
J. Wu, “Obstacle Avoidance Control of Intelligent Robots Based on Multi-Sensor Fusion,†Highlights Sci. Eng. Technol., vol. 114, pp. 24–30, 2024. doi: 10.54097/r4qytk13
T. Vu, Q. Le, P. Tran, and D. Nguyen, “Real-time Detection to Avoid Accidents in Human-Cobot Interaction,†in Proc. IEEE ICCC, 2024. doi: 10.1109/ICCC62278.2024.10582966.
I. R. R. Silva, F. M. G. França, and P. A. Vargas, “Deep Learning Models for Human-Robot Collaboration Collision Detection,†in Springer LNCS, vol. 12493, pp. 205–215, 2020. doi: 10.1007/978-3-030-61377-8_17.
K.-H. Chen, C.-Y. Chen, and C.-F. Huang, “Sensor Data Fusion for Object Detection in Crowded Environments,†in Proc. IEEE ICCE, 2021. doi: 10.1109/ICCE50685.2021.9427728.
P. Wei, L. Cagle, T. Reza, J. Ball, and J. Gafford, “LiDAR and Camera Detection Fusion in a Real-Time Industrial Multi-Sensor Collision Avoidance System,†Electronics, vol. 7, no. 6, p. 84, 2018. doi: 10.3390/electronics7060084.
F. Wang and X. Li, “Warehouse Object Detection Using YOLOv5,†in Proc. IEEE ICICML, Chengdu, China, 2023, pp. 1196–1200. doi: 10.1109/ICICML60161.2023.10424764.
T. Brito, R. Oliveira, and F. Meneguzzi, “Collision Avoidance for Cobots Using RGB-D Data,†in Robot 2019: Advances in Robotics Research, Springer, pp. 312–321, 2019. doi: 10.1007/978-3-030-35990-4_27.
N. Pooloo, R. Bahadoor, and M. Hosenally, “Design of an AMR for Warehouse Safety Monitoring,†in Proc. IEEE IST-Africa, 2022. doi: 10.23919/IST-Africa56635.20229845559.
F. Jia, Y. Liu, M. Huang, and Z. Li, “Vision- and Lidar-Based Docking of AMRs,†Appl. Sci., vol. 13, no. 19, 2023. doi: 10.3390/app131910675.
S. Vegesana, A. Vaddi, and P. Le, “Integration of a Multi-Sensor System for Indoor Navigation,†in Proc. IEEE SoutheastCon, 2024. doi: 10.1109/SOUTHEASTCON52093.2024.10500129.
A. Tubis, “Digitalization Trends in Industry 4.0 Logistics,†Sensors, vol. 23, no. 8, 2023. doi: 10.3390/s23084105.
L. Ali, F. Alnajjar, M. M. A. Parambil, M. I. Younes, Z. I. Abdelhalim, and H. Aljassmi, “Development of YOLOv5-Based Real-Time Smart Monitoring System for Increasing Lab Safety Awareness in Educational Institutions,†Sensors, vol. 22, no. 22, p. 8820, Nov. 2022. doi: 10.3390/s22228820.
J. Park and A. J. Choi, “Vision-Based In-Flight Collision Avoidance Control Based on Background Subtraction Using Embedded System,†Sensors, vol. 23, no. 14, p. 6297, Jul. 2023. doi: 10.3390/s23146297.
G. Athulya S. Geetha and M. Hussain, “A Comparative Analysis of YOLOv5, YOLOv8, and YOLOv10 in Kitchen Safety,†arXiv, Jul. 2024. Available: arXiv:2407.20872.
A. W. Ashraf, A. Hassan, and I. A. Shah, “V‑CAS: A Realtime Vehicle Anti Collision System Using Vision Transformer on Multi‑Camera Streams,†arXiv, Nov. 2024. arXiv:2411.01963.
P. Tang, J. Xing, X. Wang, and J. Fan, “Real-time Detection of Safety Helmet and Workwear Based on YOLOv7,†in Proc. 2024 12th Int. Conf. on Intelligent Control and Information Processing (ICICIP), Nanjing, China, 2024, pp. 131–135, doi: 10.1109/ICICIP60808.2024.10477846.
X. Li, “Motion Planning of Warehouse Automation Robot Based on Recurrent Neural Network,†in Proc. 2023 Int. Conf. on Mechatronics, IoT and Industrial Informatics (ICMIII), Melbourne, Australia, 2023, pp. 385–389, doi: 10.1109/ICMIII58949.2023.00080.
I. P. Latini, W. E. Barioni, M. Teixeira, F. Neves, and L. V. R. d. Arruda, “A CNN Pallet Detection Model for an Autonomous Forklift,†in Proc. 2023 Latin American Robotics Symposium (LARS), Brazilian Symp. on Robotics (SBR), and Workshop on Robotics in Education (WRE), Salvador, Brazil, 2023, pp. 490–495, doi: 10.1109/LARS/SBR/WRE59448.2023.10333062.
Y. Shi, J. Li, Y. Yang, and Y. Han, “Design of a Solar-Powered Car Based on Gesture Recognition,†in Proc. 2024 Int. Conf. on Image Processing, Computer Vision and Machine Learning (ICICML), Shenzhen, China, 2024, pp. 1843–1847
Downloads
Additional Files
Published
Issue
Section
License
Copyright (c) 2025 ELKHA : Jurnal Teknik Elektro

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
1. Proposed Policy for Journals That Offer Open Access
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
2. Proposed Policy for Journals That Offer Delayed Open Access
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication, with the work [SPECIFY PERIOD OF TIME] after publication simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).